chang desktop background pic


Forum: X and Fluxbox
Topic: chang desktop background pic
started by: hooji

Posted by hooji on Dec. 22 2003,12:15
try replacing the pics in the directory /usr/share/fluxbox
Posted by loupgarou21 on Dec. 29 2003,22:34
or you could leave the images in /usr/share/fluxbox intact and just change the line:
"rootCommand: qiv --root /usr/share/fluxbox/damn_c_icon.jpg"
in:
/usr/share/fluxbox/styles/Simple

there are actually a bunch of themes in there, you can choose which one you want to use by changing the line:
"session.styleFile: /usr/share/fluxbox/styles/Simple"
in:
~/.fluxbox/init

Posted by dscribner on Jan. 01 2004,07:18
Or, you could add the line:

session.screen0.rootCommand: bsetbg -f /path/to/pic.jpg

to your ~/.fluxbox/init file (replacing /path/to/pic.jpg with the correct path and filename, of course). Choose WindowManagers->Restart to see your new background.

This is convenient if you use a flash drive or some other writable medium with the DSL CD to store your personal and configuration files on. Keep one or two of your backgrounds somewhere in home, and include them (or their directory) in the filetool.lst file so they can be backed up and ready for the next restore.

Posted by DStrick64 on Jan. 03 2004,04:54
The simplest approach is to right click on your desktop and select FluxBox > Styles.  You will have about 25 or so already there to choose from.  If you don't see what you like, search FreshMeat and fluxmod and other Web sites for FluxBox (and BlackBox) themes and backgrounds.  Download them and put them in your ~/.fluxbox directory and they will show up in the right-click menu.  If you are creative you can make your own!
Posted by DStrick64 on Jan. 03 2004,04:57
oops!  correction - put them in your /usr/share/fluxbox/styles directory...
Posted by JimmyProton on Jan. 17 2004,00:46
I got a theme but I can't move the files to /usr/share/fluxbox, it tells me "Read only file system".
Posted by libretto on Jan. 17 2004,20:50
I had this as well

If you putting themes in /usr/share/fluxbox youll need to be root

also i found that you need to unapck the tar files in the /...../fluxbox directory, then all the files are put in the right place

Hope this helps:D

Posted by Rapidweather on Jan. 27 2004,05:23
Also, you need to be careful with the size of the image. Make sure you have one that will fit your screen. I used one that's too small, and fluxbox "blew it up" to fit my screen. What a mess! In webpages, HTML, the image you have for a background is tiled across the entire page, no so in fluxbox! Now I gotta go find one that fits!
Posted by peter on Jan. 27 2004,13:59
Go to < http://fluxbox.org >

There is a replacement script for bsetbg which will allow you to tile your images, centre them, use them full screen and so on. The link is on the right of the page under "Useful Tools". The script is called fbsetbg. I put mine in /usr/bin/  so it would be in my path: this way you can type the command regardless of which directory you are in. A symbolic link would do just as well, of course. Just make sure it is executable:  chmod +x

When you've got it working, type
Code Sample
fbsetbg -h

at the prompt and you will get a very clear and simple help message about  using it.

There are lots of other Fluxbox goodies on this site - highly recommended!

Posted by gekkokid on April 03 2004,16:07
how can i put my own desktop background into my super dsl machine (only super cos it now has dsl on it and works lmao :))?

i want to put 800x600 harry potter bg on it - cos my machine is called potter-popper :) lol

Posted by roberts on April 03 2004,16:44
As was pointed out in another thread the bsetbg under .fluxbox directory has an error. The error scales only width and not height. Actually width is listed twice, so the second one should be height. This is easily corrected, since it is in the home directory. Just edit the file .fluxbox/bsetbg  Note that bsetbg is really calling xsri. This has other options for you to use. At a shell prompt type xsri --help
So, even for a liveCD, you can use bsetbg and it will scale the image. Otherwise use the xsri directly and have more control of how the image is displayed. Then add that command to your .xinitrc

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.