THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Marc V. (Johwn) 

Attached to Project - awesome
Summary - theme.wallpaper_cmd with one item cause an issue in beautiful lib
Task Type - Bug Report
Category - beautiful
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 3.4.15
Due in Version - Undecided
Due Date - Undecided
Details - How to reproduce bug :
 - hardware's configuration : 2 screens (side by side)
 - distrib : gentoo
 - theme.wallpaper_cmd = { "awsetbg 
/usr/share/awesome/themes/default/background.png" } in theme.lua (default value)
 - using feh as bg setter

Bug's description :
  Sometime (50% times), when I reload my config (for example with Mod4+Ctrl+r) 
a popup window appear and said:
    Something went wrong while setting the wallpaper.
    Run 'feh --bg-scale /usr/share/awesome/themes/default/background.png' from 
an xterm to find out what.

How to fix :
  1) replace theme.wallpaper_cmd's definition by { "awsetbg 
/usr/share/awesome/themes/default/background.png", ":" };
  2) in beautiful.lua:init, replace
        for s = 1, capi.screen.count() do
     by
        for s = 1, math.min(capi.screen.count(), #theme.wallpaper_cmd) do
     and include lua's math module;
  3) Use the joined awsetbg script instead of the current awsetbg script and 
replace theme.wallpaper_cmd's definition by { "awsetbg 
'/path/to/bg_screen_1.png /path/to/bg_screen_2.png'" }.

  

One or more files have been attached.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1208

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to