SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-09 16:36:51

polybius
Member
Registered: 2012-05-09
Posts: 4

Application Auto Start Command Line Only

I have SliTaz running in command line only and auto logging in as a user. How can I auto launch an application right after login? Openbox/autostart.sh doesn't seem to work as I'm guessing it's only for GUI based start up. Also, how can I initialize a new harddrive I just added?

Thanks!

Offline

#2 2012-08-09 16:48:31

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Application Auto Start Command Line Only

Try using .profile in your home directory. It should launch commands after cli logins.

Offline

#3 2012-08-09 17:13:39

polybius
Member
Registered: 2012-05-09
Posts: 4

Re: Application Auto Start Command Line Only

Pefect! Thanks!

Offline

#4 2012-08-11 16:21:11

chenzhen_li
Member
Registered: 2012-07-24
Posts: 20

Re: Application Auto Start Command Line Only

Hi, i try to use this in .profile and autostart.sh of openbox (.config/openbox/autostart.sh)

(killall xcompmgr && sleep 5 && xcompmgr -c -r -f 10) &

Never works!!!, but never, i reboot 15 times and nothing happend, why?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]