View previous topic :: View next topic |
Author |
Message |
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Sat Mar 06, 2004 10:39 pm Post subject: openbox + autostart |
|
|
hi,
where the hell do i put the stuff i want to be started along with openbox???
greetz
eeknay _________________ Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering." |
|
Back to top |
|
|
slarti` Retired Dev
Joined: 20 Sep 2003 Posts: 376 Location: UK
|
Posted: Sat Mar 06, 2004 10:47 pm Post subject: |
|
|
I don't know if Openbox3 has it's own startup file, but you can certainly put entries in your .xinitrc, if you use startx or xinit to start xfree. If you use gdm/kdm/some other login manager, just add it to /etc/X11/Sessions/openbox (or whatever the openbox entry is called in there).
The syntax is standard shell scripting. _________________ Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace |
|
Back to top |
|
|
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Sat Mar 06, 2004 10:58 pm Post subject: |
|
|
doh! that wasn't too much of a problem, I forgot about that.
anyways, thanks for the quick reply.
eeknay _________________ Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering." |
|
Back to top |
|
|
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Sat Mar 06, 2004 11:12 pm Post subject: |
|
|
hm, if i was to set a backgroundimage in my .xinitrc, how would i do this? and how do i run apps? like starting the wm (exec?)
eeknay _________________ Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering." |
|
Back to top |
|
|
slarti` Retired Dev
Joined: 20 Sep 2003 Posts: 376 Location: UK
|
Posted: Sun Mar 07, 2004 11:54 am Post subject: |
|
|
Your .xinitrc should start with any settings for X (xset etc), then your window manager, then any apps to be loaded, etc, then your hang point. You can mess around with the order a bit, but this is generally the best.
Code: | # window manager
fluxbox & wmpid=$!
#load this to have gtk2 apps look ok
GSDPID=`pidof gnome-settings-daemon`
if [ "x$GSDPID" == "x" ]; then
gnome-settings-daemon &
fi
# apps to start
xmms
aterm
# set wallpaper
feh --bg-scale /path/to/wallpaper.png
# hang point
wait $wmpid |
_________________ Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace |
|
Back to top |
|
|
|