You are not logged in.
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
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
Offline
you need to use
exec openbox-session
to use the ~/.config/openbox/autostart.sh file.
Offline
always those preventable mistakes, arrgh!
thank you a lot!
Offline