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;








0















When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.



  1. For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.


  2. For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.



  3. 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.










share|improve this question






























    0















    When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.



    1. For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.


    2. For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.



    3. 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.










    share|improve this question


























      0












      0








      0


      1






      When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.



      1. For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.


      2. For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.



      3. 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.










      share|improve this question
















      When I insert a USB mass storage device or SD card, Lubuntu 18.10 (using LXQt) would show really odd behavior.



      1. For USB mass storage devices but not for SD cards, a popup by the PCManFM-Qt file manager would appear, asking what to do.


      2. For all devices, additionally a small black popover window in the bottom right would appear, showing the filesystem label and a mount icon.



      3. 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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 hours ago







      tanius

















      asked yesterday









      taniustanius

      2,6321822




      2,6321822




















          1 Answer
          1






          active

          oldest

          votes


















          1














          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



          1. Open the LXQt Configuration Center (lxqt-config) and click on "File Associations" there. Or directly start lxqt-config-file-associations.


          2. Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.



          3. 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.)



            1. In PCManFM-Qt, go to "Edit → Preferences → Volume".


            2. In section "Auto Mount", uncheck all three options.


            3. 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.






          share|improve this answer

























            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
            );



            );













            draft saved

            draft discarded


















            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









            1














            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



            1. Open the LXQt Configuration Center (lxqt-config) and click on "File Associations" there. Or directly start lxqt-config-file-associations.


            2. Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.



            3. 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.)



              1. In PCManFM-Qt, go to "Edit → Preferences → Volume".


              2. In section "Auto Mount", uncheck all three options.


              3. 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.






            share|improve this answer





























              1














              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



              1. Open the LXQt Configuration Center (lxqt-config) and click on "File Associations" there. Or directly start lxqt-config-file-associations.


              2. Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.



              3. 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.)



                1. In PCManFM-Qt, go to "Edit → Preferences → Volume".


                2. In section "Auto Mount", uncheck all three options.


                3. 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.






              share|improve this answer



























                1












                1








                1







                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



                1. Open the LXQt Configuration Center (lxqt-config) and click on "File Associations" there. Or directly start lxqt-config-file-associations.


                2. Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.



                3. 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.)



                  1. In PCManFM-Qt, go to "Edit → Preferences → Volume".


                  2. In section "Auto Mount", uncheck all three options.


                  3. 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.






                share|improve this answer















                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



                1. Open the LXQt Configuration Center (lxqt-config) and click on "File Associations" there. Or directly start lxqt-config-file-associations.


                2. Navigate to "inode → mount-point", click "Change", and choose "PCManFM-Qt File Manager", the default file manager of LXQt.



                3. 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.)



                  1. In PCManFM-Qt, go to "Edit → Preferences → Volume".


                  2. In section "Auto Mount", uncheck all three options.


                  3. 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.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 3 hours ago

























                answered yesterday









                taniustanius

                2,6321822




                2,6321822



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»