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)
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
What is the closest word meaning "respect for time / mindful"
Multiply Two Integer Polynomials
Is flight data recorder erased after every flight?
Apparent duplicates between Haynes service instructions and MOT
What is the meaning of the verb "bear" in this context?
Is bread bad for ducks?
One word riddle: Vowel in the middle
"as much details as you can remember"
Can we generate random numbers using irrational numbers like π and e?
Why do UK politicians seemingly ignore opinion polls on Brexit?
What is the accessibility of a package's `Private` context variables?
How to notate time signature switching consistently every measure
Are there incongruent pythagorean triangles with the same perimeter and same area?
Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?
Worn-tile Scrabble
Are there any other methods to apply to solving simultaneous equations?
Falsification in Math vs Science
What is the meaning of Triage in Cybersec world?
How come people say “Would of”?
Time travel alters history but people keep saying nothing's changed
Is this app Icon Browser Safe/Legit?
How to type this arrow in math mode?
How can I autofill dates in Excel excluding Sunday?
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 yesterday
tanius
asked 2 days ago
taniustanius
2,6321823
2,6321823
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 yesterday
answered 2 days ago
taniustanius
2,6321823
2,6321823
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