! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Ristretto "Set As Wallpaper" Doesn't Work (incorrect backdrop/screen/monitor ...
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
General

Comments

Description ToZ editbugs 2014-08-24 17:33:50 CEST
In situations where there are more than one /backdrop/screen0/monitor entries, and the first entry is _not_ the valid entry, Ristretto does not change the wallpaper for that monitor property. It only affects the first entry. The end result is that the desktop wallpaper is not changed.

I have seen this in two separate scenarios:

1. Xubuntu 14.04 as a Virtualbox guest. On install, the /backdrop/screen0/monitor0 property is created. When the virtualbox additions are installed, a second property, /backdrop/screen0/monitorVBOX0 is created. The second monitor property is the active one, but Ristretto only affects the first monitor property.

2. Arch Linux install with nvidia driver. On install, the /backdrop/screen0/monitor0 property is created. When the properietary driver is installed, a second property, /backdrop/screen0/monitorLVDS0 is created. he second monitor property is the active one, but Ristretto only affects the first monitor property.

Changing the wallpaper from within xfdesktop-settings works, so that module must know which is the active monitor. That same code should probably be used here.
Comment 1 Olivier Duchateau 2014-10-18 22:30:25 CEST
Created attachment 5695 
Support xfdesktop >= 4.11

Currently I use this patch, in order to define new wallpaper.

Note: color1 and color2 properties are not supported.
Comment 2 ToZ editbugs 2014-10-21 04:27:22 CEST
I can confirm that this patch works. Thanks.
Comment 3 Olivier Duchateau 2014-10-21 19:31:21 CEST
Created attachment 5698 
Update xfconf settings

Enhance previous patch:

- Use same value (stretched) for /backdrop/.../image-style
- Don't force to create /backdrop/single-workspace-mode property
Comment 4 Eric Koegel editbugs 2015-01-18 09:44:40 CET
Awesome, thanks! Pushed to master in:

commit eb1732c7fe84a77c5d0da935e888028fa3477c8e
Author: Olivier Duchateau <duchateau.olivier@gmail.com>
Date:   Tue Oct 21 19:20:45 2014 +0000

    Update xfconf settings for Xfdesktop >= 4.11
http://git.xfce.org/apps/ristretto/commit/?id=eb1732c7fe84a77c5d0da935e888028fa3477c8e

Bug #11104

Reported by:
ToZ
Reported on: 2014-08-24
Last modified on: 2015-01-18

People

Assignee:
Stephan Arts
CC List:
3 users

Version

Version:
unspecified

Attachments

Support xfdesktop >= 4.11 (12.18 KB, patch)
2014-10-18 22:30 CEST , Olivier Duchateau
no flags
Update xfconf settings (12.45 KB, patch)
2014-10-21 19:31 CEST , Olivier Duchateau
no flags

Additional information