Command to create launcher (behind the Xfce/Thunar GUI)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












Thunar has an option when right-clicking the desktop to create desktop-files/launchers.



enter image description here



enter image description here



Is there a command behind this GUI that could be used in other contexts?







share|improve this question


























    up vote
    0
    down vote

    favorite
    1












    Thunar has an option when right-clicking the desktop to create desktop-files/launchers.



    enter image description here



    enter image description here



    Is there a command behind this GUI that could be used in other contexts?







    share|improve this question
























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      Thunar has an option when right-clicking the desktop to create desktop-files/launchers.



      enter image description here



      enter image description here



      Is there a command behind this GUI that could be used in other contexts?







      share|improve this question














      Thunar has an option when right-clicking the desktop to create desktop-files/launchers.



      enter image description here



      enter image description here



      Is there a command behind this GUI that could be used in other contexts?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 29 '17 at 18:10

























      asked Nov 29 '17 at 15:04









      cipricus

      2,595850122




      2,595850122




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          This is just creating a .desktop file in the ~/Desktop folder.



          You can create these files manually with a text editor or using any other program that can write an INI style file.



          A .desktop file can be also be installed with the xdg-desktop-icon tool.



          Edit



          To find the process that has created a window under X.



          1. Start a terminal

          2. Run xwininfo and click in the window you are interested in, note the "Window id"

          3. Run xprop -id XXXX | grep PID where XXXX is from xwininfo, note the PID

          4. Run ps aux | grep XXXX where XXXX is the PID from xprop

          On Xfce, the program is:



          exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/Desktop





          share|improve this answer






















          • I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
            – cipricus
            Nov 29 '17 at 15:36







          • 1




            @cipricus I've edited the answer to explain how to find the command for an X window.
            – Silas Parker
            Nov 29 '17 at 16:00










          • That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
            – cipricus
            Nov 29 '17 at 17:53











          • To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
            – cipricus
            Nov 29 '17 at 18:07











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407758%2fcommand-to-create-launcher-behind-the-xfce-thunar-gui%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          This is just creating a .desktop file in the ~/Desktop folder.



          You can create these files manually with a text editor or using any other program that can write an INI style file.



          A .desktop file can be also be installed with the xdg-desktop-icon tool.



          Edit



          To find the process that has created a window under X.



          1. Start a terminal

          2. Run xwininfo and click in the window you are interested in, note the "Window id"

          3. Run xprop -id XXXX | grep PID where XXXX is from xwininfo, note the PID

          4. Run ps aux | grep XXXX where XXXX is the PID from xprop

          On Xfce, the program is:



          exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/Desktop





          share|improve this answer






















          • I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
            – cipricus
            Nov 29 '17 at 15:36







          • 1




            @cipricus I've edited the answer to explain how to find the command for an X window.
            – Silas Parker
            Nov 29 '17 at 16:00










          • That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
            – cipricus
            Nov 29 '17 at 17:53











          • To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
            – cipricus
            Nov 29 '17 at 18:07















          up vote
          2
          down vote



          accepted










          This is just creating a .desktop file in the ~/Desktop folder.



          You can create these files manually with a text editor or using any other program that can write an INI style file.



          A .desktop file can be also be installed with the xdg-desktop-icon tool.



          Edit



          To find the process that has created a window under X.



          1. Start a terminal

          2. Run xwininfo and click in the window you are interested in, note the "Window id"

          3. Run xprop -id XXXX | grep PID where XXXX is from xwininfo, note the PID

          4. Run ps aux | grep XXXX where XXXX is the PID from xprop

          On Xfce, the program is:



          exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/Desktop





          share|improve this answer






















          • I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
            – cipricus
            Nov 29 '17 at 15:36







          • 1




            @cipricus I've edited the answer to explain how to find the command for an X window.
            – Silas Parker
            Nov 29 '17 at 16:00










          • That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
            – cipricus
            Nov 29 '17 at 17:53











          • To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
            – cipricus
            Nov 29 '17 at 18:07













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          This is just creating a .desktop file in the ~/Desktop folder.



          You can create these files manually with a text editor or using any other program that can write an INI style file.



          A .desktop file can be also be installed with the xdg-desktop-icon tool.



          Edit



          To find the process that has created a window under X.



          1. Start a terminal

          2. Run xwininfo and click in the window you are interested in, note the "Window id"

          3. Run xprop -id XXXX | grep PID where XXXX is from xwininfo, note the PID

          4. Run ps aux | grep XXXX where XXXX is the PID from xprop

          On Xfce, the program is:



          exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/Desktop





          share|improve this answer














          This is just creating a .desktop file in the ~/Desktop folder.



          You can create these files manually with a text editor or using any other program that can write an INI style file.



          A .desktop file can be also be installed with the xdg-desktop-icon tool.



          Edit



          To find the process that has created a window under X.



          1. Start a terminal

          2. Run xwininfo and click in the window you are interested in, note the "Window id"

          3. Run xprop -id XXXX | grep PID where XXXX is from xwininfo, note the PID

          4. Run ps aux | grep XXXX where XXXX is the PID from xprop

          On Xfce, the program is:



          exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/Desktop






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 29 '17 at 15:44

























          answered Nov 29 '17 at 15:24









          Silas Parker

          1714




          1714











          • I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
            – cipricus
            Nov 29 '17 at 15:36







          • 1




            @cipricus I've edited the answer to explain how to find the command for an X window.
            – Silas Parker
            Nov 29 '17 at 16:00










          • That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
            – cipricus
            Nov 29 '17 at 17:53











          • To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
            – cipricus
            Nov 29 '17 at 18:07

















          • I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
            – cipricus
            Nov 29 '17 at 15:36







          • 1




            @cipricus I've edited the answer to explain how to find the command for an X window.
            – Silas Parker
            Nov 29 '17 at 16:00










          • That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
            – cipricus
            Nov 29 '17 at 17:53











          • To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
            – cipricus
            Nov 29 '17 at 18:07
















          I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
          – cipricus
          Nov 29 '17 at 15:36





          I know what are and how desktop files work. I am strictly referring to the GUI from my second image. Possibly that is a GUI for xdg-desktop-icon. I want a command that could start that GUI.
          – cipricus
          Nov 29 '17 at 15:36





          1




          1




          @cipricus I've edited the answer to explain how to find the command for an X window.
          – Silas Parker
          Nov 29 '17 at 16:00




          @cipricus I've edited the answer to explain how to find the command for an X window.
          – Silas Parker
          Nov 29 '17 at 16:00












          That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
          – cipricus
          Nov 29 '17 at 17:53





          That's exactly what I was looking for. Now I can use that command in the file /.local/share/applications/Create new desktop launcher.desktop and create such launchers outside Xfce/Thunar, or I can add it in other file mansagers like Nautilus or PCManFM.
          – cipricus
          Nov 29 '17 at 17:53













          To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
          – cipricus
          Nov 29 '17 at 18:07





          To create an application launcher in /.local/share/applications that can be searched and launched with a tool like Synapse, Dash, Whiskermenu, Krun etc (instead of one one the Desktop), the command is exo-desktop-item-edit --display=:0.0 --create-new --type Application file:///home/$USER/.local/share/applications.
          – cipricus
          Nov 29 '17 at 18:07


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407758%2fcommand-to-create-launcher-behind-the-xfce-thunar-gui%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)