User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

auto start xsession program

Tue Sep 17, 2013 1:57 am

I have successfully installed and ran the default RASPBIAN OS. There is no .xinitrc or similar file in my home directory. Where do I place a command so that the Yakuake terminal program will automatically start with a xsession?

What would be even better is have the links or scripts in a "Autostart" directory be able to be run.

User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

Re: auto start xsession program

Fri Sep 20, 2013 1:33 am

ednl wrote:First google hit for "lxde autostart" was good: http://wiki.lxde.org/en/Autostart
Just wanted to thank you.
It took a little bit to figure it out but I got it working.
1) create directory ~/.config/autostart
2) copy xx.desktop file from /usr/share/applications to ~/.config/autostart

to run a script you can make your own xx.desktop file

[Desktop Entry]
Encoding=UTF-8
Name= Connect
Comment=Checks internet connectivity
Exec=lxterminal --command "path/to/script/<script name>.sh"
Terminal=true

Return to “Beginners”