iamchilled1
01-17-2003, 10:27 AM
I'm new to using fluxbox. how do you change the background image? I think I've looked through all the menus. I just don't see it. I'm sure it is simple. any help is appreciated. thanks
Mike
Mike
|
Click to See Complete Forum and Search --> : fluxbox background iamchilled1 01-17-2003, 10:27 AM I'm new to using fluxbox. how do you change the background image? I think I've looked through all the menus. I just don't see it. I'm sure it is simple. any help is appreciated. thanks Mike Hayl 01-17-2003, 10:50 AM its in ~/.fluxbox/ in one of the files - i cant remember the name. it's "rc" in Openbox. it has a rootcommand option at the end and that is where the background is set. it uses esetroot, bsetbg, or one of those to do it. it's not a menu option in any of the "box" window managers. shadowrider 01-17-2003, 10:52 AM i use bsetbg (and i'm not in my linux box), but you'd do something like session.screen0.RootCommand: bsetbg -f [path of where the background is stored] under ~/.fluxbox/init you can check the command with the other commands as they're similar, then just specify the bsetbf. i'm sure there are many ways to do this, and you can refer to fluxbox (http://www.fluxbox.org/docbook/en/html/c572.html) for more details joesbox 01-17-2003, 11:14 AM a non perment fix is to go into terminal and type Esetroot <path to background> you can find all of the options by typing Esetroot --help. this should help but you will want to go into /etc/fluxbox/.xsession and put in this command. Can O' Beans 01-19-2003, 03:03 AM There was a script posted to the Gentoo forums that I use. You run it, it then searches a set directory for background files, and updates my "Backgrounds" menu with a current list of all background files available. All I have to do is then click that image name in the menu & it sets my background. :) This is for a Gentoo install, which uses a "Commonbox" directory to share settings between the *box WMs, so you'll have to adjust accordingly. This is an old post, but it helped me out. I used Wimac's script, but edited it to work with the default settings in the current Fluxbox - just basically changing a few of my own custom dirs, and switching his "bgMenu" to Flux's default "imagebgmenu" - as well as chaning "[submenu] (backgrounds)" to include a "{choose background...}" #!/bin/bash PIC_DIR=/usr/share/commonbox/backgrounds SEARCH_PICS=/usr/share/commonbox/backgrounds # # background display type for Esetroot: -fill -scale -center -mirror #ie, how you want pic dislplayed ESETTYPE=-scale BGMENU_PLACE=/usr/share/commonbox find $SEARCH_PICS -name '*.jpg'; find $SEARCH_PICS -name '*png'; find $SEARCH_PICS -name '*bmp'; rm $BGMENU_PLACE/imagebgmenu rm $BGMENU_PLACE/imagebgmenu.tmo echo -e "[submenu] (Backgrounds) {Choose background...}" >> $BGMENU_PLACE/imagebgmenu.tmo for JPEG in $PIC_DIR/*.jpg do echo -e "[exec] ($JPEG) {Esetroot $ESETTYPE $JPEG}" >> $BGMENU_PLACE/imagebgmenu.tmo done for PNG in $PIC_DIR/*.png do echo -e "[exec] ($PNG) {Esetroot $ESETTYPE $PNG}" >> $BGMENU_PLACE/imagebgmenu.tmo done for BMP in $PIC_DIR/*.bmp do echo -e "[exec] ($BMP) {Esetroot $ESETTYPE $BMP}" >> $BGMENU_PLACE/imagebgmenu.tmo done echo -e "[end]" >> $BGMENU_PLACE/imagebgmenu.tmo #this takes the directory part of the file name out of the menu #after the first ( put the PIC_DIR, but put \ b4 each / in the dir name to delimitit it # ie /home/war_pig/ becomes \/home\/war_pig\/ sed -e 's/(\/usr\/share\/commonbox\/backgrounds\//(/g' $BGMENU_PLACE/imagebgmenu.tmo >> $BGMENU_PLACE/imagebgmenu echo "done" exit 0 This will make your backgrounds list in the default Settings -> backgrounds menu option. You will just have to rerun the script when you add backgrounds. Pinksta 01-19-2003, 10:28 PM Go find a background image that fits your resolution and then but it in /home/(usernamehere)/.fluxbox/background(s) <not sure if there is an "s" or not there. Now just go into your konsole and type: bsetbg -f /home/(usernamehere)/.fluxbox/background(s)/backgroundimagenamehere and it will load your background. To make it full screen though there is a file you need to edit but I cant remember the file name :( But that command should load up your background image. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |