May 25, 2008

Make a startup script on Fluxbox

Well, Fluxbox a light weight window manager. Wondering on how to make a startup script for Fluxbox WM on Ubuntu? Well there is a script/file called Xsession for GNOME WM as a startup script. So with Fluxbox, the file is called xinitrc.

How can you do this? It's simple to start an application on Ubuntu Fluxbox start up. Here is some steps using terminal as a start:
  • Open up terminal and touch a file name ".xinitrc"
touch ~/.xinitrc
  • Then make some script to run the application you like such as nm-applet, pidgin, xchat and etc.
nano ~/.xinitrc
  • When the editor open up, just type the command you would like to run. Here is my xinitrc:
session.screen0.rootCommand: fbsetbg -l
export SHELL=/bin/zsh
export LC=C
export LC_ALL=C
fluxbox &
sleep 4 &&
wait $WMPID
xset +fp /home/gunblade/.fonts
So you can add what ever application that you would like to run on startup, but if there is any root privileges type of application, then you need to do some tricks to make it work.

Thank you for your unbelievable support on Negative Zero - Permission to read and write blog for nearly 4 years. Don't forget to like Negative Zero on Facebook. Blog Directory

Post(s) you might like to read :



Post a Comment