You are not logged in.

#1 2008-08-05 16:55:30

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

autostart in openbox doesn't work ...

hi guys,
i recently set up a nice and plain system using kde4 and openbox. everything's working fine except the autostart feature in openbox. i edited the autostart.sh and .xinitrc files several times, but none of my tries were successful hmm

i'm trying to start conky, pypanel and feh after openbox has loaded. Login manager is slim.

autostart.sh

#!/bin/bash
. $GLOBALAUTOSTART
eval `cat $HOME/.fehbg` &
(sleep 2 && pypanel) &
(sleep 2 && conky) &

.xinitrc (furthermore i don't know if this file is even relevant towards openbox, because i start openbox from slim!?)

#!/bin/sh
exec openbox

/etc/slim.conf (if needed)

default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/bin
default_xserver     /usr/bin/X                              
xserver_arguments   -nolisten tcp vt07 
                     
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"                                                                                                 
                                                                           
xauth_path         /usr/bin/xauth 
authfile           /var/run/slim.auth
numlock             on                                   
  
login_cmd           exec /bin/bash -login ~/.xinitrc openbox
sessions            openbox                                   

screenshot_cmd      import -window root /slim.png
welcome_msg         Welcome to %host

shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

default_user        arch0r

current_theme       default

lockfile            /var/lock/slim.lock
logfile             /var/log/slim.log

Thanks in advance and best regards,
arch0r cool

Offline

#2 2008-08-05 17:08:23

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: autostart in openbox doesn't work ...

you need to use

exec openbox-session

to use the ~/.config/openbox/autostart.sh file.

Offline

#3 2008-08-05 17:38:52

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: autostart in openbox doesn't work ...

always those preventable mistakes, arrgh!

thank you a lot!

Offline

Board footer

Powered by FluxBB