X and Fluxbox :: resolution, wallpaper, styles, translucency



nm figured it out!!
I have a hd install and i can get the background to change but after reboot it goes back to the styles image....how do u keep the same background image?? Thanks

Billsrock61

There are basically three ways that I know to set the background in Fluxbox:
1) rootCommand in a style file.  This sets the background each time you load a style, according to whatever is listed on the rootcommand line for a specific stylefile.
2) rootCommand line in .fluxbox/init.  This is the same as in a style file, although it overrides the style file...it will set the background to the same thing regardless of what is in a style.
3) Manually setting the background after Fluxbox loads, either on the commandline or in a script.

Probably the most common way to make a persistent background is by modifying a style file.  Find a style you like and copy it into .fluxbox/styles (use a new name so you can easily find it in the fluxbox menu).  Then edit the rootCommand line to set your background the way you want it.  Choose this copied style from the menu, and you should be all set.  I'm not certain, but you may need to reload or reconfigure Fluxbox in order to see the new style in the menu.

Quote (mikshaw @ April 18 2005,10:24)
Well, one way is to remaster...which of course was mentioned in your other thread.  An alternative to a full remaster (if you just want to add files instead of removing) is to rebuild the ISO with one or more mydsl or backup archives added.
mount the ISO: sudo mount -o loop dsl-1.0.1.iso /mountpoint
Replace "/mountpoint" with a path to where you want to mount it.
Copy the contents of /mountpoint onto a harddrive somewhere.
Add a backup.tar.gz (or a mydsl extension including your backups) to the root of the same directory into which you copied the ISO contents.
CD into that directory and rebuild the ISO:
mkisofs -r -l -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o /path/to/new_DSL_CD.iso ./

Another possibility is to back up onto a floppy (fd0) or usb device (sda1?)...something small and portable.

Mikshaw,
I've tried your mkisofs idea and now I'm lost and my iso is in pieces. :( I was able to mount the iso no problem (now all of the pieces are in a folder named "CustomDSL1.0.1.iso" except for the iso image dsl-1.0.1.iso), I added files:

-quote
"Add a backup.tar.gz (or a mydsl extension including your backups) to the root of the same directory into which you copied the ISO contents."

I then cd into that directory:  
#cd /home/d/Desktop/DSL/CustomDSL1.0.1.iso

Then I attempted to rebuild the ISO using:
-quote
" mkisofs -r -l -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o /path/to/new_DSL_CD.iso ./ "

my "path to new dsl cd" is:
/home/d/Desktop/DSL/CustomDSL1.0.1.iso

Right so far?

Here's the problem,  running that mkisofs command returns an error:

" mkisofs: Is a directory. Unable to open disc image file. "



:O  :O

Your new ISO path need fixing.  You're creating an ISO from the contents of /home/d/Desktop/DSL/CustomDSL1.0.1.iso/ (a directory), which is correct.  However, the new ISO needs to be a regular file and *not* a directory.  You need to specify a different path for your new ISO.  You should also keep in mind that the ISO will be created from the contents of /home/d/Desktop/DSL/CustomDSL1.0.1.iso, so your new ISO should *not* be created inside that same directory.

Just to be a little more clear about the mkisofs command,
"-o /path/to/new_DSL_CD.iso" is the new ISO file being created, the output filename.
"./" is the current directory, where the files will be found for creating the ISO (input).
To avoid confusion, I'd drop the ".iso" from the directory name.
After you cd into /home/d/Desktop/DSL/CustomDSL1.0.1, you'd do this:
mkisofs -r -l -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o ../CustomDSL1.0.1.iso ./
That will create the ISO on the same level as the ISO directory rather than inside it, so you'd have this in /home/d/Desktop/DSL:
CustomDSL1.0.1 (a directory)
CustomDSL1.0.1.iso (the new ISO file)

As an extra bonus, before you build the ISO, you can create a directory called "/home/d/Desktop/DSL/CustomDSL1.0.1/optional" where you can put additional myDSL applications that you don't want to automatically load.  During boot, DSL will build a new submenu in the fluxbox menu that contains these extensions...just click the menu item for a particular package you want to install.

Next Page...
original here.