How to configure what starts when inserting a medium in Lubuntu / LXQt? The 2019 Stack...
Does a dangling wire really electrocute me if I'm standing in water?
Access elements in std::string where positon of string is greater than its size
Inflated grade on resume at previous job, might former employer tell new employer?
Does duplicating a spell with wish count as casting that spell?
Why could you hear an Amstrad CPC working?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Is "plugging out" electronic devices an American expression?
Where to refill my bottle in India?
is usb on wall sockets live all the time with out switches off
Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?
Are there any other methods to apply to solving simultaneous equations?
JSON.serialize: is it possible to suppress null values of a map?
Time travel alters history but people keep saying nothing's changed
"Riffle" two strings
Why isn't airport relocation done gradually?
Is this food a bread or a loaf?
Falsification in Math vs Science
"What time...?" or "At what time...?" - what is more grammatically correct?
Does it makes sense to buy a new cycle to learn riding?
What is the best strategy for white in this position?
What is the meaning of Triage in Cybersec world?
Did USCIS resume its biometric service for UK visa?
Dual Citizen. Exited the US on Italian passport recently
What is a mixture ratio of propellant?
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 do I set Ctrl+Alt+something for Audacious global hokeys?How to integrate Audacious in the sound menu?Audacious uses volume control when I've configured the media hotkeysHow to open folder as a playlist in Audacious from context menuHow to import Winamp equalizer presets to Audacious?Difference between “removable drive hot-plugged” and “removable media inserted”?Lubuntu - Disable “Removable media is inserted” windowHow to prevent Audacious to control overall system sound?How I can fix Audacious Crash on Ubuntu 14.04 Trusty Tahr LTS?Audacious: How to play midi files?
.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 10 mins 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 12 mins 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