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"
- Then make some script to run the application you like such as nm-applet, pidgin, xchat and etc.
- When the editor open up, just type the command you would like to run. Here is my xinitrc:
#!/bin/shSo 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.
session.screen0.rootCommand: fbsetbg -l
sleep 4 &&
xset +fp /home/gunblade/.fonts