Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949611 - x11-misc/xscreensaver-6.09: Should install xscreensaver.desktop (affecting >=xfce-base/xfce4-session-4.20.0)
Summary: x11-misc/xscreensaver-6.09: Should install xscreensaver.desktop (affecting >=...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-11 10:12 UTC by Massimo Burcheri
Modified: 2025-02-22 18:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2025-02-11 10:12:40 UTC
As Xscreensaver desktop file and handling was removed from xfce4-session (https://gitlab.xfce.org/xfce/xfce4-session/-/commit/9a63a6224466c17243fb192a70920133d1f2d3d3) x11-misc/xscreensaver package should install itself a desktop file in /etc/xdg/autostart. 

Reproducible: Always

Actual Results:  
xscreensaver daemon is not automatically started with Xfce.
Comment 1 onkobu 2025-02-22 18:27:08 UTC
$> equery f x11-misc/xscreensaver | grep desktop
/usr/share/applications/xscreensaver-settings.desktop
/usr/share/applications/xscreensaver.desktop


The second will serve the purpose. So either (as root):

cp /usr/share/applications/xscreensaver.desktop /etc/xdg/autostart

or

cd /etc/xdg/autostart && ln -s /usr/share/applications/xscreensaver.desktop .

Which starts xscreensaver for any session of any window manager (all users/ system wide). If you are the only fond of xscreensaver auto start on the system as regular user replace ~/.config/autostart/ as either the target of the cp or ln.

I also recognized, that it is still listed on my system under XFCE Menu-> Setttings-> Session and Starup as checked to auto start but it does not. User settings are untouched during install/ change/ update of XFCE packages and the entry is now useless/ defunct?
Comment 2 onkobu 2025-02-22 18:40:49 UTC
And make sure, there is no Hidden=true in the per user dirs:

$> cat ~/.config/autostart/xscreensaver.desktop 
[Desktop Entry]
Hidden=true

If it looks like this the particular user profile masks the system wide .desktop-file. (Which keeps xscreensaver from starting.)