I have a newly installed Lubuntu 14.04.
When I click on Preferences - Default applications for LXSEssion, I get a gonfiguration window.
I click on the autostart tab and added a manual autostarted application and enterred:
/home/randy/.config/connectr.sh
I have also tried making it this:
/bin/bash /home/randy/.config/connectr.sh
How do I run a bash script with LXSession at boot?
How do I run a bash script with LXSession at boot?
Linux noobie -Tech Oldie - Migrating from Years w XP + Classic Desktop to Lubuntu 14.04
Re: How do I run a bash script with LXSession at boot?
so where is the problem?
is the script connectr.sh executable?
is the script connectr.sh executable?
-
- Posts: 2
- Joined: Sun Aug 10, 2014 6:31 pm
Re: How do I run a bash script with LXSession at boot?
Isnt the proper way of doing this to make a .desktop shortcut pointing to the script you wish to run and place the .desktop shortcut in one of two locations depending on if you want it to run for just one user or all users
place the .desktop shortcut in "~/.config/autostart/" for just a single user
place the .desktop shortcut in "/etc/xdg/autostart/" for all users
place the .desktop shortcut in "~/.config/autostart/" for just a single user
place the .desktop shortcut in "/etc/xdg/autostart/" for all users