How to configure what gets executed when inserting a medium in Lubuntu / LXQt? The 2019 Stack...

Does a dangling wire really electrocute me if I'm standing in water?

Where does the "burst of radiance" from Holy Weapon originate?

Polarization lost upon 2nd reflection?

Inline version of a function returns different value then non-inline version

Is "plugging out" electronic devices an American expression?

Pristine Bit Checking

Why is it "Tumoren" and not "Tumore"?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Evaluating number of iteration with a certain map with While

The difference between dialogue marks

It's possible to achieve negative score?

Did USCIS resume its biometric service for UK visa?

If Wish Duplicates Simulacrum, Are Existing Duplicates Destroyed?

Time travel alters history but people keep saying nothing's changed

Why do UK politicians seemingly ignore opinion polls on Brexit?

Geography at the pixel level

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

Spanish for "widget"

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Springs with some finite mass

Can I write a for loop that iterates over both collections and arrays?

How to deal with fear of taking dependencies

What do the Banks children have against barley water?

Is this food a bread or a loaf?



How to configure what gets executed when inserting a medium in Lubuntu / LXQt?



The 2019 Stack Overflow Developer Survey Results Are InNautilus does not mount usb storage automaticallyHow 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;
}







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 13 mins ago







      tanius

















      asked yesterday









      taniustanius

      2,6321822




      2,6321822






















          1 Answer
          1






          active

          oldest

          votes


















          1














          The fact that you have Nautilus installed indicates that you probably installed Ubuntu and then lubuntu-desktop. That's fine, but also the reason why people who installed from a Lubuntu medium are probably unaffected.



          Here is what helped:




          1. Log out of the LXQt session and start a default Ubuntu session.


          2. Start gnome-control-center. (This just fails to start in a LXQt session.)


          3. Go to "Devices → Removable Media".


          4. Check "Never prompt or start programs on media insertion".


          5. Log out of the Ubuntu session and start a usual LXQt session.



          The problem will be gone now. You can even start Nautilus, and it still won't happen again.



           



          As an alternative solution you could change the automount setting with dconf-editor. I did not try that so far.






          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-gets-executed-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 fact that you have Nautilus installed indicates that you probably installed Ubuntu and then lubuntu-desktop. That's fine, but also the reason why people who installed from a Lubuntu medium are probably unaffected.



            Here is what helped:




            1. Log out of the LXQt session and start a default Ubuntu session.


            2. Start gnome-control-center. (This just fails to start in a LXQt session.)


            3. Go to "Devices → Removable Media".


            4. Check "Never prompt or start programs on media insertion".


            5. Log out of the Ubuntu session and start a usual LXQt session.



            The problem will be gone now. You can even start Nautilus, and it still won't happen again.



             



            As an alternative solution you could change the automount setting with dconf-editor. I did not try that so far.






            share|improve this answer






























              1














              The fact that you have Nautilus installed indicates that you probably installed Ubuntu and then lubuntu-desktop. That's fine, but also the reason why people who installed from a Lubuntu medium are probably unaffected.



              Here is what helped:




              1. Log out of the LXQt session and start a default Ubuntu session.


              2. Start gnome-control-center. (This just fails to start in a LXQt session.)


              3. Go to "Devices → Removable Media".


              4. Check "Never prompt or start programs on media insertion".


              5. Log out of the Ubuntu session and start a usual LXQt session.



              The problem will be gone now. You can even start Nautilus, and it still won't happen again.



               



              As an alternative solution you could change the automount setting with dconf-editor. I did not try that so far.






              share|improve this answer




























                1












                1








                1







                The fact that you have Nautilus installed indicates that you probably installed Ubuntu and then lubuntu-desktop. That's fine, but also the reason why people who installed from a Lubuntu medium are probably unaffected.



                Here is what helped:




                1. Log out of the LXQt session and start a default Ubuntu session.


                2. Start gnome-control-center. (This just fails to start in a LXQt session.)


                3. Go to "Devices → Removable Media".


                4. Check "Never prompt or start programs on media insertion".


                5. Log out of the Ubuntu session and start a usual LXQt session.



                The problem will be gone now. You can even start Nautilus, and it still won't happen again.



                 



                As an alternative solution you could change the automount setting with dconf-editor. I did not try that so far.






                share|improve this answer















                The fact that you have Nautilus installed indicates that you probably installed Ubuntu and then lubuntu-desktop. That's fine, but also the reason why people who installed from a Lubuntu medium are probably unaffected.



                Here is what helped:




                1. Log out of the LXQt session and start a default Ubuntu session.


                2. Start gnome-control-center. (This just fails to start in a LXQt session.)


                3. Go to "Devices → Removable Media".


                4. Check "Never prompt or start programs on media insertion".


                5. Log out of the Ubuntu session and start a usual LXQt session.



                The problem will be gone now. You can even start Nautilus, and it still won't happen again.



                 



                As an alternative solution you could change the automount setting with dconf-editor. I did not try that so far.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday

























                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-gets-executed-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

                    List of shipwrecks in 1808...

                    Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                    Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...