Setting Pluma's Default File ManagerLubuntu 19.04 Opens PCManFM-Qt Without Proper Theme As RootHow to make nautilus the default file manager in LXDECustom folder icon in lubuntu's PCman File ManagerHow to set PcManFm as the default file manager?File Manager PCManFM not the one as shown in USCMistake by un-installing file manager – blank screenHow to increase the number of recent files in Pluma from its default of 5?How can I open .rar archives in lubuntu's built-in file manager?How to hide/unhide menubar of file manager PCmanFM with the Alt key?how do I install GKSU or other program to edit as root to save changes in grub file at /etc/default to enable nomodeset bootup?Lubuntu 19.04 Opens PCManFM-Qt Without Proper Theme As Root

What is Plautus’s pun about frustum and frustrum?

How are one-time password generators like Google Authenticator different from having two passwords?

How does noise-cancellation work in Mac laptops?

Create a list of all possible Boolean configurations of three constraints

How can dragons propel their breath attacks to a long distance

Why did the ICC decide not to probe alleged US atrocities in Afghanistan?

Should these notes be played as a chord or one after another?

How can a layman easily get the consensus view of what academia *thinks* about a subject?

What is the best way for a skeleton to impersonate human without using magic?

Is the schwa sound consistent?

A cryptic tricolour

Drawing lines to nearest point

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Why in a Ethernet LAN, a packet sniffer can obtain all packets sent over the LAN?

Why does getw return -1 when trying to read a character?

Word for being out at night during curfew

How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?

Why do Thanos's punches not kill Captain America or at least cause some mortal injuries?

Early arrival in Australia, early hotel check in not available

Can a tourist shoot a gun in the USA?

Why doesn't Rocket Lab use a solid stage?

Why was the Ancient One so hesitant to teach Dr. Strange the art of sorcery?

Size of a folder with du

What food production methods would allow a metropolis like New York to become self sufficient



Setting Pluma's Default File Manager


Lubuntu 19.04 Opens PCManFM-Qt Without Proper Theme As RootHow to make nautilus the default file manager in LXDECustom folder icon in lubuntu's PCman File ManagerHow to set PcManFm as the default file manager?File Manager PCManFM not the one as shown in USCMistake by un-installing file manager – blank screenHow to increase the number of recent files in Pluma from its default of 5?How can I open .rar archives in lubuntu's built-in file manager?How to hide/unhide menubar of file manager PCmanFM with the Alt key?how do I install GKSU or other program to edit as root to save changes in grub file at /etc/default to enable nomodeset bootup?Lubuntu 19.04 Opens PCManFM-Qt Without Proper Theme As Root






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















While messing around with Lubuntu 19.04, running lxqt-sudo to launch Pluma text editor as root so that I could edit the /var/www PHP projects I had, I noticed when rightclicking the file browser pane and choosing View Folder, that it opened up, at first, PCManFM-Qt. However, when it did so, it used a very ugly theme. (That's another question I have posted.) Then, I installed Nautilus. When I did, now when I open Pluma as root, it uses some file manager called Files, which I assume is Nautilus because it shows up when I do ps -ef | grep -i nautilus.



How do I tell Pluma to use PCManFM-Qt instead of Nautilus? What config file do I edit?










share|improve this question




























    2















    While messing around with Lubuntu 19.04, running lxqt-sudo to launch Pluma text editor as root so that I could edit the /var/www PHP projects I had, I noticed when rightclicking the file browser pane and choosing View Folder, that it opened up, at first, PCManFM-Qt. However, when it did so, it used a very ugly theme. (That's another question I have posted.) Then, I installed Nautilus. When I did, now when I open Pluma as root, it uses some file manager called Files, which I assume is Nautilus because it shows up when I do ps -ef | grep -i nautilus.



    How do I tell Pluma to use PCManFM-Qt instead of Nautilus? What config file do I edit?










    share|improve this question
























      2












      2








      2








      While messing around with Lubuntu 19.04, running lxqt-sudo to launch Pluma text editor as root so that I could edit the /var/www PHP projects I had, I noticed when rightclicking the file browser pane and choosing View Folder, that it opened up, at first, PCManFM-Qt. However, when it did so, it used a very ugly theme. (That's another question I have posted.) Then, I installed Nautilus. When I did, now when I open Pluma as root, it uses some file manager called Files, which I assume is Nautilus because it shows up when I do ps -ef | grep -i nautilus.



      How do I tell Pluma to use PCManFM-Qt instead of Nautilus? What config file do I edit?










      share|improve this question














      While messing around with Lubuntu 19.04, running lxqt-sudo to launch Pluma text editor as root so that I could edit the /var/www PHP projects I had, I noticed when rightclicking the file browser pane and choosing View Folder, that it opened up, at first, PCManFM-Qt. However, when it did so, it used a very ugly theme. (That's another question I have posted.) Then, I installed Nautilus. When I did, now when I open Pluma as root, it uses some file manager called Files, which I assume is Nautilus because it shows up when I do ps -ef | grep -i nautilus.



      How do I tell Pluma to use PCManFM-Qt instead of Nautilus? What config file do I edit?







      lubuntu 19.04 pcmanfm pluma






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 2 at 6:03









      VolomikeVolomike

      1,40341632




      1,40341632




















          1 Answer
          1






          active

          oldest

          votes


















          2














          Setting the default is done with:



          xdg-mime default pcmanfm-qt.desktop inode/directory application/x-gnome-saved-search


          (I assumed it is pcmanfm-qt.desktop so do check for the actual .desktop file).




          • nautilus.desktop for Nautilus.


          • nemo.desktop for nemo.

          • etc.


          when I open Pluma as root




          Please stop this behaviour. Use pkexec instead.



          But even then don't! If you need root to edit files in /var/www/ your files are set incorrectly. Check the group of those files and add your user to that group. The group is going to be either www-data or apache if you use apache. Then you can edit the files from your user.






          share|improve this answer

























          • Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

            – Volomike
            May 2 at 6:23











          • As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

            – Volomike
            May 2 at 6:26











          • see the addition ;-)

            – Rinzwind
            May 2 at 6:44











          • Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

            – Volomike
            May 2 at 6:56











          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%2f1139874%2fsetting-plumas-default-file-manager%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









          2














          Setting the default is done with:



          xdg-mime default pcmanfm-qt.desktop inode/directory application/x-gnome-saved-search


          (I assumed it is pcmanfm-qt.desktop so do check for the actual .desktop file).




          • nautilus.desktop for Nautilus.


          • nemo.desktop for nemo.

          • etc.


          when I open Pluma as root




          Please stop this behaviour. Use pkexec instead.



          But even then don't! If you need root to edit files in /var/www/ your files are set incorrectly. Check the group of those files and add your user to that group. The group is going to be either www-data or apache if you use apache. Then you can edit the files from your user.






          share|improve this answer

























          • Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

            – Volomike
            May 2 at 6:23











          • As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

            – Volomike
            May 2 at 6:26











          • see the addition ;-)

            – Rinzwind
            May 2 at 6:44











          • Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

            – Volomike
            May 2 at 6:56















          2














          Setting the default is done with:



          xdg-mime default pcmanfm-qt.desktop inode/directory application/x-gnome-saved-search


          (I assumed it is pcmanfm-qt.desktop so do check for the actual .desktop file).




          • nautilus.desktop for Nautilus.


          • nemo.desktop for nemo.

          • etc.


          when I open Pluma as root




          Please stop this behaviour. Use pkexec instead.



          But even then don't! If you need root to edit files in /var/www/ your files are set incorrectly. Check the group of those files and add your user to that group. The group is going to be either www-data or apache if you use apache. Then you can edit the files from your user.






          share|improve this answer

























          • Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

            – Volomike
            May 2 at 6:23











          • As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

            – Volomike
            May 2 at 6:26











          • see the addition ;-)

            – Rinzwind
            May 2 at 6:44











          • Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

            – Volomike
            May 2 at 6:56













          2












          2








          2







          Setting the default is done with:



          xdg-mime default pcmanfm-qt.desktop inode/directory application/x-gnome-saved-search


          (I assumed it is pcmanfm-qt.desktop so do check for the actual .desktop file).




          • nautilus.desktop for Nautilus.


          • nemo.desktop for nemo.

          • etc.


          when I open Pluma as root




          Please stop this behaviour. Use pkexec instead.



          But even then don't! If you need root to edit files in /var/www/ your files are set incorrectly. Check the group of those files and add your user to that group. The group is going to be either www-data or apache if you use apache. Then you can edit the files from your user.






          share|improve this answer















          Setting the default is done with:



          xdg-mime default pcmanfm-qt.desktop inode/directory application/x-gnome-saved-search


          (I assumed it is pcmanfm-qt.desktop so do check for the actual .desktop file).




          • nautilus.desktop for Nautilus.


          • nemo.desktop for nemo.

          • etc.


          when I open Pluma as root




          Please stop this behaviour. Use pkexec instead.



          But even then don't! If you need root to edit files in /var/www/ your files are set incorrectly. Check the group of those files and add your user to that group. The group is going to be either www-data or apache if you use apache. Then you can edit the files from your user.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 2 at 6:44

























          answered May 2 at 6:14









          RinzwindRinzwind

          213k28411546




          213k28411546












          • Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

            – Volomike
            May 2 at 6:23











          • As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

            – Volomike
            May 2 at 6:26











          • see the addition ;-)

            – Rinzwind
            May 2 at 6:44











          • Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

            – Volomike
            May 2 at 6:56

















          • Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

            – Volomike
            May 2 at 6:23











          • As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

            – Volomike
            May 2 at 6:26











          • see the addition ;-)

            – Rinzwind
            May 2 at 6:44











          • Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

            – Volomike
            May 2 at 6:56
















          Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

          – Volomike
          May 2 at 6:23





          Note currently when I type xdg-mime query default inode/directory, it returns with org.gnome,Nautilus.desktop when in sudo su (root). But as a regular user, it returns with pcmanfm-qt.desktop. Perhaps this is useful info to someone.

          – Volomike
          May 2 at 6:23













          As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

          – Volomike
          May 2 at 6:26





          As for pkexec, I'm glad you pointed out that tool to me. I had not seen it before. I really just need to edit the PHP files as the www-data user context. I haven't figured out how to make that work just yet -- it says Cannot open display:. Currently my launcher is using lxqt-sudo to launch Pluma as root, and being asked for my login password on lxqt-sudo is annoying when it's just my local desktop.

          – Volomike
          May 2 at 6:26













          see the addition ;-)

          – Rinzwind
          May 2 at 6:44





          see the addition ;-)

          – Rinzwind
          May 2 at 6:44













          Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

          – Volomike
          May 2 at 6:56





          Thanks on that. Also, I found this which explains how to get around the Cannot open display and No protocol specified problems.

          – Volomike
          May 2 at 6:56

















          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%2f1139874%2fsetting-plumas-default-file-manager%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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company