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

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos