You are not logged in.

#1 2019-10-22 08:15:50

blackwolf
Member
Registered: 2019-10-22
Posts: 6

[SOLVED] Fluxbox: desktop background is not set when the system boots

I followed these instructions: https://wiki.archlinux.org/index.php/fl … th_Fluxbox
When I start the system I see a gray screen. File ~/.fehbg:

#!/bin/sh
feh --no-fehbg --bg-scale '/home/user/Pictures/background.jpg'

If I run the file from the console everything works

Last edited by blackwolf (2019-10-23 12:44:29)

Offline

#2 2019-10-23 00:55:24

the_clean
Member
From: USA
Registered: 2016-10-17
Posts: 16

Re: [SOLVED] Fluxbox: desktop background is not set when the system boots

Do you have a ~/.fluxbox/lastwallpaper?  I have had similar issues in past and setting it there helps.

EDIT:
Also, did you try

 fbsetbg <path_to_image> 

This should change the background but also set the lastwallpaper file without having to edit it by hand.  More info: http://fluxbox.org/help/man-fbsetbg.php

Last edited by the_clean (2019-10-23 01:09:38)

Offline

#3 2019-10-23 05:54:00

blackwolf
Member
Registered: 2019-10-22
Posts: 6

Re: [SOLVED] Fluxbox: desktop background is not set when the system boots

the_clean wrote:

Do you have a ~/.fluxbox/lastwallpaper?  I have had similar issues in past and setting it there helps.

EDIT:
Also, did you try

 fbsetbg <path_to_image> 

This should change the background but also set the lastwallpaper file without having to edit it by hand.  More info: http://fluxbox.org/help/man-fbsetbg.php

The fbsetbg program works and sets the background, but when I try to remove this line from the lastwallaper file

fbsetroot|-foreground rgb:6A/9A/AF -solid rgb:6A/9A/AF|style|:0.0

she returns to her place again.
Before the reboot, the file was like this:

fbsetroot|-foreground rgb:6A/9A/AF -solid rgb:6A/9A/AF|style|:0.0
fbsetbg|/home/user/Pictures/b.jpg

I rebooted the computer and the file became like that:

fbsetbg|/home/user/Pictures/b.jpg
fbsetroot|-foreground rgb:6A/9A/AF -solid rgb:6A/9A/AF|style|:0.0

And nothing helps, I read the documentation, but did not find a solution

Offline

#4 2019-10-23 11:12:51

the_clean
Member
From: USA
Registered: 2016-10-17
Posts: 16

Re: [SOLVED] Fluxbox: desktop background is not set when the system boots

I wonder if a theme you are using is putting that additional line in.  Check .fluxbox/overlay and either add the following, or remove the comment if there is one

background: none

.  You can change your line in .fluxbox/init to

session.screen0.rootCommand:	fbsetbg -l

(that is a lowercase 'L') but I thought what you have would over ride the theme as well.

Offline

#5 2019-10-23 12:44:14

blackwolf
Member
Registered: 2019-10-22
Posts: 6

Re: [SOLVED] Fluxbox: desktop background is not set when the system boots

Hooray, I managed to do it.
After baclground: none a black screen appeared instead of a picture. It was necessary to prescribe the full path instead of this relative: ~/.fehbg in session.screen0.rootCommand.
This is a documentation error and now everything works without problems, thanks

Offline

Board footer

Powered by FluxBB