SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-01-31 08:19:13

tatlisub
Member
Registered: 2013-01-26
Posts: 38
Website

Shutdown when idle - (poweroff after screensaver)

How can i do this with waldorf ? my computer doesnt support s3 sleep functions and i dont want to use s1-hibernate, so please help me out guys


thanks

Last edited by tatlisub (2013-02-02 10:40:06)


spender.me  - Join and share how much money you spent.

Offline

Be excellent to each other!

#2 2013-02-02 03:04:45

shengchieh
#! Die Hard
Registered: 2009-01-07
Posts: 616

Re: Shutdown when idle - (poweroff after screensaver)

Does increasing the time for screensaver to tick in help?
I.e., settings -> screensaver.   Your solution might be
to turn off hibernation.  Does locking the screen before
it sleeps help?

Sheng-Chieh

Offline

#3 2013-02-02 10:02:44

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Shutdown when idle - (poweroff after screensaver)

Perhaps you need poweroff or halt, (not quite sure what you are asking for).
Maybe you want screen locking.

Last edited by fatmac (2013-02-02 10:03:59)


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#4 2013-02-02 10:39:15

tatlisub
Member
Registered: 2013-01-26
Posts: 38
Website

Re: Shutdown when idle - (poweroff after screensaver)

i cant find how to start the script -  "poweroff" when screensaver appears....


spender.me  - Join and share how much money you spent.

Offline

#5 2013-02-02 12:38:54

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Shutdown when idle - (poweroff after screensaver)

Sorry, I think you have misunderstood - poweroff, shutdown & halt are linux commands.

A screensaver only blanks the screen whilst you are away from your computer to stop prying eyes seeing what you are up to, it can be set up so that a password is needed to unlock it.


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#6 2013-02-02 13:00:28

tatlisub
Member
Registered: 2013-01-26
Posts: 38
Website

Re: Shutdown when idle - (poweroff after screensaver)

hmm... nice.

so there is no way to poweroff a computer with an attached screensaver-command?


spender.me  - Join and share how much money you spent.

Offline

#7 2013-02-02 13:13:58

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Shutdown when idle - (poweroff after screensaver)

Not that I know of, however, you may be able to use 'acpi' settings to get what you want.
All I can suggest is to take a look at that. It is what puts a computer into standby mode, maybe it can be made to poweroff after a set idle time.


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#8 2013-02-02 13:25:35

dkeg
#! Die Hard
From: Mid-Atlantic Grill
Registered: 2011-12-05
Posts: 716

Re: Shutdown when idle - (poweroff after screensaver)

why incorporate a screensaver if the goal is to just shutdown.  If you're your using say xfce4-power-manager, I think you can set for poweroff after a specified amount of inactivity.  screensavers generally manage screen lock and monitor blanking after inactivity.   You could also set for poweroff when lid is shut


grill it | the rocky path may just be the best path

Offline

#9 2013-02-02 16:56:14

tatlisub
Member
Registered: 2013-01-26
Posts: 38
Website

Re: Shutdown when idle - (poweroff after screensaver)

i have added those to my crontab, pc is not gonna shutdown when its idle but in specific hours,.

59 02 * * * /sbin/shutdown -h -P now
59 23 * * * /sbin/shutdown -h -P now
50 18 * * * /sbin/shutdown -h -P now

Last edited by tatlisub (2013-02-02 16:56:56)


spender.me  - Join and share how much money you spent.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo