! 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 !
Three issues concerning to Thunar and Xfdesktop in regard to the "Set as wall...
Status:
RESOLVED: WONTFIX
Product:
Thunar-wallpaper-plugin
Component:
General

Comments

Description Khazar 2012-11-04 22:44:49 CET
I am not certain whether this bug should be reported at Thunar or Xfdesktop.


#1 Xfdesktop
   ---------
When selecting "Set as wallpaper", create a shortcut at ~/.local/share/xfce4/backdrops/ZenWalk.jpg


#2 Xfdesktop
   ---------
Revoke the current "Set as wallpaper" entry and replace it with an action at xfce-backdrop-settings.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Desktop 
[...]
Exec=xfdesktop-settings
Icon=preferences-desktop-wallpaper
Terminal=false
Type=Application
Categories=X-XFCE;Settings;DesktopSettings;X-XfceSettingsDialog;
OnlyShowIn=XFCE;
StartupNotify=true
X-XfcePluggable=true
X-XfceHelpFile=xfdesktop.html
Actions=Background;

[Desktop Action Background]
Exec=xfdesktop-settings -? %f
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;

* MimeType should be applied only to the action entry, not to the 'Open With ""' section.


#3 Xfdesktop
   ---------
Make an argument to set background with command line with xfdesktop-settings for suggestion #2.
Comment 1 Khazar 2012-11-05 22:57:31 CET
Number # 3 is obsolete.

Thank you to Buzz and Sergio for the xconf-query hint.
http://mail.xfce.org/pipermail/xfce/2012-November/031515.html

> xconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-style -s mode
> 
> Where mode is an integer. I only use 0, 2 and 4 for some reason, I'm not sure 
> why...
> This command is followed by:
> 
> xconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s 
> "path-to-my-image"

Actions=Background;

[Desktop Action Background]
Exec=xconf-query -c xfce4-desktop -p %f -s mode
MimeType=image/bmp; [...] ;image/vnd.wap.wbmp;

* I do not know which mode is being used by the "Set as wallpaper" entry.
Comment 2 Eric Koegel editbugs 2014-07-20 16:05:27 CEST
Moving to thunar wallpaper plugin which handles the "set as wallpaper" option.
Comment 3 Skunnyk editbugs 2018-09-22 16:43:56 CEST
This project has been archived, so we are closing related bugs.

Bug #9456

Reported by:
Khazar
Reported on: 2012-11-04
Last modified on: 2018-09-22

People

Assignee:
Stephan Arts
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information