How can I add new autostart programs in Lubuntu?Autostart Chromium in Lubuntu 12.04how to run applications after start in openbox automatically?How do I add Telegram Desktop app on Lubuntu startupHow to add application to startup application menu?how to add f.lux to startup applications on lubuntu?Perform action when moving mouse cursor to certain position in Lubuntu (hot corner)How to start a Python script in LXTerminal using crontab at boot-upMismatch in screen dimensions for Lubuntu when connecting via HDMI to projectorStarting browser after boot without starting full GUIhow to make programs that autostart at login start hidden?How to add startup applications in lubuntu?autostart application in new workspace in gnome-shellLubuntu: How do I autostart xfce4 power manager?Desktop Session Settings not savedI want to switch to Lubuntu, how can I take all of my programs/files with me?Is there any way to add a new keyboard shortcut?Add a login screen on boot to Lubuntu 14.04autostart compton on Lubuntu 16.04 LTSLubuntu 18.04 Autostart Firefox doesnt work

What does the 1.-5. notation mean at the top right corner?

Time machine in Interstellar movie

Trademark: "Lyft" and acquired dictinctiveness

Why did the Bohr Model Successfully calculate some of the energy levels in hydrogen?

Why do aircraft sometimes bounce while landing?

Warranty on lock damaged during attempted theft

Is it rectilinear?

Photographic Companions

Was there a clearly identifiable "first computer" to use or demonstrate the use of virtual memory?

What type of beer is best for beer battered fish?

Is there any point in adding more than 6 months' runway in savings instead of investing everything after that?

Identify the Eeveelutions

How do you write an attribution if there's ambiguity over which version of Creative Commons applies?

Total I/O cost of a process

Translation Golf XLIX - An Accurate Shot

"Chess is 90% tactics" - should a player focus more on tactics in order to improve?

Which battle was the most lopsided result in terms of casualties?

Has Counterspell always been able to target any spell on the stack?

How do the Martian rebels defeat Earth when they're grossly outnumbered and outgunned?

How much money would I need to feel secure in my job?

How do I find the unknown program enabled during Start-Up?

A question about relaxation oscillator

What is the meaning of Text inside of AMS logo

A Simple Battleship Game



How can I add new autostart programs in Lubuntu?


Autostart Chromium in Lubuntu 12.04how to run applications after start in openbox automatically?How do I add Telegram Desktop app on Lubuntu startupHow to add application to startup application menu?how to add f.lux to startup applications on lubuntu?Perform action when moving mouse cursor to certain position in Lubuntu (hot corner)How to start a Python script in LXTerminal using crontab at boot-upMismatch in screen dimensions for Lubuntu when connecting via HDMI to projectorStarting browser after boot without starting full GUIhow to make programs that autostart at login start hidden?How to add startup applications in lubuntu?autostart application in new workspace in gnome-shellLubuntu: How do I autostart xfce4 power manager?Desktop Session Settings not savedI want to switch to Lubuntu, how can I take all of my programs/files with me?Is there any way to add a new keyboard shortcut?Add a login screen on boot to Lubuntu 14.04autostart compton on Lubuntu 16.04 LTSLubuntu 18.04 Autostart Firefox doesnt work






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









21

















In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?










share|improve this question
































    21

















    In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?










    share|improve this question




























      21












      21








      21


      12






      In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?










      share|improve this question















      In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?







      lubuntu autostart






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '11 at 18:09









      Exeleration-GExeleration-G

      4,20710 gold badges48 silver badges90 bronze badges




      4,20710 gold badges48 silver badges90 bronze badges























          11 Answers
          11






          active

          oldest

          votes


















          26


















          For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



          Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



          You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.






          share|improve this answer




























          • Not working for me, fresh install Lubuntu 13.10.

            – Vitaly Zdanevich
            Oct 21 '13 at 5:54











          • Can confirm that it works for Lubuntu 14.10

            – danihodovic
            Apr 5 '15 at 23:35











          • Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

            – Tim McElwee
            Mar 19 '17 at 20:22


















          9


















          For Lubuntu 13.10



          ~/.config/autostart trick does not work in Lubuntu 13.10, but commands which are put in ~/.config/lxsession/Lubuntu/autostart file will be run automatically after login. Read more about it in this Ubuntu Forums post.



          If you want to do it graphically, go to Preferences/Default applications for LX Session, then select the Autostart tab.






          share|improve this answer



































            6


















            For Lubuntu 19.04+



            Click on Menu > Preferences > LXQt settings > Session Settings



            Menu > Preferences > LXQt settings > Session Settings



            Click on Autostart in the left pane of the window that appears:



            Add applications to Autostart



            In here, you can type in the appropriate command or search for an application to be included and even remove items you don't wish to autostart.






            share|improve this answer

































              5


















              For Lubuntu 13.10



              In my example, I'll autostart cairo-dock.




              1. Create a file called .starter in your home dir and make it executable:



                touch ~/.starter
                chmod +x ~/.starter



              2. In that file write the command you want to be autostarted, save and close:



                leafpad ~/.starter



              3. Edit the autostart file in the lxsession directory:



                sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart



              4. Add this new line:



                @/home/user/.starter ## Replace user by your name


              5. Save and close


              6. Reboot and it shall now run automaticaly






              share|improve this answer




























              • Not worked for me :(

                – Vitaly Zdanevich
                Nov 19 '13 at 16:09


















              3


















              Make a new shorcut to the program in your ~/.config/autostart directory.



              For example, to make the drop-down terminal Guake start automatically, type this in a terminal:



              cd ~/.config/autostart
              ln -s /usr/share/applications/guake.desktop guake.desktop





              share|improve this answer























              • 2





                Maybe you can expand your answer to explain how!

                – stephenmyall
                May 27 '13 at 19:11


















              3


















              In Lubuntu (Ubuntu) 17.10, I succeeded in using the file:



              .config/lxsession/Lubuntu/autostart





              share|improve this answer

































                2


















                I've had to do this a few times and the .desktop 'trick' never works for me. add the command to the autostart file: /etc/xdg/lxsession/Lubuntu/autostart



                See this question for details.






                share|improve this answer



































                  1


















                  you can manage them after installing lxsession-edit but don't know if that's what you want to achieve. otherwise the other answers are pretty good, the "official" guide is here: http://wiki.lxde.org/en/LXSession#Autostarted_applications_using_lxsession






                  share|improve this answer

































                    1


















                    For Lubuntu 18.04



                    1. Find the path of the application that you like to autostart.

                    2. Add the path to the application to ~/.config/lxsession/Lubuntu/autostart

                    3. Or use the tool under the menu Preferences->Default applications for LXSession

                      • select the Autostart tab

                      • enter the path in the text field next to the + Add button

                      • click the + Add button



                    4. Logout and Login to test





                    share|improve this answer



































                      0


















                      There's a thread about this on the Ubuntu Forums.



                      I'm using Lubuntu 13.04 on a Samsung NC110 netbook, 2GB RAM.



                      A procedure that worked for me was:



                      1. cd /etc/xdg/lxsession/Lubuntu

                      2. sudo nano autostart

                      3. Add programs wanted, save and exit.

                      Directly putting cli commands in autostart file causes lxsession user preferences to not load, thus I added bash filename.sh into autostart (no /bin/ pathname necessary) and achieved my purpose)



                      I had originally wanted to try to



                      1. reactivate LibreOffice Quickstarter
                        • Make bash file with libreoffice --quickstart --nologo –nodefault

                        • Place bash filename.sh in /etc/xdg/lxsession/Lubuntu/Autostart file) and have pcmanfm to autostart up to my most commonly used directory (pcmanfm pcmanfm /media/a/LG/AC/Learn/).


                      Again, hope everyone can learn from my mistake. Definitely do not put regular cli commands directly into Autostart and expect them to execute normally, neither my desktop background, pcmanfm preferences (specifically the directory would open in icon view rather than my preference which is detailed view), nor my symbolic links loaded each time after bootup, and I was left with a desolate gray screen.



                      As soon as I deleted the cli commands and replaced it with bash file names, everything went back to normal.






                      share|improve this answer



































                        0


















                        I followed Exeleration-G's graphical plan for adding VirtualBox in autostart.
                        I expected it to work when I logged out and in again, but the first time it didn't. I rebooted the computer and it started right up. Ever since then, it loads when I log out and log back in again even when I closed V'Box before logging out.



                        I am using Lubuntu 16.04 LTS.






                        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/4.0/"u003ecc by-sa 4.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%2f81383%2fhow-can-i-add-new-autostart-programs-in-lubuntu%23new-answer', 'question_page');

                          );

                          Post as a guest















                          Required, but never shown


























                          11 Answers
                          11






                          active

                          oldest

                          votes








                          11 Answers
                          11






                          active

                          oldest

                          votes









                          active

                          oldest

                          votes






                          active

                          oldest

                          votes









                          26


















                          For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



                          Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



                          You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.






                          share|improve this answer




























                          • Not working for me, fresh install Lubuntu 13.10.

                            – Vitaly Zdanevich
                            Oct 21 '13 at 5:54











                          • Can confirm that it works for Lubuntu 14.10

                            – danihodovic
                            Apr 5 '15 at 23:35











                          • Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                            – Tim McElwee
                            Mar 19 '17 at 20:22















                          26


















                          For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



                          Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



                          You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.






                          share|improve this answer




























                          • Not working for me, fresh install Lubuntu 13.10.

                            – Vitaly Zdanevich
                            Oct 21 '13 at 5:54











                          • Can confirm that it works for Lubuntu 14.10

                            – danihodovic
                            Apr 5 '15 at 23:35











                          • Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                            – Tim McElwee
                            Mar 19 '17 at 20:22













                          26














                          26










                          26









                          For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



                          Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



                          You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.






                          share|improve this answer
















                          For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



                          Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



                          You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.







                          share|improve this answer















                          share|improve this answer




                          share|improve this answer








                          edited Mar 3 '17 at 8:26









                          Pavel

                          1722 silver badges10 bronze badges




                          1722 silver badges10 bronze badges










                          answered Nov 21 '11 at 18:15









                          Exeleration-GExeleration-G

                          4,20710 gold badges48 silver badges90 bronze badges




                          4,20710 gold badges48 silver badges90 bronze badges















                          • Not working for me, fresh install Lubuntu 13.10.

                            – Vitaly Zdanevich
                            Oct 21 '13 at 5:54











                          • Can confirm that it works for Lubuntu 14.10

                            – danihodovic
                            Apr 5 '15 at 23:35











                          • Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                            – Tim McElwee
                            Mar 19 '17 at 20:22

















                          • Not working for me, fresh install Lubuntu 13.10.

                            – Vitaly Zdanevich
                            Oct 21 '13 at 5:54











                          • Can confirm that it works for Lubuntu 14.10

                            – danihodovic
                            Apr 5 '15 at 23:35











                          • Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                            – Tim McElwee
                            Mar 19 '17 at 20:22
















                          Not working for me, fresh install Lubuntu 13.10.

                          – Vitaly Zdanevich
                          Oct 21 '13 at 5:54





                          Not working for me, fresh install Lubuntu 13.10.

                          – Vitaly Zdanevich
                          Oct 21 '13 at 5:54













                          Can confirm that it works for Lubuntu 14.10

                          – danihodovic
                          Apr 5 '15 at 23:35





                          Can confirm that it works for Lubuntu 14.10

                          – danihodovic
                          Apr 5 '15 at 23:35













                          Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                          – Tim McElwee
                          Mar 19 '17 at 20:22





                          Just tried and it's working in Lubuntu 16.10. To verify using the GUI, go to the LXMenu > Preferences > Default applications for LXSession and select the Autostart tab. In the Known Applications list, check to see that the added applications are listed and checked.

                          – Tim McElwee
                          Mar 19 '17 at 20:22













                          9


















                          For Lubuntu 13.10



                          ~/.config/autostart trick does not work in Lubuntu 13.10, but commands which are put in ~/.config/lxsession/Lubuntu/autostart file will be run automatically after login. Read more about it in this Ubuntu Forums post.



                          If you want to do it graphically, go to Preferences/Default applications for LX Session, then select the Autostart tab.






                          share|improve this answer
































                            9


















                            For Lubuntu 13.10



                            ~/.config/autostart trick does not work in Lubuntu 13.10, but commands which are put in ~/.config/lxsession/Lubuntu/autostart file will be run automatically after login. Read more about it in this Ubuntu Forums post.



                            If you want to do it graphically, go to Preferences/Default applications for LX Session, then select the Autostart tab.






                            share|improve this answer






























                              9














                              9










                              9









                              For Lubuntu 13.10



                              ~/.config/autostart trick does not work in Lubuntu 13.10, but commands which are put in ~/.config/lxsession/Lubuntu/autostart file will be run automatically after login. Read more about it in this Ubuntu Forums post.



                              If you want to do it graphically, go to Preferences/Default applications for LX Session, then select the Autostart tab.






                              share|improve this answer
















                              For Lubuntu 13.10



                              ~/.config/autostart trick does not work in Lubuntu 13.10, but commands which are put in ~/.config/lxsession/Lubuntu/autostart file will be run automatically after login. Read more about it in this Ubuntu Forums post.



                              If you want to do it graphically, go to Preferences/Default applications for LX Session, then select the Autostart tab.







                              share|improve this answer















                              share|improve this answer




                              share|improve this answer








                              edited Nov 15 '13 at 15:18









                              Exeleration-G

                              4,20710 gold badges48 silver badges90 bronze badges




                              4,20710 gold badges48 silver badges90 bronze badges










                              answered Nov 15 '13 at 11:30









                              HieuHieu

                              4014 silver badges9 bronze badges




                              4014 silver badges9 bronze badges
























                                  6


















                                  For Lubuntu 19.04+



                                  Click on Menu > Preferences > LXQt settings > Session Settings



                                  Menu > Preferences > LXQt settings > Session Settings



                                  Click on Autostart in the left pane of the window that appears:



                                  Add applications to Autostart



                                  In here, you can type in the appropriate command or search for an application to be included and even remove items you don't wish to autostart.






                                  share|improve this answer






























                                    6


















                                    For Lubuntu 19.04+



                                    Click on Menu > Preferences > LXQt settings > Session Settings



                                    Menu > Preferences > LXQt settings > Session Settings



                                    Click on Autostart in the left pane of the window that appears:



                                    Add applications to Autostart



                                    In here, you can type in the appropriate command or search for an application to be included and even remove items you don't wish to autostart.






                                    share|improve this answer




























                                      6














                                      6










                                      6









                                      For Lubuntu 19.04+



                                      Click on Menu > Preferences > LXQt settings > Session Settings



                                      Menu > Preferences > LXQt settings > Session Settings



                                      Click on Autostart in the left pane of the window that appears:



                                      Add applications to Autostart



                                      In here, you can type in the appropriate command or search for an application to be included and even remove items you don't wish to autostart.






                                      share|improve this answer














                                      For Lubuntu 19.04+



                                      Click on Menu > Preferences > LXQt settings > Session Settings



                                      Menu > Preferences > LXQt settings > Session Settings



                                      Click on Autostart in the left pane of the window that appears:



                                      Add applications to Autostart



                                      In here, you can type in the appropriate command or search for an application to be included and even remove items you don't wish to autostart.







                                      share|improve this answer













                                      share|improve this answer




                                      share|improve this answer










                                      answered Jul 24 at 17:29









                                      DK BoseDK Bose

                                      21.2k14 gold badges59 silver badges122 bronze badges




                                      21.2k14 gold badges59 silver badges122 bronze badges
























                                          5


















                                          For Lubuntu 13.10



                                          In my example, I'll autostart cairo-dock.




                                          1. Create a file called .starter in your home dir and make it executable:



                                            touch ~/.starter
                                            chmod +x ~/.starter



                                          2. In that file write the command you want to be autostarted, save and close:



                                            leafpad ~/.starter



                                          3. Edit the autostart file in the lxsession directory:



                                            sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart



                                          4. Add this new line:



                                            @/home/user/.starter ## Replace user by your name


                                          5. Save and close


                                          6. Reboot and it shall now run automaticaly






                                          share|improve this answer




























                                          • Not worked for me :(

                                            – Vitaly Zdanevich
                                            Nov 19 '13 at 16:09















                                          5


















                                          For Lubuntu 13.10



                                          In my example, I'll autostart cairo-dock.




                                          1. Create a file called .starter in your home dir and make it executable:



                                            touch ~/.starter
                                            chmod +x ~/.starter



                                          2. In that file write the command you want to be autostarted, save and close:



                                            leafpad ~/.starter



                                          3. Edit the autostart file in the lxsession directory:



                                            sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart



                                          4. Add this new line:



                                            @/home/user/.starter ## Replace user by your name


                                          5. Save and close


                                          6. Reboot and it shall now run automaticaly






                                          share|improve this answer




























                                          • Not worked for me :(

                                            – Vitaly Zdanevich
                                            Nov 19 '13 at 16:09













                                          5














                                          5










                                          5









                                          For Lubuntu 13.10



                                          In my example, I'll autostart cairo-dock.




                                          1. Create a file called .starter in your home dir and make it executable:



                                            touch ~/.starter
                                            chmod +x ~/.starter



                                          2. In that file write the command you want to be autostarted, save and close:



                                            leafpad ~/.starter



                                          3. Edit the autostart file in the lxsession directory:



                                            sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart



                                          4. Add this new line:



                                            @/home/user/.starter ## Replace user by your name


                                          5. Save and close


                                          6. Reboot and it shall now run automaticaly






                                          share|improve this answer
















                                          For Lubuntu 13.10



                                          In my example, I'll autostart cairo-dock.




                                          1. Create a file called .starter in your home dir and make it executable:



                                            touch ~/.starter
                                            chmod +x ~/.starter



                                          2. In that file write the command you want to be autostarted, save and close:



                                            leafpad ~/.starter



                                          3. Edit the autostart file in the lxsession directory:



                                            sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart



                                          4. Add this new line:



                                            @/home/user/.starter ## Replace user by your name


                                          5. Save and close


                                          6. Reboot and it shall now run automaticaly







                                          share|improve this answer















                                          share|improve this answer




                                          share|improve this answer








                                          edited Nov 15 '13 at 15:29









                                          Exeleration-G

                                          4,20710 gold badges48 silver badges90 bronze badges




                                          4,20710 gold badges48 silver badges90 bronze badges










                                          answered Oct 28 '13 at 21:05









                                          PeterPeter

                                          911 silver badge5 bronze badges




                                          911 silver badge5 bronze badges















                                          • Not worked for me :(

                                            – Vitaly Zdanevich
                                            Nov 19 '13 at 16:09

















                                          • Not worked for me :(

                                            – Vitaly Zdanevich
                                            Nov 19 '13 at 16:09
















                                          Not worked for me :(

                                          – Vitaly Zdanevich
                                          Nov 19 '13 at 16:09





                                          Not worked for me :(

                                          – Vitaly Zdanevich
                                          Nov 19 '13 at 16:09











                                          3


















                                          Make a new shorcut to the program in your ~/.config/autostart directory.



                                          For example, to make the drop-down terminal Guake start automatically, type this in a terminal:



                                          cd ~/.config/autostart
                                          ln -s /usr/share/applications/guake.desktop guake.desktop





                                          share|improve this answer























                                          • 2





                                            Maybe you can expand your answer to explain how!

                                            – stephenmyall
                                            May 27 '13 at 19:11















                                          3


















                                          Make a new shorcut to the program in your ~/.config/autostart directory.



                                          For example, to make the drop-down terminal Guake start automatically, type this in a terminal:



                                          cd ~/.config/autostart
                                          ln -s /usr/share/applications/guake.desktop guake.desktop





                                          share|improve this answer























                                          • 2





                                            Maybe you can expand your answer to explain how!

                                            – stephenmyall
                                            May 27 '13 at 19:11













                                          3














                                          3










                                          3









                                          Make a new shorcut to the program in your ~/.config/autostart directory.



                                          For example, to make the drop-down terminal Guake start automatically, type this in a terminal:



                                          cd ~/.config/autostart
                                          ln -s /usr/share/applications/guake.desktop guake.desktop





                                          share|improve this answer
















                                          Make a new shorcut to the program in your ~/.config/autostart directory.



                                          For example, to make the drop-down terminal Guake start automatically, type this in a terminal:



                                          cd ~/.config/autostart
                                          ln -s /usr/share/applications/guake.desktop guake.desktop






                                          share|improve this answer















                                          share|improve this answer




                                          share|improve this answer








                                          edited Jun 7 '13 at 18:19









                                          denkku

                                          31 bronze badge




                                          31 bronze badge










                                          answered May 27 '13 at 18:31









                                          Fernando CRFernando CR

                                          312 bronze badges




                                          312 bronze badges










                                          • 2





                                            Maybe you can expand your answer to explain how!

                                            – stephenmyall
                                            May 27 '13 at 19:11












                                          • 2





                                            Maybe you can expand your answer to explain how!

                                            – stephenmyall
                                            May 27 '13 at 19:11







                                          2




                                          2





                                          Maybe you can expand your answer to explain how!

                                          – stephenmyall
                                          May 27 '13 at 19:11





                                          Maybe you can expand your answer to explain how!

                                          – stephenmyall
                                          May 27 '13 at 19:11











                                          3


















                                          In Lubuntu (Ubuntu) 17.10, I succeeded in using the file:



                                          .config/lxsession/Lubuntu/autostart





                                          share|improve this answer






























                                            3


















                                            In Lubuntu (Ubuntu) 17.10, I succeeded in using the file:



                                            .config/lxsession/Lubuntu/autostart





                                            share|improve this answer




























                                              3














                                              3










                                              3









                                              In Lubuntu (Ubuntu) 17.10, I succeeded in using the file:



                                              .config/lxsession/Lubuntu/autostart





                                              share|improve this answer














                                              In Lubuntu (Ubuntu) 17.10, I succeeded in using the file:



                                              .config/lxsession/Lubuntu/autostart






                                              share|improve this answer













                                              share|improve this answer




                                              share|improve this answer










                                              answered Jun 25 '18 at 8:54









                                              Yan King YinYan King Yin

                                              2611 silver badge8 bronze badges




                                              2611 silver badge8 bronze badges
























                                                  2


















                                                  I've had to do this a few times and the .desktop 'trick' never works for me. add the command to the autostart file: /etc/xdg/lxsession/Lubuntu/autostart



                                                  See this question for details.






                                                  share|improve this answer
































                                                    2


















                                                    I've had to do this a few times and the .desktop 'trick' never works for me. add the command to the autostart file: /etc/xdg/lxsession/Lubuntu/autostart



                                                    See this question for details.






                                                    share|improve this answer






























                                                      2














                                                      2










                                                      2









                                                      I've had to do this a few times and the .desktop 'trick' never works for me. add the command to the autostart file: /etc/xdg/lxsession/Lubuntu/autostart



                                                      See this question for details.






                                                      share|improve this answer
















                                                      I've had to do this a few times and the .desktop 'trick' never works for me. add the command to the autostart file: /etc/xdg/lxsession/Lubuntu/autostart



                                                      See this question for details.







                                                      share|improve this answer















                                                      share|improve this answer




                                                      share|improve this answer








                                                      edited Mar 20 '17 at 10:18









                                                      Community

                                                      1




                                                      1










                                                      answered Jun 17 '12 at 2:55









                                                      KageKage

                                                      211 bronze badge




                                                      211 bronze badge
























                                                          1


















                                                          you can manage them after installing lxsession-edit but don't know if that's what you want to achieve. otherwise the other answers are pretty good, the "official" guide is here: http://wiki.lxde.org/en/LXSession#Autostarted_applications_using_lxsession






                                                          share|improve this answer






























                                                            1


















                                                            you can manage them after installing lxsession-edit but don't know if that's what you want to achieve. otherwise the other answers are pretty good, the "official" guide is here: http://wiki.lxde.org/en/LXSession#Autostarted_applications_using_lxsession






                                                            share|improve this answer




























                                                              1














                                                              1










                                                              1









                                                              you can manage them after installing lxsession-edit but don't know if that's what you want to achieve. otherwise the other answers are pretty good, the "official" guide is here: http://wiki.lxde.org/en/LXSession#Autostarted_applications_using_lxsession






                                                              share|improve this answer














                                                              you can manage them after installing lxsession-edit but don't know if that's what you want to achieve. otherwise the other answers are pretty good, the "official" guide is here: http://wiki.lxde.org/en/LXSession#Autostarted_applications_using_lxsession







                                                              share|improve this answer













                                                              share|improve this answer




                                                              share|improve this answer










                                                              answered Aug 10 '16 at 16:59









                                                              MalkavianMalkavian

                                                              572 silver badges12 bronze badges




                                                              572 silver badges12 bronze badges
























                                                                  1


















                                                                  For Lubuntu 18.04



                                                                  1. Find the path of the application that you like to autostart.

                                                                  2. Add the path to the application to ~/.config/lxsession/Lubuntu/autostart

                                                                  3. Or use the tool under the menu Preferences->Default applications for LXSession

                                                                    • select the Autostart tab

                                                                    • enter the path in the text field next to the + Add button

                                                                    • click the + Add button



                                                                  4. Logout and Login to test





                                                                  share|improve this answer
































                                                                    1


















                                                                    For Lubuntu 18.04



                                                                    1. Find the path of the application that you like to autostart.

                                                                    2. Add the path to the application to ~/.config/lxsession/Lubuntu/autostart

                                                                    3. Or use the tool under the menu Preferences->Default applications for LXSession

                                                                      • select the Autostart tab

                                                                      • enter the path in the text field next to the + Add button

                                                                      • click the + Add button



                                                                    4. Logout and Login to test





                                                                    share|improve this answer






























                                                                      1














                                                                      1










                                                                      1









                                                                      For Lubuntu 18.04



                                                                      1. Find the path of the application that you like to autostart.

                                                                      2. Add the path to the application to ~/.config/lxsession/Lubuntu/autostart

                                                                      3. Or use the tool under the menu Preferences->Default applications for LXSession

                                                                        • select the Autostart tab

                                                                        • enter the path in the text field next to the + Add button

                                                                        • click the + Add button



                                                                      4. Logout and Login to test





                                                                      share|improve this answer
















                                                                      For Lubuntu 18.04



                                                                      1. Find the path of the application that you like to autostart.

                                                                      2. Add the path to the application to ~/.config/lxsession/Lubuntu/autostart

                                                                      3. Or use the tool under the menu Preferences->Default applications for LXSession

                                                                        • select the Autostart tab

                                                                        • enter the path in the text field next to the + Add button

                                                                        • click the + Add button



                                                                      4. Logout and Login to test






                                                                      share|improve this answer















                                                                      share|improve this answer




                                                                      share|improve this answer








                                                                      edited Jun 5 at 2:02









                                                                      Teocci

                                                                      1,7472 gold badges7 silver badges8 bronze badges




                                                                      1,7472 gold badges7 silver badges8 bronze badges










                                                                      answered Jun 4 at 18:56









                                                                      kentavvkentavv

                                                                      114 bronze badges




                                                                      114 bronze badges
























                                                                          0


















                                                                          There's a thread about this on the Ubuntu Forums.



                                                                          I'm using Lubuntu 13.04 on a Samsung NC110 netbook, 2GB RAM.



                                                                          A procedure that worked for me was:



                                                                          1. cd /etc/xdg/lxsession/Lubuntu

                                                                          2. sudo nano autostart

                                                                          3. Add programs wanted, save and exit.

                                                                          Directly putting cli commands in autostart file causes lxsession user preferences to not load, thus I added bash filename.sh into autostart (no /bin/ pathname necessary) and achieved my purpose)



                                                                          I had originally wanted to try to



                                                                          1. reactivate LibreOffice Quickstarter
                                                                            • Make bash file with libreoffice --quickstart --nologo –nodefault

                                                                            • Place bash filename.sh in /etc/xdg/lxsession/Lubuntu/Autostart file) and have pcmanfm to autostart up to my most commonly used directory (pcmanfm pcmanfm /media/a/LG/AC/Learn/).


                                                                          Again, hope everyone can learn from my mistake. Definitely do not put regular cli commands directly into Autostart and expect them to execute normally, neither my desktop background, pcmanfm preferences (specifically the directory would open in icon view rather than my preference which is detailed view), nor my symbolic links loaded each time after bootup, and I was left with a desolate gray screen.



                                                                          As soon as I deleted the cli commands and replaced it with bash file names, everything went back to normal.






                                                                          share|improve this answer
































                                                                            0


















                                                                            There's a thread about this on the Ubuntu Forums.



                                                                            I'm using Lubuntu 13.04 on a Samsung NC110 netbook, 2GB RAM.



                                                                            A procedure that worked for me was:



                                                                            1. cd /etc/xdg/lxsession/Lubuntu

                                                                            2. sudo nano autostart

                                                                            3. Add programs wanted, save and exit.

                                                                            Directly putting cli commands in autostart file causes lxsession user preferences to not load, thus I added bash filename.sh into autostart (no /bin/ pathname necessary) and achieved my purpose)



                                                                            I had originally wanted to try to



                                                                            1. reactivate LibreOffice Quickstarter
                                                                              • Make bash file with libreoffice --quickstart --nologo –nodefault

                                                                              • Place bash filename.sh in /etc/xdg/lxsession/Lubuntu/Autostart file) and have pcmanfm to autostart up to my most commonly used directory (pcmanfm pcmanfm /media/a/LG/AC/Learn/).


                                                                            Again, hope everyone can learn from my mistake. Definitely do not put regular cli commands directly into Autostart and expect them to execute normally, neither my desktop background, pcmanfm preferences (specifically the directory would open in icon view rather than my preference which is detailed view), nor my symbolic links loaded each time after bootup, and I was left with a desolate gray screen.



                                                                            As soon as I deleted the cli commands and replaced it with bash file names, everything went back to normal.






                                                                            share|improve this answer






























                                                                              0














                                                                              0










                                                                              0









                                                                              There's a thread about this on the Ubuntu Forums.



                                                                              I'm using Lubuntu 13.04 on a Samsung NC110 netbook, 2GB RAM.



                                                                              A procedure that worked for me was:



                                                                              1. cd /etc/xdg/lxsession/Lubuntu

                                                                              2. sudo nano autostart

                                                                              3. Add programs wanted, save and exit.

                                                                              Directly putting cli commands in autostart file causes lxsession user preferences to not load, thus I added bash filename.sh into autostart (no /bin/ pathname necessary) and achieved my purpose)



                                                                              I had originally wanted to try to



                                                                              1. reactivate LibreOffice Quickstarter
                                                                                • Make bash file with libreoffice --quickstart --nologo –nodefault

                                                                                • Place bash filename.sh in /etc/xdg/lxsession/Lubuntu/Autostart file) and have pcmanfm to autostart up to my most commonly used directory (pcmanfm pcmanfm /media/a/LG/AC/Learn/).


                                                                              Again, hope everyone can learn from my mistake. Definitely do not put regular cli commands directly into Autostart and expect them to execute normally, neither my desktop background, pcmanfm preferences (specifically the directory would open in icon view rather than my preference which is detailed view), nor my symbolic links loaded each time after bootup, and I was left with a desolate gray screen.



                                                                              As soon as I deleted the cli commands and replaced it with bash file names, everything went back to normal.






                                                                              share|improve this answer
















                                                                              There's a thread about this on the Ubuntu Forums.



                                                                              I'm using Lubuntu 13.04 on a Samsung NC110 netbook, 2GB RAM.



                                                                              A procedure that worked for me was:



                                                                              1. cd /etc/xdg/lxsession/Lubuntu

                                                                              2. sudo nano autostart

                                                                              3. Add programs wanted, save and exit.

                                                                              Directly putting cli commands in autostart file causes lxsession user preferences to not load, thus I added bash filename.sh into autostart (no /bin/ pathname necessary) and achieved my purpose)



                                                                              I had originally wanted to try to



                                                                              1. reactivate LibreOffice Quickstarter
                                                                                • Make bash file with libreoffice --quickstart --nologo –nodefault

                                                                                • Place bash filename.sh in /etc/xdg/lxsession/Lubuntu/Autostart file) and have pcmanfm to autostart up to my most commonly used directory (pcmanfm pcmanfm /media/a/LG/AC/Learn/).


                                                                              Again, hope everyone can learn from my mistake. Definitely do not put regular cli commands directly into Autostart and expect them to execute normally, neither my desktop background, pcmanfm preferences (specifically the directory would open in icon view rather than my preference which is detailed view), nor my symbolic links loaded each time after bootup, and I was left with a desolate gray screen.



                                                                              As soon as I deleted the cli commands and replaced it with bash file names, everything went back to normal.







                                                                              share|improve this answer















                                                                              share|improve this answer




                                                                              share|improve this answer








                                                                              edited Dec 23 '13 at 9:17









                                                                              Exeleration-G

                                                                              4,20710 gold badges48 silver badges90 bronze badges




                                                                              4,20710 gold badges48 silver badges90 bronze badges










                                                                              answered Dec 23 '13 at 5:06









                                                                              afc888nyafc888ny

                                                                              852 silver badges7 bronze badges




                                                                              852 silver badges7 bronze badges
























                                                                                  0


















                                                                                  I followed Exeleration-G's graphical plan for adding VirtualBox in autostart.
                                                                                  I expected it to work when I logged out and in again, but the first time it didn't. I rebooted the computer and it started right up. Ever since then, it loads when I log out and log back in again even when I closed V'Box before logging out.



                                                                                  I am using Lubuntu 16.04 LTS.






                                                                                  share|improve this answer






























                                                                                    0


















                                                                                    I followed Exeleration-G's graphical plan for adding VirtualBox in autostart.
                                                                                    I expected it to work when I logged out and in again, but the first time it didn't. I rebooted the computer and it started right up. Ever since then, it loads when I log out and log back in again even when I closed V'Box before logging out.



                                                                                    I am using Lubuntu 16.04 LTS.






                                                                                    share|improve this answer




























                                                                                      0














                                                                                      0










                                                                                      0









                                                                                      I followed Exeleration-G's graphical plan for adding VirtualBox in autostart.
                                                                                      I expected it to work when I logged out and in again, but the first time it didn't. I rebooted the computer and it started right up. Ever since then, it loads when I log out and log back in again even when I closed V'Box before logging out.



                                                                                      I am using Lubuntu 16.04 LTS.






                                                                                      share|improve this answer














                                                                                      I followed Exeleration-G's graphical plan for adding VirtualBox in autostart.
                                                                                      I expected it to work when I logged out and in again, but the first time it didn't. I rebooted the computer and it started right up. Ever since then, it loads when I log out and log back in again even when I closed V'Box before logging out.



                                                                                      I am using Lubuntu 16.04 LTS.







                                                                                      share|improve this answer













                                                                                      share|improve this answer




                                                                                      share|improve this answer










                                                                                      answered Jan 7 '18 at 22:00









                                                                                      BuckBuck

                                                                                      5353 gold badges8 silver badges22 bronze badges




                                                                                      5353 gold badges8 silver badges22 bronze badges































                                                                                          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%2f81383%2fhow-can-i-add-new-autostart-programs-in-lubuntu%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

                                                                                          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                                                                                          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                                                                                          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü