LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-27-2023, 10:45 PM   #16
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364

I used the search function of this forum to find this thread. For the past couple of weeks this problem has been making me crazy. From the looks of things this is not a rare or isolated situation.
My first try to regain control over my screensavers was to uninstall the XFCE Screensaver and then to Blacklist it but that was not effective for me. The reply to this thread from elcore proved to be the answer. I made the change to my system that elcore recommended and rebooted to the last few hours of trouble free computing
 
2 members found this post helpful.
Old 03-28-2023, 01:05 AM   #17
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
Another thing to look at is the file /etc/X11/app-defaults/XScreenSaver, it has some lines which might looks something like this:

Code:
*dpmsEnabled:           False
*dpmsQuickoffEnabled:   False
*dpmsStandby:           2:00:00
*dpmsSuspend:           2:00:00
*dpmsOff:               4:00:00
Those lines can be tinkered with to choose if and when xscreensaver should shut down the monitor with dpms. Unfortunately, every now and then the xscreensaver package gets updated and those updated xscreensaver packages will overwrite any customizations of /etc/X11/app-defaults/XScreenSaver. There is also a file ~/.xscreensaver, but adding customizations to that file means that you will have to customize files in the home directory of every user.

regards Henrik
 
2 members found this post helpful.
Old 03-28-2023, 10:51 AM   #18
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 364

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by henca View Post
Unfortunately, every now and then the xscreensaver package gets updated and those updated xscreensaver packages will overwrite any customizations of /etc/X11/app-defaults/XScreenSaver. There is also a file ~/.xscreensaver, but adding customizations to that file means that you will have to customize files in the home directory of every user.
Local customizations that you want set for every user can also be loaded from an arbitrary file during session standup, using xrdb.
 
2 members found this post helpful.
Old 03-30-2023, 12:59 PM   #19
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
Quote:
Originally Posted by metaed View Post
Local customizations that you want set for every user can also be loaded from an arbitrary file during session standup, using xrdb.
Thanks for that tip, it really works great!

Instead of modifying /etc/X11/app-defaults/XScreenSaver I have now created a file /etc/X11/xinit/.Xresources with the following contents:
Code:
*dpmsEnabled:           True
*dpmsStandby:           0:10:00
*dpmsSuspend:           0:20:00
*dpmsOff:               0:30:00
*unfade:                False
*dateFormat:            %Y-%m-%d %H:%M:%S
*newLoginCommand:       /opt/tde/bin/tdmctl reserve
The above lines contain my prefered dpms settings, no slow unfade for quick unlock, a date/time format which is prefered here in Sweden and my fix to allow new sessions with tdm (TDE is a fork of KDE3 which still includes a good login manager).

The file /etc/X11/xinit/.Xresources is not only called from my local installation of /opt/tde/share/config/tdm/Xsession but also from standard files in Slackware like /etc/X11/xinit/xinitrc (for those using startx) or /etc/X11/xdm/Xsession (for those using xdm).

regards Henrik
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen keeps turning off after 10 minutes Josh000 Slackware 12 05-02-2010 02:38 PM
Keyboard autorepeat keeps turning off Cride5 Linux - Desktop 3 02-14-2009 06:20 PM
My computer screen keeps freezing and I have to keep turning the computer on and off breddyy Linux - Hardware 3 01-23-2008 12:43 AM
suse 10.1 keeps turning DMA off to new Plextor 760 Ide DVD recorder sparkbot Linux - Hardware 2 11-17-2006 11:44 AM
mozilla keeps turning off jogurt666 Linux - Software 3 05-20-2004 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration