LinuxQuestions.org
Review your favorite Linux distribution.
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-31-2015, 02:46 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Xfce 4: screensaver disabled but still the screen is locked after some time.


Slackware 14.1


Hi: I disabled the screensaver and still, after some time with no keyboard activity the screen is locked and I must enter my passwd. In 14.0 I just disabled the screensaver in Settings>Screensaver and unchecked the corresponding entry in Settings>Autostart Applications (or something like that). But this seems to be not enough in 14.1. Is there something I should do in addition to what I did?
 
Old 03-31-2015, 03:58 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
Have you looked in the energy settings? There are options to lock the screen, too.
 
1 members found this post helpful.
Old 03-31-2015, 09:47 PM   #3
wolsonjr
Member
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71

Rep: Reputation: 34
probably xset

xset is probably what you are looking for; see the man page
'xset -dpms' TO STOP SCREEN BLANKING -or- 'xset dpms 300 0 0' to go standby in 5'. Also 'xset s off' to turn off screen saver.
Can add to /etc/rc.local so you don't have to re-enter the setting after each reboot.
 
1 members found this post helpful.
Old 04-01-2015, 07:18 AM   #4
chemfire
Member
 
Registered: Sep 2012
Posts: 422

Rep: Reputation: Disabled
/etc/rc.local is not the right place to put the xset commands. X might get started after rc.local has run, and it will not be re-run if X11 is restarted without a system reboot.

better options include:
/etc/X11/xinit/xinitrc (which is a soft link to whatever DE specific xinitrc you use) if you want the behavior system wide
otherwise you can copy that file to ~/.xinitrc and add it there, to effect only one user account.

An even smarter solution IMHO would be to create a shell script with any xset commands etc you need and run it from your session manager, in XFCE goto session and startup and than the application autostart tab, and add your script. I am sure KDE has something similar but I have not used that in years, so I don't exactly how to do that. The reason I say this is smarted is its possible the desktop environment might step on any settings you have put into xinitrc as part of its own startup. Letting the session manager do it should help ensure they are the amoung last commands to get run after you login.

Last edited by chemfire; 04-01-2015 at 07:23 AM.
 
1 members found this post helpful.
Old 04-01-2015, 09:26 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by wolsonjr View Post
xset is probably what you are looking for; see the man page
'xset -dpms' TO STOP SCREEN BLANKING -or- 'xset dpms 300 0 0' to go standby in 5'. Also 'xset s off' to turn off screen saver.
Can add to /etc/rc.local so you don't have to re-enter the setting after each reboot.
Thanks very much.
 
Old 04-01-2015, 04:02 PM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by chemfire View Post
/etc/rc.local is not the right place to put the xset commands. X might get started after rc.local has run, and it will not be re-run if X11 is restarted without a system reboot.

better options include:
/etc/X11/xinit/xinitrc (which is a soft link to whatever DE specific xinitrc you use) if you want the behavior system wide
otherwise you can copy that file to ~/.xinitrc and add it there, to effect only one user account.

An even smarter solution IMHO would be to create a shell script with any xset commands etc you need and run it from your session manager, in XFCE goto session and startup and than the application autostart tab, and add your script. I am sure KDE has something similar but I have not used that in years, so I don't exactly how to do that. The reason I say this is smarted is its possible the desktop environment might step on any settings you have put into xinitrc as part of its own startup. Letting the session manager do it should help ensure they are the amoung last commands to get run after you login.
Actually, disabling it in the xorg.conf configuration is the right place.
 
1 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
i get a black screen after i boot up. i disabled vga before i turned it off last time linuxlinuxclueless Linux - Laptop and Netbook 2 08-29-2014 12:37 AM
wlan0 gets disabled on screensaver newbie_john Linux - Laptop and Netbook 2 12-12-2011 08:57 PM
Xfce screen lock: Not staying locked DaFrEQ Linux - Desktop 2 03-24-2009 09:50 AM
Disabled Screensaver permenantly ashsethi Linux - Desktop 1 09-27-2008 08:37 PM
Making screensaver run when screen is locked akurtis Fedora 2 06-04-2005 09:15 PM

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

All times are GMT -5. The time now is 04:47 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