Change Desktop Background DSL 4.0


Forum: X and Fluxbox
Topic: Change Desktop Background DSL 4.0
started by: zakiakhmad

Posted by zakiakhmad on Nov. 13 2007,02:33
Hello

I'm trying to change the desktop background on DSL 4.0 with JWM. But I found that the file is on .xpm format (/usr/share/dfm/backgrounds/lance-blue.xpm)

How do I substitute with my own deskop background which is has .png format?

Posted by jpeters on Nov. 13 2007,04:26
Quote (zakiakhmad @ Nov. 12 2007,21:33)
How do I substitute with my own deskop background which is has .png format?

Why not convert it?  Try imagemagick.uci in testing.
Posted by zakiakhmad on Nov. 13 2007,08:02
Quote (jpeters @ Nov. 12 2007,23:26)
Why not convert it?  Try imagemagick.uci in testing.

I've convert it into .xpm But I am using GIMP. Hope it won't be a problem. And then, when I select my own picture, the desktop background is only become white.

Is there somethig wrong, I've done? /usr/share/dfm/backgrounds/lance-blue.xpm This the right directory isn't it to change desktop background on DSL 4.0?

Posted by roberts on Nov. 13 2007,13:26
In DSL v4.0 there are three subsystems that can control the background, dfm, jwm, fluxbox. The default is dfm. The .xpm image can be set with the options selection in the context menu on the root window. Anytime dfm starts it will control the background image. The image selected is stored in .dfminfo file.

If you choose not to have dfm control the image then you need to erase the selected image (lance blue) from dfm and  edit the appropriate section of the selected window manager, jwm is .jwmrc and for fluxbox it can be in the style or .fluxbox/init. You could also choose to have .xinitrc control the background image. In fact there is an example of such currently in .xinitrc. Using .xinitrc or fluxbox would allow using most standard image formats as the command to set the background is xsri. Look in .xinitrc for an example.

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