Bug 31347

Summary: xfce4-session should depend on xscreensaver or not provide xscreensaver.desktop
Product: Mageia Reporter: GG HH <boulshet>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: Normal CC: boulshet, jani.valimaa, lewyssmith
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: xfce4-session-4.18.0-1.mga9.src.rpm CVE:
Status comment:

Description GG HH 2022-12-31 23:45:10 CET
Description of problem:
i get an error message from gnome-session-binary :
WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary

xfce4-session-4.18.0-1.mga9 is installed. I am running gnome on X11.

xfce provides xscreensaver.desktop which is used whence a session is started
$ rpm -q -f /etc/xdg/autostart/xscreensaver.desktop
xfce4-session-4.18.0-1.mga9

screensaver.desktop expects to run xscreensaver 
$ grep ^Exec= /etc/xdg/autostart/xscreensaver.desktop 
Exec=xscreensaver -no-splash

screensaver may not be installed.
 $ rpm -q -f /usr/bin/xscreensaver
xscreensaver-6.06-1.mga9.tainted
GG HH 2022-12-31 23:45:20 CET

CC: (none) => boulshet

Comment 1 Jani Välimaa 2023-01-01 08:52:20 CET
There is 'TryExec=xscreensaver' in the .desktop file so I think missing xscreensaver pkg isn't really a problem. Besides that the msg is only a warning, not an error.

According to freedesktop.org's Desktop Entry Specification:

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

"TryExec

Path to an executable file on disk used to determine if the program is actually installed. If the path is not an absolute path, the file is looked up in the $PATH environment variable. If the file is not present or if it is not executable, the entry may be ignored (not be used in menus, for example)."

CC: (none) => jani.valimaa

Comment 2 GG HH 2023-01-01 10:25:29 CET
It is not veru clean but I agree that there is no real problem.
You may close if you prefer. I submitted it as minor anyway.
thanks
Comment 3 Lewis Smith 2023-01-01 21:05:10 CET
Accepting your invitation "close if you prefer". Thanks Jani for answering the affair so quickly. Basically, things are working within definitions, albeit untidily.

CC: (none) => lewyssmith
Resolution: (none) => INVALID
Status: NEW => RESOLVED