Ghil Vertefeuille Posted March 26, 2004 Report Share Posted March 26, 2004 (edited) How can I change the wallpaper? I have some icons but...How can I change the image? how do I save my fbdesk settings so the icons stays after reboot? :P Edited March 26, 2004 by Ghil Vertefeuille Quote Link to comment Share on other sites More sharing options...
phunni Posted March 26, 2004 Report Share Posted March 26, 2004 To change the image - install Eterm and use Esetroot. Can't help you with the rest as I don't use icons with fluxbox - seems to defeat the object of using fluxbox to me... Quote Link to comment Share on other sites More sharing options...
william Posted March 26, 2004 Report Share Posted March 26, 2004 (edited) Why don't you install the CVS version (very easy to install) it comes with many improvements and support to pixmap styles. As you can see here, there's an option in the menu to change backgrounds on the fly. For fluxbox related issues you can also find some help, themes and tricks here. I'm at work at this moment, but if you want I can post here a tutorial on how to generate menus with -B option, which will give you the possibility of changing backgrounds on the fly. (there are also some scripts to do that, etc) Good luck editted: and for the icon issue, have you tried to insert the command that loads fbdesk in you .xinitrc file? Edited March 26, 2004 by william Quote Link to comment Share on other sites More sharing options...
Ghil Vertefeuille Posted March 26, 2004 Author Report Share Posted March 26, 2004 thanks for your help! I have the mdk cooker version wich is 0.9x (the CVS had the same last time I checked) but it has a menu that was customized by mdk. I set the wallpaper using the .cfg of my theme but if there is an other way, please let me know :P Quote Link to comment Share on other sites More sharing options...
aru Posted March 26, 2004 Report Share Posted March 26, 2004 How can I change the wallpaper? Here is a portion of the script I use on fluxbox startup that displays on each boot a different wallpaper choosed from a X-resources directory: function wallpaperRandom () { # Random wallpaper. # on mandrake I use xli on debian, in mdk I use wmsetbg # wallpaper_cmd="${Xdir}/wmsetbg -s " wallpaper_cmd="${Xdir}/xli -onroot" # -fork" images_dir="${HOME}/xresources/backgrounds/" images_filter="*.jpg" error='Problems running ${wallpaper_cmd}' images_list=($(/bin/ls ${images_dir}/${images_filter})) image=${images_list[$((${RANDOM}%${#images_list[@]}))]} ${wallpaper_cmd} ${image} || echo ${error} >&2 } # run the wallpaper function: wallpaperRandom & Place this code in your fluxbox startup script and enjoy. Also you can use this code with little modification to display a random wallpaper every N minutes. If you don't have a startup script, create a new one and call it from .fluxbox/init as (in my case): session.screen0.rootCommand: ~/.fluxbox/fluxboxrc & HTH Quote Link to comment Share on other sites More sharing options...
Ghil Vertefeuille Posted March 26, 2004 Author Report Share Posted March 26, 2004 I have one. thanks, this is great stuff! :D Quote Link to comment Share on other sites More sharing options...
william Posted March 26, 2004 Report Share Posted March 26, 2004 Ghil: As I told you, I'm using the CVS version and I use fluxbox-generate_menu -B in order to change backgrounds on the fly: 1 ) create a folder named "backgrounds" in your ~/.fluxbox directory; 2 ) copy (symlink doesn't worked with me) the wallpapers to backgrounds folder (i have more than 30 wallpapers); 3 ) open terminal and type: fluxbox-generate_menu -B Your are done, just restart fluxbox and the background item will be there on the menu. You can also try fluxbox-generate_menu -help to check the options you have. This trick also change backgrounds at random if you want (not on the startup, but with the system already loaded) Quote Link to comment Share on other sites More sharing options...
bvc Posted March 27, 2004 Report Share Posted March 27, 2004 Searching the board for any date with Esetroot will explain it all to ya. Quote Link to comment Share on other sites More sharing options...
Ghil Vertefeuille Posted March 27, 2004 Author Report Share Posted March 27, 2004 thank uuu! :P ok now the icons....how can I change the image? :S Quote Link to comment Share on other sites More sharing options...
iphitus Posted March 27, 2004 Report Share Posted March 27, 2004 take a look at www.fluxmod.dk And please everyone, the standard for setting wallpaper in fluxbox is fbsetbg, i know im being a bit pedantic and all as it calls other programs but its what is the main suggestion. He may already have chbg installed so what's the point of installing Eterm to get Esetroot?. ANyway, for the icons i reccoment idesk. FBdesk has never agreed with me. Take a look at www.fluxmod.dk and check out the tutes there Quote Link to comment Share on other sites More sharing options...
william Posted March 27, 2004 Report Share Posted March 27, 2004 (edited) Have a look here You should have a file named bdesk.iconFile in your fbdesk dir bdesk.iconFile: filename to icon file (default: ~/.fluxbox/icons) Icon file format: # this is a comment # Start of one icon entry [Deskop Entry] Icon=the image filename Name=the icon label Exec=what it executes Pos= 123 456 # position of the icon [end] # end of one icon entry 1 ) Insert the entire path to your icons folder with the file's name and extension. 2 ) Restart x Notice that I don't use fbdesk, so not sure if it will work. Edited March 27, 2004 by william Quote Link to comment Share on other sites More sharing options...
Ghil Vertefeuille Posted March 27, 2004 Author Report Share Posted March 27, 2004 ok and how do I have the terminals like you do? (placed and transparent...I have eterm transparent but it shows up in the middle.. :S) thanks again :P Quote Link to comment Share on other sites More sharing options...
william Posted March 27, 2004 Report Share Posted March 27, 2004 [exec] (Eterm) {Eterm --trans -g 70x35+0+350 -b black -f honeydew2 -x --bordless --scrollbar=off --buttonbar=0 -c grey89 --font anorexia} that's the position and size: -g 70x35+0+350 . Now you can tip me, man!!! Quote Link to comment Share on other sites More sharing options...
Ghil Vertefeuille Posted March 27, 2004 Author Report Share Posted March 27, 2004 sorry but I don't know what tip me means, I'm french so...but if it's like to copy you, I'd say no, I have the same thing on KDE, juste didn't know how to do it in Flux (in KDE it got this way automatically) thank you for your time :D Quote Link to comment Share on other sites More sharing options...
william Posted March 27, 2004 Report Share Posted March 27, 2004 sorry but I don't know what tip me means, I'm french so... I'm a Brazilian, so english isn't my mother language either, and maybe I haven't made myself understood. Actually, I was just kidding with you, what I meant to say was something like, "give me some money" for the given help. B) What about the backgrounds, icons and terminal. Let us know if you succeeded in making it work!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.