SOLVED: Can't blank/lock screen after 30 mins - xset s off not working

I want the monitor screen to blank after 30 minutes of idleness and password lock it.  The password lock works fine, but the screen blanks after 10 minutes.
Here is what I have in my ~/.xinitrc
xset s off &
xset dpms 0 1800 3600 &
xautolock -time 30 -locker slock -notify 30 &
Is there something I overlooked?
Last edited by bpont (2011-12-17 18:02:47)

karol wrote:
Not sure what's wrong with your setup, works for me:
[karol@black ~]$ xset s default
[karol@black ~]$ xset -q | grep -A2 "Screen Saver"
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600
[karol@black ~]$ xset s off
[karol@black ~]$ xset -q | grep -A2 "Screen Saver"
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
For some reason you're using the default timeout even though you have 'xset s off &' in your .xinitrc.
I don't know what exactly 'xautolock -time 30 -locker slock -notify 30 &' does, try commenting it out and see if it changes anything.
If you're still stuck, post the whole ~/.xinitrc.
I did your above test which gave me the same results as you.  The thing is, whenever I reboot, that setting will be lost.
I think what I'll try next is moving the xset s off command from ~/.xinitrc into ~/.fluxbox/startup
I will leave xautolock -time 30 -locker slock -notify 30 & in ~/.xinitrc for now.  By the way, what that line does is lock my display after 30 minutes using the 'slock' package and notifies me with a 30 second system alarm warning before it does so.  That way I can press my keyboard or move my mouse to avoid locking my display.
Edit: Actually, what I ended up doing was simply changing the ordering of commands in my ~/.xinitrc from:
xset s off &
xset dpms 0 1800 3600 &
xautolock -time 30 -locker slock -notify 30 &
to
xset dpms 0 1800 3600 &
xset s off &
xautolock -time 30 -locker slock -notify 30 &
and that solved the problem by changing the timeout to 0...not really sure why the ordering of commands matters here, but it worked so I'm changing this thread to SOLVED.
Karol, thanks for your help in troubleshooting this with me.
Last edited by bpont (2011-12-17 18:02:08)

Similar Messages

  • I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive it nothing happens.

    I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive touch it nothing happens.

    Thank you for that update.
    I would next backup your device to iTunes with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it first as a new device, and verify that it works properly, then restore from your backup with the same article below to ensure that it is still working.
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    If it does not work correctly when you set up the phone as a new device, I would next seek service for your iPad:
    http://www.apple.com/support/ipad/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Dual 7916's showing blank blue screen after 30 mins. uptime

    Have any of you had this experience before? I have a 7975 series phone with dual 7916's expansion modules; The phone and the expansion modules boot-up fine but after 30 mins or more of idle time, the expansion modules display screen is Blue with no programing.This setup is working fine on other phones but is an issue on two 7975's right now. I have deleted and re-added the problem phones in CUCM 9.1 replace, ALL hardware (i.e. phone, pwr cube, expansion modules etc.) and swapped all network components. See the following Specs. below:
    CUCM 9.1
    7975 firmware SCCP75.9-3-1SR1-1S
    7916 firmware B016-1-0-4-2

    Hi Richard,
    Just covering all steps here but are the expansion modules selected within the phone configuration within CUCM?  On the physical phone itself, if you press the settings button and select Status, then Expansion Modules what do you see?  May have to upgrade the firmware of the 7916's.
    Hope this helps
    Tony
    Please rate helpful posts

  • How  to set email notification on home page lock screen on iphone 4s . Settings did not work, what am I missing?

    I have  a iphone 4s. I cannot get any email notifications on the home page/ lock screen. Also to find out if i have mail i have to press on the email icon and it will update , then it will show i have mail. I talked to a verizon technician and went trough all the settings .  He suggested  to reset the settings to default , if that does not work i need to replace the phone.  Any suggestions ? Am I missing something?
    Thanks,
    Miri

    What are you rmail settings?  Sounds like manual pull versus push, is this correct?  If your email provider does not offer "push" mail like gmail or iCloud then change from manual pull to hourly or the interval you prefer; more frequent can degrade battery performance.
    Also, go to Settings > Notifications and select "Mail" and move "view in lock screen" to on to see message previews in the lock screen.

  • My iPhone 5 having a problem that I can open my lock screen but I cannot slide open my phone even Slide to power off too, It just cannot slide.

    My iPhone 5 having a problem that I can open my lock screen but I cannot slide open my phone even Slide to power off too, It just cannot slide.

    Hello MarvanCheong,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Restart your device
    Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    Best of luck,
    Mario

  • Surface Pro 3 Blank Lock Screen

    My Surface Pro 3 (i7, 8GB RAM, 256Gb SSD) is unusable at the moment. I'm running Windows 10 Technical Preview latest public build.
    Went to use it today but it is stuck on a blank lock screen. Have tried rebooting by holding down power button, waiting and then restarting but it just reboots back to a completely blank lockscreen. I see the mouse cursor but nothing else. Tried everything!
    If I power down by holding power button I see the lockscreen asking me to swipe down to power off but I see nothing else.
    It is completely stuck right now with now way to login and use it let alone refresh or update it. 

    You may try burn Windows 10 ISO file on a DVD and boot with it and try to reinstall it.

  • Hey my lock screen button and home button jammed it doesnt work.How can I fix this problem.But first of all I live in Turkey.But my Iphone 4 is bought from apple store victoria gardens CA.Do I have warranty in Turkey ?

    Hey my lock screen button and home button jammed it doesnt work.How can I fix this problem.But first of all I live in Turkey.But my Iphone 4 is bought from apple store victoria gardens CA.Do I have warranty in Turkey ?

    The warranty is only good in the country of purchase.

  • How can I unlock the screen after a shock lighter?

    how can I unlock the screen after a shock lighter?

    What is a shock lighter? I don't understand what you are asking? If you are saying the the slide to unlock isn't working, try rebooting your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • I cant fit my picture to my lock screen after i updated to iso7

    i cant fit my picture to my lock screen after i updated to iso7 and im actually really annoyed. I heard its just a glitch but is there anyway to fix it?

    http://bit.ly/1rFn3jO
    Cheers,
    GB

  • I'd like a basic icon in the lock screen to indicate Text, Email etc.  Seems all I can have in lock screen is full alert (with or without detail) or am I missing something?

    I'd like a basic icon in the lock screen to indicate Text, Email etc.  Seems all I can have in lock screen is full alert (with or without detail) or am I missing something?

    I'd like a basic icon in the lock screen to indicate Text, Email etc.  Seems all I can have in lock screen is full alert (with or without detail) or am I missing something?

  • I do not get alert sound for in coming SMS on locked screen after iOS update to latest version

    I do not get alert sound for in coming SMS on locked screen after iOS update to latest version

    Settings > Do Not Disturb > OFF

  • Camera app not shown on lock screen after iOS 5 upgrade

    Camera app not shown on lock screen after ios 5 upgrade. Help!!

    Push your home button twice at the lock screen.

  • HT1222 Why does my 4s just close an app all of the sudden and the apple logo will come up like it's shutting down but doesn't it will go to lock screen after that

    Why does my 4s just close an app all of the sudden and the apple logo will come up like it's shutting down but doesn't it will go to lock screen after that.

    It's definitely a crash. I'd maybe look into reinstalling the operating system.
    http://support.apple.com/kb/ht1414
    Make sure you back up first though.

  • My iPod froze fully charged on the lock screen for 5 minutes, then went off and will not switch back on?

    My iPod froze fully charged on the lock screen for 5 minutes, then went off and will not switch back on?

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • GTX590 Cant access NVIDIA control panel Black screen after 10 mins

    Hi,
    I recently purchased an MSI GTX590 and encountered this problem " Cant access NVIDIA control panel Black screen after 10 mins". I am running Windows7 Ultimate SP1.
    I did have an xfire setup of 2xHD6970's, I uninstalled all the old drivers then used driver sweeper to clean out any remaining folders, also uninstalling them from device manager.
    Next I installed the latest version of drivers from the NVIDIA site only to find that I am stuck in safe mode resolutions for my screen I cant access the NVIDIA control panel as it is saying " You are not currently using a display attached to an Nvidia GPU ". In device manager it states that
    "Windows has stopped this device because it has reported problems. (Code 43) ".
    I have now uninstalled and reinstalled about 6 different versions of drivers from NVIDIA including the latest BETA drivers which all have the same issue??????
    I have also gone to the MSI site and downloaded their latest recommended drivers for the GTX590 NVIDIA Graphics Drivers Version 267.91 which are the only ones that seem to work as in it fixes the screen to the proper resolution and lets me into the NVIDIA control panel yet after about 10-15 mins the screen will go black or the computer will just freeze. Rebooting causes the same issue after 10-15mins    
    I have noticed a few others out there experiencing the same problem but no fixes as of yet any ideas??

    Thankyou for the reply,
    Tested the card in another working machine capable of running and its fine I am sure the PSU I have is more than capable of running this card I ran 2 6970's in xfire on the same PSU and motherboard with no problems.
    I am running it on an 40"BRAVIA LCD and am using the DVI to HDMI converter that came with the GTX590 and I have also tried it with an DVI to HDMI cable also.
    The system is stable under the latest NVIDIA drivers but the display drivers aren't recognized under device manager and the screen resolution is still stuck in the safe mode size, they are shown up as having the same "error 43" and I still can't get access to the NVIDIA control panel.
     I strongly believe this is a driver issue or an issue relating to software within windows. To give you a rundown on several things that I have tried to isolate or fix the issue with is in a list here:
    1. Installed every different version of drivers on an fresh install of windows7 including the latest Beta drivers
    2. Tried to run the GTX590 on another machine and it runs using windows7
    3. Run different graphics card setup using the same PSU RAM and mb on windows7 no problems.
    4. Run the gfx card on only 1 gpu no change.
    5. Last step I will take is to install Windows7 without the SP1 as I have read elsewhere that similar problems have been fixed by doing this if that don't work might just sell my soul to the devil n see if he can fix it lol.  

Maybe you are looking for

  • Adobe CC for Teams

    Hallo liebes AdobeTeam, versuche schon seit 1Stunde wen über tel. und Chat zu erreichen! Hab ein Problem: Bin Berufsfotograf und seit einem Jahr Adobe CC for Teams Nutzer. Habe damals über Ringfoto GmbH das Abo gekauft. Als Österreicher ist das aber

  • DBMS_LOB.WRITE fails to write multi-byte data

    We have Oracle 8.1.6 database, UTF8, and a table with a CLOB column. I'm trying to write some multi-byte data (Japanese) to that CLOB using DBMS_LOB.WRITE(lob_loc,48,1,v_buffer); I get ORA-00600: internal error code, arguments: [711], [25806920], [ko

  • How to use call back function ?

    i have MlEditmanager class which extends xyzManager class. I also want to extend Eventdispatcher .. but it is not possible to extend more than one class ... so the work around can be to create call back function. private var xyz:Function; --> how to

  • Load balancing with eigrp

    does eigrp load balance automatically, say I had 2 serials to one place, would it automatically load balance, how would I turn it off say on one link ?

  • Deleted/Missing Photos?

    I intended to Copy all my 2012 photos from a hard drive to a Passport drive throught Lightroom 4. As the process began I realized they wrere being Moved by mistake so i Canceled the operation by clicking the "X". Now all the 2012 photos are missing f