Actually, changing this on my theme.lua worked, for both problems, thank
you!
-- You can use your own command to set your wallpaper
theme.wallpaper_cmd = { "nitrogen --set-scaled
/home/david/.config/awesome/themes/default/background.png" }
On Wed, Feb 15, 2012 at 5:24 PM, Petr Osanve Vytovtov
<[email protected]>wrote:
> **
> On 02/15/12 21:21, David Gomes wrote:
>
> Actually, the -f didn't work. I also tried adding this in the end of my
> rc.lua:
>
> -- Use nitrogen to set the wallpaper
> os.execute("nitrogen --set-scaled
> ~/.config/awesome/themes/default/background.png")
>
> But it didn't work, and the background is still non-stretched (and I did
> quit and re-open awesome).
>
> On Wed, Feb 15, 2012 at 5:12 PM, David Gomes <[email protected]>wrote:
>
>> Well, the -f worked, but so did nitrogen. However, nitrogen also enabled
>> transparency on terminals, so I'll probably use nitrogen.
>>
>>
>> On Wed, Feb 15, 2012 at 5:10 PM, Claudio Roberto França Pereira <
>> [email protected]> wrote:
>>
>>> On Wed, Feb 15, 2012 at 14:51, David Gomes <[email protected]>
>>> wrote:
>>> > I set a new wallpaper on Awesome WM, and this is how it
>>> > looks: http://i.imgur.com/V8qts.jpg
>>> >
>>> > It's not stretched and it doesn't look so good because of that.
>>> >
>>> > david@myhost:~$ awesome --version
>>> > awesome v3.4.11 (Pickapart)
>>> > • Build: Feb 14 2012 15:13:02 for x86_64 by gcc version 4.6.2
>>> > (david@myhost)
>>> > • D-Bus support: ✔
>>> > david@myhost:~$
>>> >
>>> > That is my version of Awesome, and I'm wondering about how I can fix
>>> this
>>> > problem, thanks.
>>> >
>>> > --
>>> > David Gomes
>>>
>>> As http://www.linuxcertif.com/man/1/awsetbg/en/ says:
>>> OPTIONS
>>> -f file
>>> Set fullscreen wallpaper.
>>>
>>> awsetbg -f <wallpaper>
>>>
>>> You can try this on the terminal or on the run command widget, make
>>> sure it works, then you can update your set bg variable on rc.lua.
>>>
>>> --
>>> Claudio Roberto França Pereira
>>>
>>
>>
>>
>> --
>> David Gomes
>>
>
>
>
> --
> David Gomes
>
> Write in ~/.xinitrc next line (without the quotes, before the line "exec
> awesome"): "feh --bg-scale /path/to/image &".
>
> This should help solve the problem.
>
--
David Gomes