saving background pic


Forum: DSL Tips and Tricks
Topic: saving background pic
started by: Bilal

Posted by Bilal on May 29 2006,01:19
hi,

ok here is the thing, i have a background pic that i like.. called tuxwin.jpg. so i know how to change the desktop theme and then save the configurations.

but when i reboot and use restore=sda2 i get the configurations back which is good but not the background that i wanted. the pic is in sda2 too.

please help ,

thanks

Posted by kerry on May 29 2006,01:50
Did you add the background to the theme?
example: somewhere in your theme style there should be a line that looks something like this.

rootCommand: xsri --scale-width=100 --scale-height=100 ~/.fluxbox/backgrounds/endlessblue.jpg

change to

rootCommand: xsri --scale-width=100 --scale-height=100 ~/.fluxbox/backgrounds/tuxwin.jpg

Then the theme will set the background> < http://img139.imageshack.us/img139/3741/modified9pg.png >

Posted by Bilal on May 29 2006,01:55
ill try that ,

thanks

Posted by mikshaw on May 29 2006,02:07
You can also use the wallpaper app to permanently install a specific image regardless of which style you use.  Select the image and then click the "Install" button.
Posted by kerry on May 29 2006,02:35
If you do mikshaw's way make sure you make a copy of .fluxbox/init first. I have had a few times were it deleted the init so it was just blank.
Posted by Bilal on May 29 2006,02:37
ill try the second one ... as the first didnt work .. i coppied the image into .fluxbox/backgrounds .. then used the tool and set it and i thought that is it.

hmm..

what is the background name .. it is cool + i noticed ur running somthing else that shows icons on top of the down. where did u get that .

cool

Posted by kerry on May 29 2006,02:52
background name is same as yours "tuxwin.jpg" that's what i thought you was using. I'm not sure i understand your second question. I just changed the icons to ones i pulled from osl icons.
Posted by kerry on May 29 2006,03:11
Here for your collection, just right click>save as->
< http://img512.imageshack.us/img512/7624/tuxwin7lp.jpg >
< http://img512.imageshack.us/img512/9029/endlessblue0qg.jpg >
< http://img512.imageshack.us/img512/5924/3d2un.jpg >
< http://img45.imageshack.us/img45/720/fluxbox1dz.png >

Posted by kerry on May 29 2006,03:16
I only use to 2 styles, you can copy and paste to a new text file->

style.name: Fizzure2
style.author: snkmchnb
edited by SaidinUnleashed
style.date: 08.23.2005
style.comments: changed gradient color to matc the xmms theme

toolbar: raised gradient vertical
toolbar.color: #fefefe
toolbar.colorTo: #a6a6a6
toolbar.justify: center
toolbar.textcolor: #000000
toolbar.roundCorners: TopRight TopLeft BottomRight BottomLeft
toolbar.button: raised gradient vertical
toolbar.button.color: #fefefe
toolbar.button.colorTo: #a6a6a6
toolbar.button.picColor: #000000
toolbar.button.pressed: sunken gradient diagonal
toolbar.button.pressed.color: #a6a6a6
toolbar.button.pressed.colorTo: #fefefe
toolbar.shaped: TRUE
toolbar.clock: sunken gradient vertical
toolbar.clock.color: #4184de
toolbar.clock.colorTo: #2152c5
toolbar.clock.textColor: #fefefe

toolbar.label: sunken gradient vertical
toolbar.label.color: #4184de
toolbar.label.colorTo: #2152c5
toolbar.label.textColor: #fefefe

toolbar.windowLabel: sunken gradient vertical
toolbar.windowLabel.color: #4184de
toolbar.windowLabel.colorTo: #2152c5
toolbar.windowLabel.textColor: #fefefe

menu.title: sunken gradient vertical
menu.title.color: #4184de
menu.title.colorTo: #2152c5
menu.title.textColor: #fefefe
menu.title.justify: center

menu.frame: raised gradient vertical
menu.frame.color: #fefefe
menu.frame.colorTo: #a6a6a6
menu.frame.textColor: #000000
menu.frame.justify: left

menu.hilite: sunken gradient vertical
menu.hilite.color: #4184de
menu.hilite.colorTo: #2152c5
menu.hilite.textColor: #fefefe
menu.roundCorners: TopRight TopLeft BottomRight BottomLeft
menu.bullet: circle
menu.bullet.position: right

window.justify: center

window.title.focus: raised gradient vertical
window.title.focus.color: #fefefe
window.title.focus.colorTo: #a6a6a6
window.title.unfocus: raised gradient vertical
window.title.unfocus.color: #fefefe
window.title.unfocus.colorTo: #a6a6a6

window.label.focus: sunken gradient vertical
window.label.focus.color: #4184de
window.label.focus.colorTo: #2152c5
window.label.focus.textColor: #fefefe
window.label.unfocus: parentrelative
window.label.unfocus.color: #fefefe
window.label.unfocus.colorTo: #a6a6a6
window.label.unfocus.textColor: #000000

window.button.focus: raised gradient vertical
window.button.focus.color: #fefefe
window.button.focus.colorTo: #a6a6a6
window.button.focus.picColor: #000000
window.button.unfocus: raised gradient vertical
window.button.unfocus.color: #fefefe
window.button.unfocus.colorTo: #a6a6a6
window.button.unfocus.picColor: #000000
window.button.pressed: sunken gradient diagonal
window.button.pressed.color: #a6a6a6
window.button.pressed.colorTo: #fefefe

window.frame.focusColor: #a6a6a6
window.frame.unfocusColor: #a6a6a6

window.handle.focus: raised gradient vertical
window.handle.focus.color: #fefefe
window.handle.focus.colorTo: #a6a6a6
window.handle.unfocus: raised gradient vertical
window.handle.unfocus.color: #fefefe
window.handle.unfocus.colorTo: #a6a6a6

window.grip.focus: sunken gradient vertical
window.grip.focus.color: #4184de
window.grip.focus.colorTo: #2152c5
window.grip.unfocus: raised gradient vertical
window.grip.unfocus.color: #fefefe
window.grip.unfocus.colorTo: #a6a6a6

borderColor: #a6a6a6

bevelWidth: 2
borderWidth: 1
handleWidth: 5
window.roundCorners: TopRight TopLeft BottomRight BottomLeft
*Font:                          -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*

rootCommand: xsri --scale-width=100 --scale-height=100 ~/.fluxbox/backgrounds/endlessblue.jpg


And the second->


style.name: fluXbox
style.author:  
edited by
style.date:
style.comments:


toolbar.borderWidth: 3
toolbar: raised bevel gradient vertical
toolbar.color: #525252
toolbar.colorTo: #1e1e1e
toolbar.justify: center
toolbar.textcolor: #77c21d
toolbar.shaped: TRUE
toolbar.button: raised bevel gradient vertical
toolbar.button.color: #bddb01
toolbar.button.colorTo: #1f6612
toolbar.button.picColor: #000000
toolbar.button.pressed: sunken bevel gradient vertical
toolbar.button.pressed.color: #1e1e1e
toolbar.button.pressed.colorTo: #525252

toolbar.clock: raised bevel gradient vertical
toolbar.clock.color: #525252
toolbar.clock.colorTo: #1e1e1e
toolbar.clock.textColor: #77c21d

toolbar.label: raised bevel gradient vertical
toolbar.label.color: #525252
toolbar.label.colorTo: #1e1e1e
toolbar.label.textColor: #77c21d

toolbar.windowLabel: raised bevel gradient vertical
toolbar.windowLabel.color: #525252
toolbar.windowLabel.colorTo: #1e1e1e
toolbar.windowLabel.textColor: #77c21d

menu.title: raised bevel gradient vertical
menu.title.color: #525252
menu.title.colorTo: #1e1e1e
menu.title.textColor: #77c21d
menu.title.justify: center

menu.frame: raised bevel gradient vertical
menu.frame.color: #1e1e1e
menu.frame.colorTo: #525252
menu.frame.textColor: #77c21d
menu.frame.justify: left

menu.hilite: raised bevel gradient vertical
menu.hilite.color: #bddb01
menu.hilite.colorTo: #1e1e1e
menu.hilite.textColor: #000000

menu.roundCorners: topleft topright bottomright bottomleft

menu.bullet: triangle
menu.bullet.position: right

window.justify: center

window.title.height: 24

window.title.focus: raised bevel gradient vertical
window.title.focus.color: #525252
window.title.focus.colorTo: #1e1e1e
window.title.unfocus: raised bevel gradient vertical
window.title.unfocus.color: #525252
window.title.unfocus.colorTo: #1e1e1e

window.label.focus: raised bevel gradient vertical
window.label.focus.color: #bddb01
window.label.focus.colorTo: #1f6612
window.label.focus.textColor: #000000
window.label.unfocus: sunken bevel gradient vertical
window.label.unfocus.color: #2e2e2e
window.label.unfocus.colorTo: #616161
window.label.unfocus.textColor: #77c21d

window.button.focus: raised bevel gradient vertical
window.button.focus.color: #616161
window.button.focus.colorTo: #2e2e2e
window.button.focus.picColor: #77c21d
window.button.unfocus: raised bevel gradient vertical
window.button.unfocus.color: #616161
window.button.unfocus.colorTo: #2e2e2e
window.button.unfocus.picColor: #77c21d
window.button.pressed: sunken bevel gradient vertical
window.button.pressed.color: #1e1e1e
window.button.pressed.colorTo: #525252

window.frame.focusColor: #1e1e1e
window.frame.unfocusColor: #525252

window.handleWidth: 8

window.handle.focus: raised bevel gradient vertical
window.handle.focus.color: #616161
window.handle.focus.colorTo: #2e2e2e
window.handle.unfocus: raised bevel gradient vertical
window.handle.unfocus.color: #616161
window.handle.unfocus.colorTo: #2e2e2e

window.grip.focus: raised bevel gradient vertical
window.grip.focus.color: #bddb01
window.grip.focus.colorTo: #1f6612
window.grip.unfocus: raised bevel gradient vertical
window.grip.unfocus.color: #525252
window.grip.unfocus.colorTo: #1e1e1e

borderColor: #2e2e2e
window.roundCorners: TopRight TopLeft BottomRight BottomLeft
bevelWidth: 4
borderWidth: 1
handleWidth: 5

*Font:                          -*-helvetica-*-r-*-*-14-*-*-*-*-*-*-*

rootCommand: xsri --scale-width=100 --scale-height=100 ~/.fluxbox/backgrounds/3D.jpg

Posted by MDG on May 29 2006,03:29
2 noob questions:

I have a couple of .jpg that I would like to use as backgrounds.  Do I need to do any to them - certain size of picture or whatever before I copy to fluxbox/backgrounds?

Once I setup these backgrounds, I'd like to take a screen shot - I noticed in the menus there is "X snapshot."  I get a picture of my desktop saved as "myscreen.xwd" or something.  When I  view this with xpaint its all "green."  Any tips?

Kerry, I've seen your screenshots before - cool stuff.  I tried wmdrawer, but could not get make the icons show - just the question marks.  

MDG

Posted by kerry on May 29 2006,03:48
Hey MDG, no you don't need to change them, any .jpg or .png can be used(not sure about other formats). I've even used icon's just for fun. That X snapshot sucks, i use gimp to take snap shots, it works just like ksnapsot you can set a timer and "save as" any format you want(.jpg, .png, etc..). It's under file>aquire>screenshot in gimp. For wmdrawer you have to change the wmdrawerrc down at the bottom so they point to .png and .gif on mine i noticed the difference was in the spelling, like starting with capital when it should be lower case. They changes i made were just commenting(#) out the ones i don't want and adding my own.->

# Images directories
[images_paths]
/home/dsl/.xtdesktop
/home/dsl/.xtdesktop/icons

# A first column
# Each button must be defined with this syntax:
# (tooltip)  (image)  (command)
[column]

#(Sylpheed) (Sylpheed.png) (sylpheed)
#(Beaver) (Beaver.png) (beaver)
#(axyFTP) (Ftp.gif) (axyftp)

(MyDSL) (Mydslgui.png) (mydslPanel.lua)
(Emelfm) (Emelfm.gif) (emelfm)
(Terminal) (Aterm.png) (aterm -T "Bash" -e /bin/bash) #(rxvt -rv -fn fixed -cr yellow  -T "Bash" -e /bin/bash)
(DSLPanel) (Cpanel.png) (cpanel)
(Dillo) (Dillo.png) (dillo)
(Gimp)          (gimp-1.2.png)   (gimp)
# A second column
[column]

#(Xmms) (Xmms.png) (xmms)
#(RDesktop) (Rdesktop.png) (/usr/local/bin/rdesktop.lua)
#(VNCViewer) (Vnc.gif) (vncviewer)
#(Siag) (Siag.png) (siag)
#(Xpdf) (Xpdf.gif) (xpdf)
#(XPaint) (Xpaint.png) (xpaint)
#(XZGV Viewer) (Xzgv.png) (xzgv)
#(Xpdf) (Xpdf.gif) (xpdf)

(Rox)           (home.png)      (sh /opt/.start_rox)
(Drives)        (USB_Drive.png) (rox /mnt/)
(Rox Root)      (File Vault.png) (sudo rox)
(Gaim) (gaim.png) (/usr/bin/start_gaim)
(Firefox) (mozilla.png) (/usr/local/bin/firefox)
(Xkill)         (xkill3.png)    (xkill)

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