You are not logged in.

#1 2012-07-26 00:20:00

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

awesome WM silently fails setting background image

awesome was part of my pacman upgrade today. The upgrade didn't inform me of any file merges that needed to happen, but since the upgrade, my background image is no longer set.

I set my specific wallpaper by having copied the standard /usr/share/awesome/themes/default to /home/user/.config/awesome/themes/default, edited line 77 of theme.lua to:

theme.wallpaper_cmd = { "awsetbg /usr/share/wallpapers/Evening/contents/images/1920x1080.jpg" }

I also updated all the references to /usr/share/awesome/themes to be /home/user/.config/awesome/themes and then call this theme file in my rc.lua via:

beautiful.init("/home/user/.config/awesome/themes/default/theme.lua")

The problem is that there is no error thrown in /home/user/.xsession-errors.

If I run that same 'awsetbg' command manually from a terminal or "run" prompt, everything works fine. Is there a way to get awesome to tell me why it's failing?

Offline

#2 2012-07-26 23:36:59

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: awesome WM silently fails setting background image

Run 'awsetbg -i' then determine why chosen wallpaper setter, if any is found at all, is failing to load image, if there is an image at all, specified in theme.wallpaper_cmd, if there is a valid  wallpaper_cmd key at all.

Last edited by anrxc (2012-07-26 23:37:46)


You need to install an RTFM interface.

Offline

#3 2012-07-27 02:28:09

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: awesome WM silently fails setting background image

awsetbg -i reports:

feh is a nice wallpapersetter. You won't have any problems.

When I run the following from a terminal, the background image gets set without a problem:

[~]$ awsetbg /usr/share/wallpapers/Evening/contents/images/1920x1080.jpg

Interestingly enough, after this, when I set the following in my theme.lua:

theme.wallpaper_cmd = { "awsetbg -i" }

Then the image gets set no problem. It's just when I use the full awsetbg with the SAME image, nothing gets set...?

Offline

Board footer

Powered by FluxBB