fluxbox – sticky wonder

i loved fluxbox when i first installed it….
low on resources pretty neat to look at….
here is the sticky think i found…thought to share here too…

basically it lets any application of your wish to stay on top….

if you right click anytime on application taskbar and check the sticky option for the application then any application say firefox for instance stays across workspaces....so that when you switch to a terminal say in another workspace you still have this firefox as a side tab along with the other existing tabs you had in it as well....

no cut of flow also….its way too cool….
thats from the front end….

cli mode:
there is a directory in the home directory of current user namely fluxbox hidden so its .fluxbox....browse the files in it you'd be amazed at the options available....
well the file in concern for us is the apps file which has application window settings saved across sessions....
open the file and add this piece of line to make sticky stick

[app] (name=firefox)
[Sticky] {yes}
[end]

i think for low memory footprint and decent usage fluxbox, a fork of blackbox is a nice window manager to have…..

setting wallpaper in my fluxbox window manager


simply executing the below command will set your wallpaper immediately but caution you wont have it when you re-login again:

fbsetbg -f /path/to/wallpaper/thatsmywpbaby.jpg

making it stick so that you have your wallpaper on every login:

well yes the right click choose wp and yes i have it option not present here….
 not to be disappointed….just setting a couple of lines and you are good to go…
 
now open a favorite text editor in console and open the init file present in .fluxbox in the user’s home directory with write permission….

# nano /home/username/.fluxbox/init

 
add this line to it….

session.screen0.rootCommand: fbsetbg -l

fbsetbg -l means to set the last wallpaper

 
you can close this file now safely writing the changes to it…..now we go to add a line to one more file and we are done….
you must have guessed it…there is the last wallpaper file in there too….open it up now and set the file you wish to as your wallpaper….

# nano /home/username/.fluxbox/lastwallpaper

if it doesnt exist make a new file with the same name as mentioned i.e. lastwallpaper….
then add the below line to it….

fbsetbg -f /path/to/wallpaper/thatsmywpbaby.jpg

logout and login and you are done…

you can do a man fbsetbg for more info from the man pages….
-f option for fullscreen i.e. use the full screen for the wallpaper about to be set….

happy slacking!!!