Dump xscreensaver

Everything about X, Gnome, KDE, ... and everything running on it

Dump xscreensaver

Postby M51 » 2016-04-02 16:44

xscreensaver is pulled in by default when running Xfce. At the very least, it should be removed as a recommended dependency of Xfce and other desktops.

xscreensaver should be dumped in favor of a less obnoxious program that isn't nagware. The constant pop-ups upon restarting or changing settings are something I would expect to see with Windows, not Debian.

Annoying.


Edit:

If anyone wants to compile xscreensaver themselves and remove the incessant nagging just replace the following function (including the author's rambling and offensive rationalization).

Change this function found in prefs.c:

Code: Select all
Bool
senescent_p (void)
{
  /* If you are in here because you're planning on disabling this warning
     before redistributing my software, please don't.

     I sincerely request that you do one of the following:

         1: leave this code intact and this warning in place, -OR-

         2: Remove xscreensaver from your distribution.

     I would seriously prefer that you not distribute my software at all
     than that you distribute one version and then never update it for
     years.

     I am *constantly* getting email from users reporting bugs that have
     been fixed for literally years who have no idea that the software
     they are running is years out of date.  Yes, it would be great if we
     lived in the ideal world where people checked that they were running
     the latest release before they report a bug, but we don't.  To most
     people, "running the latest release" is synonymous with "running the
     latest release that my distro packages for me."

     When they even bother to tell me what version they're running, I
     say, "That version is three years old!", and they say "But this is
     the latest version my distro ships".  Then I say, "your distro
     sucks", and they say "but I don't know how to compile from source,
     herp derp I eat paste", and *everybody* goes away unhappy.

     It wastes an enormous amount of my time, and kind of makes me regret
     ever having released this software in the first place.

     So seriously. I ask that if you're planning on disabling this
     obsolescence warning, that you instead just remove xscreensaver from
     your distro entirely.  Everybody will be happier that way.  Check
     out gnome-screensaver instead, I understand it's really nice.

     Of course, my license allows you to ignore me and do whatever the
     **** you want, but as the author, I hope you will have the common
     courtesy of complying with my request.

     Thank you!

     jwz, 2014
  */
  time_t now = time ((time_t *) 0);            /*   N   */
  struct tm *tm = localtime (&now);            /*   o   */
  const char *s = screensaver_id;            /*       */
  char mon[4], year[5];                  /*   d   */
  int m, y, months;                  /*   o   */
  s = strchr (s, ' '); if (!s) abort(); s++;         /*   n   */
  s = strchr (s, '('); if (!s) abort(); s++;         /*   '   */
  s = strchr (s, '-'); if (!s) abort(); s++;         /*   t   */
  strncpy (mon, s, 3);                  /*       */
  mon[3] = 0;                     /*   d   */
  s = strchr (s, '-'); if (!s) abort(); s++;         /*   o   */
  strncpy (year, s, 4);                  /*       */
  year[4] = 0;                     /*   i   */
  y = atoi (year);                  /*   t   */
  if      (!strcmp(mon, "Jan")) m = 0;            /*   ,   */
  else if (!strcmp(mon, "Feb")) m = 1;            /*       */
  else if (!strcmp(mon, "Mar")) m = 2;            /*   s   */
  else if (!strcmp(mon, "Apr")) m = 3;            /*   t   */
  else if (!strcmp(mon, "May")) m = 4;            /*   o   */
  else if (!strcmp(mon, "Jun")) m = 5;            /*   p   */
  else if (!strcmp(mon, "Jul")) m = 6;            /*   ,   */
  else if (!strcmp(mon, "Aug")) m = 7;            /*       */
  else if (!strcmp(mon, "Sep")) m = 8;            /*   s   */
  else if (!strcmp(mon, "Oct")) m = 9;            /*   t   */
  else if (!strcmp(mon, "Nov")) m = 10;            /*   a   */
  else if (!strcmp(mon, "Dec")) m = 11;            /*   a   */
  else abort();                     /*   a   */
  months = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) -   /*   h   */
            (y * 12 + m));               /*   h   */
                          /*   h   */
  return (months > 18);                  /*   p   */
}


with this:

Code: Select all
Bool
senescent_p (void)
{
  return 0;
}


I find the author's disparaging of anyone or any distro who wants to run anything other than bleeding edge particularly offensive.

Funny, plenty of other open source authors manage to cope without resorting to nagware techniques. Maybe the author should do something else with his time.
Last edited by M51 on 2016-04-02 17:31, edited 1 time in total.
M51
 
Posts: 397
Joined: 2013-05-13 01:38

Re: Dump xscreensaver

Postby stevepusser » 2016-04-02 17:26

This is a user's forum, not the Debian developers'. File a bug against xscreensaver asking that it be patched to remove that nag screen. Despite what the xscreensaver developer put into the code:




Code: Select all
/* If you are in here because you're planning on disabling this warning
before redistributing my software, please don't.

I sincerely request that you do one of the following:

1: leave this code intact and this warning in place, -OR-

2: Remove xscreensaver from your distribution.

I would seriously prefer that you not distribute my software at all
than that you distribute one version and then never update it for
years.

I am *constantly* getting email from users reporting bugs that have
been fixed for literally years who have no idea that the software
they are running is years out of date. Yes, it would be great if we
lived in the ideal world where people checked that they were running
the latest release before they report a bug, but we don't. To most
people, "running the latest release" is synonymous with "running the
latest release that my distro packages for me."

When they even bother to tell me what version they're running, I
say, "That version is three years old!", and they say "But this is
the latest version my distro ships". Then I say, "your distro
sucks", and they say "but I don't know how to compile from source,
herp derp I eat paste", and *everybody* goes away unhappy.

It wastes an enormous amount of my time, and kind of makes me regret
ever having released this software in the first place.

So seriously. I ask that if you're planning on disabling this
obsolescence warning, that you instead just remove xscreensaver from
your distro entirely. Everybody will be happier that way. Check
out gnome-screensaver instead, I understand it's really nice.

Of course, my license allows you to ignore me and do whatever the
xxxxxxx you want, but as the author, I hope you will have the common
courtesy of complying with my request.

Thank you!

jwz, 2014


But hey, that could be said about any of the older versions of packages in Debian stable. Somehow, he felt the need to put a nag screen in his when none of the 30,000 others did. Anyway, it should be simple to upgrade xscreensaver from the OBS repo I set up.

https://software.opensuse.org/download. ... creensaver
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12078
Joined: 2009-10-06 05:53

Re: Dump xscreensaver

Postby M51 » 2016-04-02 17:41

I know this is just a users' forum and the bug has already been reported: https://bugs.debian.org/cgi-bin/bugrepo ... bug=819703

The author of the software even bothered to show up in the thread to insult the person who logged it.

Obviously the author is a moronic asshole.

I hope Debian listens and either patches the software or rips xscreensaver out of the distro entirely.

Edit: I hope they patch it rather than remove it...now just because it'd piss off the author. (because of his several comments in the bug thread where he insults people for valuing the freedoms of free software)
M51
 
Posts: 397
Joined: 2013-05-13 01:38

Re: Dump xscreensaver

Postby M51 » 2016-04-02 22:13

Incidental to the "nagging" bug, Someone should replace the craptastic xscreensaver logo as well.
M51
 
Posts: 397
Joined: 2013-05-13 01:38

Re: Dump xscreensaver

Postby stevepusser » 2016-04-02 22:18

M51 wrote:Incidental to the "nagging" bug, Someone should replace the craptastic xscreensaver logo as well.


You can probably edit its .desktop files to include the --no-splash option.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12078
Joined: 2009-10-06 05:53

Re: Dump xscreensaver

Postby kiyop » 2016-04-03 01:08

To M51,

stevepusser wrote:File a bug against xscreensaver asking that it be patched to remove that nag screen.

+1

xscreensaver developer jwz wrote:
Code: Select all
/* If you are in here because you're planning on disabling this warning
before redistributing my software, please don't.

I sincerely request that you do one of the following:

1: leave this code intact and this warning in place, -OR-

2: Remove xscreensaver from your distribution.

How about removing xscreensaver?

I think that Xfce is one of bloated meddlesome interfering desktop environments.
But you selected Xfce.
How about selecting one of light concise window managers like jwm, openbox or so?
http://xwinman.org/others.php
I use openbox without any panel like tint2, and so I do not suffer interfering panel, popups, auto-mounting, desktop icons ;)
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: Dump xscreensaver

Postby M51 » 2016-04-03 01:59

kiyop wrote:To M51,

stevepusser wrote:File a bug against xscreensaver asking that it be patched to remove that nag screen.

+1


Did you miss the part where I said the bug was already filed?

kiyop wrote:How about removing xscreensaver?

I think that Xfce is one of bloated meddlesome interfering desktop environments.
But you selected Xfce.
How about selecting one of light concise window managers like jwm, openbox or so?
http://xwinman.org/others.php
I use openbox without any panel like tint2, and so I do not suffer interfering panel, popups, auto-mounting, desktop icons ;)


Uninstalling xscreensaver is easy, that isn't the point at all.
I also don't need a lecture on what desktop to use.

xscreensaver is nagware and should be fixed or removed as a dependency so it doesn't get pulled in automatically with any other software.

Read the bug thread I linked and judge for yourself how big an asshole the xscreensaver author is. He made multiple nasty comments to people on the thread.
M51
 
Posts: 397
Joined: 2013-05-13 01:38

Re: Dump xscreensaver

Postby kiyop » 2016-04-03 02:57

M51 wrote:
kiyop wrote:To M51,

stevepusser wrote:File a bug against xscreensaver asking that it be patched to remove that nag screen.

+1


Did you miss the part where I said the bug was already filed?

Oh, excuse me. :oops:

M51 wrote:Uninstalling xscreensaver is easy, that isn't the point at all.
I also don't need a lecture on what desktop to use.

xscreensaver is nagware and should be fixed or removed as a dependency so it doesn't get pulled in automatically with any other software.

I do not think so. You selected Xfce, which installs xscreensaver.
If you dislike the package, you can remove it.
Or you should claim to xfce developers that xscreensaver should not be installed as a dependency of Xfce.

M51 wrote:Read the bug thread I linked and judge for yourself how big an asshole the xscreensaver author is. He made multiple nasty comments to people on the thread.

I read all of what Jamie Zawinski <jwz@jwz.org> posted at https://bugs.debian.org/cgi-bin/bugrepo ... bug=819703
I think that what s/he posted is proper.
If you dislike it, remove it. You can use gnome-screensaver or make your own screensaver by yourself ;)
https://www.google.com/search?q=linux+screensaver
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: Dump xscreensaver

Postby M51 » 2016-04-03 04:21

kiyop wrote:I do not think so. You selected Xfce, which installs xscreensaver.
If you dislike the package, you can remove it.
Or you should claim to xfce developers that xscreensaver should not be installed as a dependency of Xfce.


Or the Debian maintainer can patch the package to remove to obnoxious behavior, thus the bug report.


kiyop wrote:I read all of what Jamie Zawinski <jwz@jwz.org> posted at https://bugs.debian.org/cgi-bin/bugrepo ... bug=819703
I think that what s/he posted is proper.


Even where he said "Peter Nowee, please take your sanctimony and go **** yourself with it." simply because that poster suggested Mr. Zawinski actually respected user freedom to alter free and open source software?

You have a very different idea of proper than I do. I see Mr. Zawinski as an asshole who doesn't understand what free software is.

kiyop wrote:If you dislike it, remove it. You can use gnome-screensaver or make your own screensaver by yourself ;)
https://www.google.com/search?q=linux+screensaver


I absolutely could. Just from looking at xscreensaver's code I daresay I'm a better developer than the author is. BUT I also have the right to patch out behavior I don't like, even if some arrogant son of a bitch developer doesn't want me to. Why? Because that is the ENITRE POINT of free and open source software. If he doesn't like it, then he never should have made it open. Mr. Zawinski should probably find a new hobby.
M51
 
Posts: 397
Joined: 2013-05-13 01:38

Re: Dump xscreensaver

Postby kiyop » 2016-04-03 05:31

M51 wrote:Or the Debian maintainer can patch the package to remove to obnoxious behavior, thus the bug report.

Partly I agree.

M51 wrote:
kiyop wrote:I read all of what Jamie Zawinski <jwz@jwz.org> posted at https://bugs.debian.org/cgi-bin/bugrepo ... bug=819703
I think that what s/he posted is proper.


Even where he said "Peter Nowee, please take your sanctimony and go **** yourself with it."

Oh! Excuse me. I missed the sentence: https://bugs.debian.org/cgi-bin/bugrepo ... 819703#158
The developer Jamie Zawinski should not tell such an obscene thing to anybody.

M51 wrote:I see Mr. Zawinski as an asshole who doesn't understand what free software is.

You should not use such an obscene word "asshole" in these debian user forums. In such point, you are similar as Mr. Zawinski. ;)

M51 wrote:simply because that poster suggested Mr. Zawinski actually respected user freedom to alter free and open source software?
(snip by kiyop)
I absolutely could. Just from looking at xscreensaver's code I daresay I'm a better developer than the author is. BUT I also have the right to patch out behavior I don't like, even if some arrogant son of a bitch developer doesn't want me to. Why? Because that is the ENITRE POINT of free and open source software. If he doesn't like it, then he never should have made it open. Mr. Zawinski should probably find a new hobby.

Partly I agree. But, do not use an obscene abusive word like "bitch".
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
User avatar
kiyop
 
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: Dump xscreensaver

Postby sgosnell » 2016-04-07 01:20

Bitch is not obscene. It's the proper word for a female dog that has had a litter. The sanctimony seems to be rising in this thread.
Take my advice, I'm not using it.
sgosnell
 
Posts: 857
Joined: 2011-03-14 01:49

Re: Dump xscreensaver

Postby Head_on_a_Stick » 2016-04-07 07:56

M51 wrote:Mr. Zawinski should probably find a new hobby.

jwz now sells alcohol for a living and he sold his soul to Apple a long time ago...
:roll:

I recommend slock (in the suckless-tools package) for anybody seeking a small, secure, well-written screen locker ;)
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable