Screen saver fails to start
Thomas Cameron
thomas.cameron at camerontech.com
Thu Oct 31 16:49:30 CET 2024
On 10/31/24 12:12 AM, Ивалин wrote:
> Have you tried any of these fixes ?
> https://docs.xfce.org/apps/xfce4-screensaver/
> faq#why_doesn_t_my_screensaver_activate_automatically <https://
> docs.xfce.org/apps/xfce4-screensaver/
> faq#why_doesn_t_my_screensaver_activate_automatically>
Below are the results.
First, I checked to make sure the screensaver was running. It was.
tcameron at case:~/Desktop$ xfce4-screensaver
** (xfce4-screensaver:3447853): WARNING **: 10:34:38.141: screensaver
already running in this session
Next, I checked to make sure it's enabled. It is.
tcameron at case:~/Desktop$ xdg-screensaver status
enabled
Next I checked to see if the appropriate .desktop file existed. It does.
The screensaver DOES work right after I log in or reboot, it only stops
working after a while. The OnlyShowIn=GNOME;MATE; section caught my eye.
I don't *think* it's a problem, but I'm open to suggestions.
tcameron at case:~$ cat
/usr/share/applications/screensavers/xscreensaver-glmatrix.desktop
[Desktop Entry]
Name=GL Matrix
Comment=The 3D "digital rain" effect, as seen in the title sequence of
"The Matrix". See also "xmatrix" for a 2D rendering of the similar
effect that appeared on the computer monitors actually *in* the movie.
https://en.wikipedia.org/wiki/Matrix_digital_rain Written by Jamie
Zawinski; 2003.
TryExec=/usr/libexec/xscreensaver/glmatrix
Exec=/usr/libexec/xscreensaver/glmatrix --root
StartupNotify=false
Type=Application
Categories=GNOME;Screensaver;
OnlyShowIn=GNOME;MATE;
Just to check, I looked at the xfce4-screensaver.xml file. It looks correct.
tcameron at case:~$ cat
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screensaver.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-screensaver" version="1.0">
<property name="saver" type="empty">
<property name="mode" type="int" value="2"/>
<property name="themes" type="empty">
<property name="list" type="array">
<value type="string" value="screensavers-xscreensaver-glmatrix"/>
</property>
</property>
<property name="idle-activation" type="empty">
<property name="delay" type="int" value="1"/>
<property name="enabled" type="bool" value="true"/>
</property>
<property name="fullscreen-inhibit" type="bool" value="false"/>
</property>
<property name="lock" type="empty">
<property name="saver-activation" type="empty">
<property name="delay" type="int" value="5"/>
</property>
</property>
</channel>
Again, after a reboot or a fresh login, the screensaver works as
expected. It fails after some time, hours or days.
--
Thomas
More information about the Xfce
mailing list