experchange > slackware

root (03-03-20, 06:06 PM)
I am running Slack 14.2 and am experimenting with Fluxbox. I would
like to change the desktop color from gray to either a picture
or some color. Google searches suggest several ways, none of
which work. I would have thought this would be one of the simplest
requests for a window manager.

I would appreciate any suggestions. Thanks.
Rich (03-03-20, 08:10 PM)
root <NoEMail> wrote:
> I am running Slack 14.2 and am experimenting with Fluxbox. I would
> like to change the desktop color from gray to either a picture
> or some color. Google searches suggest several ways, none of
> which work. I would have thought this would be one of the simplest
> requests for a window manager.
> I would appreciate any suggestions. Thanks.


For colors and or patterns look into the "xsetroot" command.

For images, most image viewers support adding an image to the root
background. I know that at least the "xv" command can add images to
the root background (boty by GUI or by straight CLI).
root (03-03-20, 09:56 PM)
Rich <rich> wrote:
> For colors and or patterns look into the "xsetroot" command.
> For images, most image viewers support adding an image to the root
> background. I know that at least the "xv" command can add images to
> the root background (boty by GUI or by straight CLI).


Thanks for responding Rich. I tried this command:
/usr/bin/fbsetroot -solid red

as a test. One of the sources suggested putting that in
a startup file which ended with the exec fluxbox command.
I tried the fbsetroot command both before and after the
exec fluxbox &
command. The only result is a momentary flash of red, then
the gray background pops up.

The documentation I have found suggested the fbsetroot command
to set the background black which did not work either. I
tried variations of the fbsetbg command with no greater
success.

Rather than screw around with a startup file I then tried
putting everything in my .xinitrc file which is organized like
this:

setup stuff

exec fluxbox &

additional stuff.

I want fluxbox to start with one or more xterms, so I put
an xterm command after the fluxbox:

fluxbox &
exec /usr/X11R6/bin/xterm -geometry 115x33+0+32 -sl 500 -rv -sb -fn -*-lucidatypewriter-bold-r-*-*-*-200-*-*-*-*-iso8859-* -ms yellow &

and that works. But putting the fbsetroot orfbsetbg commands after
the fluxbox command do not work.
andrew (03-03-20, 11:07 PM)
On 2020-03-03, root <NoEMail> wrote:

> I am running Slack 14.2 and am experimenting with Fluxbox. I would
> like to change the desktop color from gray to either a picture or
> some color.


I use a fairly low-budget method by having the following in the file
$HOME/.fluxbox/overlay:

background: aspect # or centered|tile
background.pixmap: /home/youruser/wallpapers/my_image.jpg

And simply change the image manually from time to time...

Andrew
root (03-04-20, 12:24 AM)
andrew <andrew> wrote:
> On 2020-03-03, root <NoEMail> wrote:
> I use a fairly low-budget method by having the following in the file
> $HOME/.fluxbox/overlay:
> background: aspect # or centered|tile
> background.pixmap: /home/youruser/wallpapers/my_image.jpg
> And simply change the image manually from time to time...
> Andrew


That works, thanks.
andrew (03-04-20, 05:17 AM)
On 2020-03-03, root <NoEMail> wrote:

> That works, thanks.


Always glad to help out a fellow Fluxbox user :)

Andrew
Similar Threads