Bug 1918139 - xscreensaver cannot be enabled on MATE Desktop
Summary: xscreensaver cannot be enabled on MATE Desktop
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xscreensaver
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL: https://www.jwz.org/blog/2021/01/i-to...
Whiteboard:
: 1918631 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 07:39 UTC by Robert Buj
Modified: 2021-01-21 11:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-20 12:33:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github mate-desktop mate-session-manager pull 265 0 None closed Support xscreensaver when mate-screensaver is not available 2021-01-26 03:17:40 UTC

Description Robert Buj 2021-01-20 07:39:57 UTC
Description of problem:

The screen saver is not displayed on MATE Desktop because of the last line of the file /etc/xdg/autostart/xscreensaver-autostart.desktop (OnlyShowIn=X-NODEFAULT;) which prevents the start of the daemon on MATE Desktop when neither gnome-screensaver nor mate-screensaver are installed on the system:

$ cat /usr/libexec/xscreensaver-autostart
#!/usr/bin/sh

# Don't launch xscreensaver if gnome-screensaver
# is installed

if [ -x /usr/bin/gnome-screensaver ] ; then exit 0 ; fi
if [ -x /usr/bin/mate-screensaver ] ; then exit 0 ; fi

exec xscreensaver -nosplash

Comment 1 Mamoru TASAKA 2021-01-20 08:07:34 UTC
X-NODEFAULT is actually on purpose (i.e. default to now shown on any desktop environment - but still useful in LXDE, for example).

I gave up determining in which DE xscreensaver should be launched via desktop entry. This is never-ending discussion. 
Other people may have different opinition than yours.

For now, I don't intend to change this behavior.

Comment 2 Robert Buj 2021-01-20 11:24:21 UTC
I could not find your free interpretation of OnlyShowIn key in any of the freedesktop specifications.
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

Comment 3 Mamoru TASAKA 2021-01-20 12:17:42 UTC
X-FOO is extension https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s12.html
Anyway, for this bug, I don't intend to enable this on MATE.

Comment 4 Mamoru TASAKA 2021-01-20 12:27:52 UTC
Again, I gave up deciding in which desktop environment xscreensaver should be auto-started. This is never-ending discussion.
So I decided not to enable autostart by default. 
Still some DE can make use of this desktop file even if autostart is not enabled by default. So I've put X-FOO which is 4
supported *not* to correspond to any DE, but nevertheless create this desktop file.

So even if I may change OnlyShowIn value, I am not going to enable this on MATE, GNOME, XFCE or so.

Comment 5 Robert Buj 2021-01-20 12:30:34 UTC
(In reply to Mamoru TASAKA from comment #3)
> X-FOO is extension
> https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s12.html
> Anyway, for this bug, I don't intend to enable this on MATE.

You can X-FOO or similar field for personal use, no for shipping it into a software distribution, the text below is extracted from the link

"If one particular party wishes to add a field for personal use, they should prefix the key with the string X-PRODUCT, e.g. X-NewDesktop-Foo, following the precedent set by other IETF and RFC standards."

Comment 6 Robert Buj 2021-01-20 12:31:19 UTC
(In reply to Mamoru TASAKA from comment #3)
> X-FOO is extension
> https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s12.html
> Anyway, for this bug, I don't intend to enable this on MATE.

You can use X-FOO or similar field for personal use, no for shipping it into a software distribution, the text below is extracted from the link

"If one particular party wishes to add a field for personal use, they should prefix the key with the string X-PRODUCT, e.g. X-NewDesktop-Foo, following the precedent set by other IETF and RFC standards."

Comment 7 Mamoru TASAKA 2021-01-20 12:33:27 UTC
This is not related to "cannot be enabled on MATE", anyway. Please stop.

Comment 8 Mamoru TASAKA 2021-01-21 09:34:26 UTC
*** Bug 1918631 has been marked as a duplicate of this bug. ***

Comment 9 Mamoru TASAKA 2021-01-21 11:02:17 UTC
*** Bug 1918631 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.