How to configure what starts when inserting a medium in Lubuntu / LXQt? The 2019 Stack Overflow Developer Survey Results Are InWhere are file associations stored?How can I integrate Dropbox with PCManFM?Preventing pop-up dialogs when connecting an MTP deviceHow to open mtp files from a Sony Walkman in LubuntuFirefox crashes when opening file . Upgraded from 14.04.4 to 16.04 lubuntu (on top of ubuntu)PCmanFM - How can I remove an entry from the context menu?Is there a workaround for the removal of “Copy Path” in pcmanfm-qt?Lubuntu 18.10 LXQt desktop no user login after bootingLubuntu 18.10 pcmanfm-qt does not access samba sharesLubuntu 18.10 File Manager: How to view directory tree structure?Linux File Manager: Restore previous open session (folders and tab)
Falsification in Math vs Science
On the insanity of kings as an argument against monarchy
How to make payment on the internet without leaving a money trail?
Idiomatic way to prevent slicing?
aging parents with no investments
Are USB sockets on wall outlets live all the time, even when the switch is off?
Can distinct morphisms between curves induce the same morphism on singular cohomology?
Is three citations per paragraph excessive for undergraduate research paper?
Unbreakable Formation vs. Cry of the Carnarium
"What time...?" or "At what time...?" - what is more grammatically correct?
Patience, young "Padovan"
Output the Arecibo Message
Inversion Puzzle
What is the steepest angle that a canal can be traversable without locks?
Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints
Why is my p-value correlated to difference between means in two sample tests?
If a poisoned arrow's piercing damage is reduced to 0, do you still get poisoned?
Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?
"Riffle" two strings
Why is it "Tumoren" and not "Tumore"?
Lethal sonic weapons
How can I fix this gap between bookcases I made?
Springs with some finite mass
Is there a name of the flying bionic bird?
How to configure what starts when inserting a medium in Lubuntu / LXQt?
The 2019 Stack Overflow Developer Survey Results Are InWhere are file associations stored?How can I integrate Dropbox with PCManFM?Preventing pop-up dialogs when connecting an MTP deviceHow to open mtp files from a Sony Walkman in LubuntuFirefox crashes when opening file . Upgraded from 14.04.4 to 16.04 lubuntu (on top of ubuntu)PCmanFM - How can I remove an entry from the context menu?Is there a workaround for the removal of “Copy Path” in pcmanfm-qt?Lubuntu 18.10 LXQt desktop no user login after bootingLubuntu 18.10 pcmanfm-qt does not access samba sharesLubuntu 18.10 File Manager: How to view directory tree structure?Linux File Manager: Restore previous open session (folders and tab)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.
For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.
For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.
When clicking in the small black popover, really strange stuff happened:
the music player Audacious would start, scan the medium and create a playlist; this behavior started after I used the Gnome file manager Nautilus once under the Lubuntu desktop environment
after getting rid of Audacious, the disk usage analyzer Baobab would be started for every newly inserted medium
after getting rid of Baobab, the Gnome file manager Nautilus would be started for every newly inserted medium even though this is the LXQt desktop environment
How can I configure what is executed for a newly inserted medium? I would like the pcmanfm-qt
file manager of LXQt to start for every newly inserted medium. And I'd like to understand what causes this odd behavior and how to configure things in a systematic way.
lubuntu usb-storage lxqt audacious
add a comment |
When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.
For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.
For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.
When clicking in the small black popover, really strange stuff happened:
the music player Audacious would start, scan the medium and create a playlist; this behavior started after I used the Gnome file manager Nautilus once under the Lubuntu desktop environment
after getting rid of Audacious, the disk usage analyzer Baobab would be started for every newly inserted medium
after getting rid of Baobab, the Gnome file manager Nautilus would be started for every newly inserted medium even though this is the LXQt desktop environment
How can I configure what is executed for a newly inserted medium? I would like the pcmanfm-qt
file manager of LXQt to start for every newly inserted medium. And I'd like to understand what causes this odd behavior and how to configure things in a systematic way.
lubuntu usb-storage lxqt audacious
add a comment |
When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.
For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.
For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.
When clicking in the small black popover, really strange stuff happened:
the music player Audacious would start, scan the medium and create a playlist; this behavior started after I used the Gnome file manager Nautilus once under the Lubuntu desktop environment
after getting rid of Audacious, the disk usage analyzer Baobab would be started for every newly inserted medium
after getting rid of Baobab, the Gnome file manager Nautilus would be started for every newly inserted medium even though this is the LXQt desktop environment
How can I configure what is executed for a newly inserted medium? I would like the pcmanfm-qt
file manager of LXQt to start for every newly inserted medium. And I'd like to understand what causes this odd behavior and how to configure things in a systematic way.
lubuntu usb-storage lxqt audacious
When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.
For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.
For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.
When clicking in the small black popover, really strange stuff happened:
the music player Audacious would start, scan the medium and create a playlist; this behavior started after I used the Gnome file manager Nautilus once under the Lubuntu desktop environment
after getting rid of Audacious, the disk usage analyzer Baobab would be started for every newly inserted medium
after getting rid of Baobab, the Gnome file manager Nautilus would be started for every newly inserted medium even though this is the LXQt desktop environment
How can I configure what is executed for a newly inserted medium? I would like the pcmanfm-qt
file manager of LXQt to start for every newly inserted medium. And I'd like to understand what causes this odd behavior and how to configure things in a systematic way.
lubuntu usb-storage lxqt audacious
lubuntu usb-storage lxqt audacious
edited 3 hours ago
tanius
asked yesterday
taniustanius
2,6321822
2,6321822
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The system how LXQt decides what to start when a medium is inserted, and why it can show odd behaviors, is well explained here. In short, LXQt starts will start whatever application is configured to handle the inode/mount-point
(pseudo-)mimetype. This is influenced both by installing applications (which associate themselves with a mimetype) and desktop environments (which can change defaults), leading to a mess. In this case, I had installed LXQt on top of a normal Ubuntu installation.
Fortunately, there is a simple way to override the system's default mime-type associations with per-user settings:
Instructions
Open the LXQt Configuration Center (
lxqt-config
) and click on "File Associations" there. Or directly startlxqt-config-file-associations
.Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.
Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned "proper solution" in the future.)
In PCManFM-Qt, go to "Edit → Preferences → Volume".
In section "Auto Mount", uncheck all three options.
Confirm with "OK".
Background information
The small popover in the bottom right that appears when inserting a medium is created by the "Removable Media" panel widget of LXQt. When removing that widget, the popover no longer happens. That is why we only have to care about how to configure that piece of LXQt – what your other installed file managers and desktop environments would start when a medium is inserted is not relevant,as they don't get the chance to do so under LXQt.
Since Ubuntu 15.04, the user-specific mimetype settings are stored in ~/.config/mimeapps.list
(source). Lubuntu / LXQt stores its own changes made with the lxqt-config-file-associations
tool also in that file. So you could apply the instructions from above also by directly editing ~/.config/mimeapps.list
and adding one line in section "Default Applications":
[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;
The syntax of the mimeapps.list
file is explained in this answer, while this answer shows what mimeapps.list
file will be chosen if multiple ones exist on a system.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132186%2fhow-to-configure-what-starts-when-inserting-a-medium-in-lubuntu-lxqt%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The system how LXQt decides what to start when a medium is inserted, and why it can show odd behaviors, is well explained here. In short, LXQt starts will start whatever application is configured to handle the inode/mount-point
(pseudo-)mimetype. This is influenced both by installing applications (which associate themselves with a mimetype) and desktop environments (which can change defaults), leading to a mess. In this case, I had installed LXQt on top of a normal Ubuntu installation.
Fortunately, there is a simple way to override the system's default mime-type associations with per-user settings:
Instructions
Open the LXQt Configuration Center (
lxqt-config
) and click on "File Associations" there. Or directly startlxqt-config-file-associations
.Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.
Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned "proper solution" in the future.)
In PCManFM-Qt, go to "Edit → Preferences → Volume".
In section "Auto Mount", uncheck all three options.
Confirm with "OK".
Background information
The small popover in the bottom right that appears when inserting a medium is created by the "Removable Media" panel widget of LXQt. When removing that widget, the popover no longer happens. That is why we only have to care about how to configure that piece of LXQt – what your other installed file managers and desktop environments would start when a medium is inserted is not relevant,as they don't get the chance to do so under LXQt.
Since Ubuntu 15.04, the user-specific mimetype settings are stored in ~/.config/mimeapps.list
(source). Lubuntu / LXQt stores its own changes made with the lxqt-config-file-associations
tool also in that file. So you could apply the instructions from above also by directly editing ~/.config/mimeapps.list
and adding one line in section "Default Applications":
[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;
The syntax of the mimeapps.list
file is explained in this answer, while this answer shows what mimeapps.list
file will be chosen if multiple ones exist on a system.
add a comment |
The system how LXQt decides what to start when a medium is inserted, and why it can show odd behaviors, is well explained here. In short, LXQt starts will start whatever application is configured to handle the inode/mount-point
(pseudo-)mimetype. This is influenced both by installing applications (which associate themselves with a mimetype) and desktop environments (which can change defaults), leading to a mess. In this case, I had installed LXQt on top of a normal Ubuntu installation.
Fortunately, there is a simple way to override the system's default mime-type associations with per-user settings:
Instructions
Open the LXQt Configuration Center (
lxqt-config
) and click on "File Associations" there. Or directly startlxqt-config-file-associations
.Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.
Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned "proper solution" in the future.)
In PCManFM-Qt, go to "Edit → Preferences → Volume".
In section "Auto Mount", uncheck all three options.
Confirm with "OK".
Background information
The small popover in the bottom right that appears when inserting a medium is created by the "Removable Media" panel widget of LXQt. When removing that widget, the popover no longer happens. That is why we only have to care about how to configure that piece of LXQt – what your other installed file managers and desktop environments would start when a medium is inserted is not relevant,as they don't get the chance to do so under LXQt.
Since Ubuntu 15.04, the user-specific mimetype settings are stored in ~/.config/mimeapps.list
(source). Lubuntu / LXQt stores its own changes made with the lxqt-config-file-associations
tool also in that file. So you could apply the instructions from above also by directly editing ~/.config/mimeapps.list
and adding one line in section "Default Applications":
[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;
The syntax of the mimeapps.list
file is explained in this answer, while this answer shows what mimeapps.list
file will be chosen if multiple ones exist on a system.
add a comment |
The system how LXQt decides what to start when a medium is inserted, and why it can show odd behaviors, is well explained here. In short, LXQt starts will start whatever application is configured to handle the inode/mount-point
(pseudo-)mimetype. This is influenced both by installing applications (which associate themselves with a mimetype) and desktop environments (which can change defaults), leading to a mess. In this case, I had installed LXQt on top of a normal Ubuntu installation.
Fortunately, there is a simple way to override the system's default mime-type associations with per-user settings:
Instructions
Open the LXQt Configuration Center (
lxqt-config
) and click on "File Associations" there. Or directly startlxqt-config-file-associations
.Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.
Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned "proper solution" in the future.)
In PCManFM-Qt, go to "Edit → Preferences → Volume".
In section "Auto Mount", uncheck all three options.
Confirm with "OK".
Background information
The small popover in the bottom right that appears when inserting a medium is created by the "Removable Media" panel widget of LXQt. When removing that widget, the popover no longer happens. That is why we only have to care about how to configure that piece of LXQt – what your other installed file managers and desktop environments would start when a medium is inserted is not relevant,as they don't get the chance to do so under LXQt.
Since Ubuntu 15.04, the user-specific mimetype settings are stored in ~/.config/mimeapps.list
(source). Lubuntu / LXQt stores its own changes made with the lxqt-config-file-associations
tool also in that file. So you could apply the instructions from above also by directly editing ~/.config/mimeapps.list
and adding one line in section "Default Applications":
[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;
The syntax of the mimeapps.list
file is explained in this answer, while this answer shows what mimeapps.list
file will be chosen if multiple ones exist on a system.
The system how LXQt decides what to start when a medium is inserted, and why it can show odd behaviors, is well explained here. In short, LXQt starts will start whatever application is configured to handle the inode/mount-point
(pseudo-)mimetype. This is influenced both by installing applications (which associate themselves with a mimetype) and desktop environments (which can change defaults), leading to a mess. In this case, I had installed LXQt on top of a normal Ubuntu installation.
Fortunately, there is a simple way to override the system's default mime-type associations with per-user settings:
Instructions
Open the LXQt Configuration Center (
lxqt-config
) and click on "File Associations" there. Or directly startlxqt-config-file-associations
.Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.
Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned "proper solution" in the future.)
In PCManFM-Qt, go to "Edit → Preferences → Volume".
In section "Auto Mount", uncheck all three options.
Confirm with "OK".
Background information
The small popover in the bottom right that appears when inserting a medium is created by the "Removable Media" panel widget of LXQt. When removing that widget, the popover no longer happens. That is why we only have to care about how to configure that piece of LXQt – what your other installed file managers and desktop environments would start when a medium is inserted is not relevant,as they don't get the chance to do so under LXQt.
Since Ubuntu 15.04, the user-specific mimetype settings are stored in ~/.config/mimeapps.list
(source). Lubuntu / LXQt stores its own changes made with the lxqt-config-file-associations
tool also in that file. So you could apply the instructions from above also by directly editing ~/.config/mimeapps.list
and adding one line in section "Default Applications":
[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;
The syntax of the mimeapps.list
file is explained in this answer, while this answer shows what mimeapps.list
file will be chosen if multiple ones exist on a system.
edited 3 hours ago
answered yesterday
taniustanius
2,6321822
2,6321822
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132186%2fhow-to-configure-what-starts-when-inserting-a-medium-in-lubuntu-lxqt%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown