Restore BackgroundForum: Other Help Topics Topic: Restore Background started by: sunburnt Posted by sunburnt on Feb. 12 2005,04:08
I know you`ve answered this about a million times!Want to restore my background wallpaper on bootup. Made directory: /home/dsl/.fluxbox/backgrounds The proper line was already in the /home/dsl/filetool.lst Did a Backup from system menu. It didn`t do anything, seems I`m missing something... WHAT? Ran command: bsetbg -f /home/dsl/.fluxbox/backgrounds/waterfalls.jpg This put the JPG image on the desktop, but it`s gone on boot. I tried putting the above line in some of the startup scripts, to restore the background that way (seemed easer) no luck. Is there a boot script the bsetbg command could be put in, and I could add the file to filetool.lst to restore it? I`m using DSL ver. 0.91 and running off a USB flash drive. Posted by mikshaw on Feb. 12 2005,04:12
/home/dsl/.fluxbox/initThe "rootCommand" line should be edited to the image you want, and add init to filetool.lst This will set the background to the same thing, no matter what style you choose. If you want to change backgrounds with styles, then edit the styleFile line in init and leave the rootCommand blank. The root command should instead be changed in the style file. Posted by sunburnt on Feb. 12 2005,09:58
Thanks for the reply, I really appreciate the help!I edited the file "/ramdisk/home/dsl/.fluxbox/init" and changed the line to: "session.screen0.rootCommand: home/dsl/.fluxbox/backgrounds/Waterfalls.jpg" Then did a backup thru the popup menu. No change on bootup, and when I viewed the init file it hadn`t been restored, the added part was gone. The filetool.lst file has the line "home/dsl/.fluxbox/init" already in it. Looking in the root of the USB flash drive there was a "backup.tar.gz" file. Also the desktop style I set WAS restored. First: is the line in init file correct? Second: what`s the deal with the restore utility? Trouble with DSL v0.91? Also I noticed the line saying "session.doubleClickInterval: 250". Can I change the number at the end to 400 or so to lenghten the double click spacing? Posted by mikshaw on Feb. 12 2005,14:18
"First: is the line in init file correct?"no. You need to SET the background, and not just specify what bg to use. Try something like this: session.screen0.rootCommand: bsetbg -f /home/dsl/.fluxbox/backgrounds/Waterfalls.jpg "Second: what`s the deal with the restore utility?" Make sure you include the leading "/" in your paths. This specifies that you start at root rather than the current working directory (usually /home/dsl). If you use "home/dsl/.fluxbox/init", the script may try /home/dsl/home/dsl/.fluxbox/init, which doesn't exist. Use "/home/dsl/.fluxbox/init" instead. The same goes for paths used in any situation, such as the root command line in init. "Can I change the number at the end to 400 or so to lenghten the double click spacing?" Yes. This only works for window interaction, though, such as double-click to shade. It doesn't effect the double-click speed within applications. Posted by sunburnt on Feb. 12 2005,20:34
mikshaw; you da man!Is there a global double click setting for everything? Next I`ll be working on restoring firefox; bookmarks, history, plugins, extentions, and other settings. I`ve read about installing firefox, hopfully a second copy isn`t needed to restore all of its variable aspects. Hopfully what you`ve told me is most of what I need to know. |