Background is reset after reboot or logout

Hello,
I just finished installing EndeavourOS with I3 and having issue that when i logout or reboot my laptop the background is set back to the default one. I am setting it with the “Choose wallpaper” option in the welcome app. I have also tried doing it manually with the feh package with feh --bg-set ~/Downloads/1.png, and the background is set fine but still resets after logout.

Anyone know what is happening?

You can use feh or nitrogen.

Is it possible something in your home directory is owned by root and the change isn’t being allowed to stick due to permissions?

I think is not issue with permissions since feh is writing correctly to ~/.fehbg

1 Like

Does it work if you put
feh --bg-set ~/Downloads/1.png
into ~/.profile?

Or perhaps:

exec_always --no-startup-id  feh --bg-set ~/Downloads/1.png

/.config/i3/config

1 Like

Adding the feh command to .profile works. But after about 1 second it is reset back to the default wallpaper again. So somewhere else it must be setting the default wallpaper on boot

Look into your i3 config file.
Look for something like:

# set wallpaper
exec --no-startup-id nitrogen --restore
#exec --no-startup-id feh --bg-fill /usr/share/endeavouros/backgrounds/endeavouros_i3.png

What do you have in there?

1 Like

Alright I looked in ~/config/i3/config and commented out the exec --no-startup-id nitrogen --restore Line. Now it works. Thanks a lot for the help.

So issue was that I was using feh to set wallpaper but nitrogen was restoring to default wallpaper and overwriting the changes.

1 Like

Glad you got it sorted out!

And welcome to EnOS’ forum!

:enos_flag:

2 Likes

Thanks!

Thanks for giving EndeavourOS a try, and welcome to the forum. I hope you enjoy your time here.

If your issue is solved, please go to pebcak’s post, then click on the three horizontal dots next to Reply. Then click on “Solution” which will mark the Topic as solved. This also puts a shortened version of pebcak’s post right under your Original Post so future users with this problem can go straight to the solution.

Pudge

1 Like

Thanks, I added a bit more info on what I did and marked as solved :+1:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.