Ubuntu :: HELP! Automatic Idle Shutdown Script (resurrected)

Apr 23, 2010

I found this script on another forum post (HERE) from a couple of years back.It doesn't work anymore for some reason and I'm looking for some assistance in making it work now. I really need to cut down my electric bill and my son is constantly leaving his desktop on for hours on end.Any gurus out there up to the challenge?I am attempting to re-write the "inactive=" line using w instead of who but I'm not having much luck yet.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Take A Screenshot Before Automatic Shutdown?

Jun 4, 2010

Is there a way to take a screenshot just before the "shutdown" terminal command? for example "sudo shutdown -h 90" for 90 minutes timer shutdown, and just before turning off to take a screenshot.

View 1 Replies View Related

OpenSUSE :: Augh ... Automatic Shutdown At Wit's End

Jul 19, 2010

after having far too many problems with other brown-coloured distros, I moved my MythTV box to SuSE (what all the other machines here use). Everything is working, EXCEPT for one thing: automatic idle shutdown. I cannot get MythWelcome to shut down the machine automatically (choosing shutdown now from it's menu does work). The log shows sudo: sorry, a password is required to run sudo (sudo -n) or the infamous "no tty and no askpass". (plain sudo)

I have added /sbin/shutdown to the sudoers file, and I can run sudo /sbin/shutdown -h now from the terminal and shutdown without a password... but sudo will NOT run from mythtv. I've even tried adding a special exception to the sudoers file, "Defaults !requiretty" with no luck. This is a dedicated frontend/backend with no user access (doesn't boot a desktop manager; goes straight to Mythtv) so I'm no too worried about potential security; the machine is on a LAN and cannot be accessed from the WAN side.

View 4 Replies View Related

General :: Need Script For Automatic Shutdown

Jan 14, 2011

I need a script for shutdown the system automatically if the system is not disturbed for last 10 minutes.

By the way i am using RHEL 4 in my system.

View 2 Replies View Related

General :: Hibernate And Automatic Shutdown Does Not Work / Get It?

Jun 29, 2011

I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down (either to hibernate or as part of, you know, shutdown), it doesn't. All the programs end, I am logged out, but I still have a picture on the screen (ubuntu default picture).

View 7 Replies View Related

CentOS 5 :: Laptop Automatic Shutdown On Low Battery Not Working

Aug 28, 2010

I'm trying to make my system automatically shutdown once the battery level is low, but still without success. I've tried kpowersave, gnome-power-manager, kpower, klaptop but none of these worked for me. Well, I can't imagine I would be that stupid, but simply it doesn't work. In all cases mentioned above (kpower, klaptop, gnome-power-manager) I've tried to setup the laptop to shutdown once the defined level is reached, but the laptop never actually switched off unless all the battery was drained.

Btw. I think all the above mentioned apps only work once the user is logged in. But I'd like the solution to work also when the PC is on without anyone logged in. I thought I could write a bash script based on parsing of acpitools output and define it as a service, which would monitor the battery level, but I simply don't believe there isn't any functional solution to this.

View 3 Replies View Related

Ubuntu :: Prevent Automatic Shutdown/hibernate/sleep When Critical Battery Reached ?

Aug 8, 2010

I'm trying to make the power manager NOT automatically shutdown / sleep / hibernate when battery power of my laptop reaches critical

I am surprised there isnt an 'NO ACTION' option for that in power manager

I've tried editing the acpi-supper in /etc/default bu couldn't find a solution in there nor in the /home/user/.gconf/apps/gnome-power-manager/ directory

View 7 Replies View Related

General :: CPUs Keep Toggling Between 100%idle And 0% Idle

Mar 22, 2011

When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.

The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.

What is causing this?

Code:

View 8 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .

Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?

View 1 Replies View Related

Ubuntu :: Monitor Out Of Sync During Boot And Shutdown (also Shutdown Hang)?

Jun 30, 2010

when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part

View 4 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.

[Code]....

View 2 Replies View Related

Ubuntu :: Can't Shutdown Without Running Sudo Shutdown

Jun 20, 2010

I cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.

View 9 Replies View Related

Ubuntu :: Randomly Pop Up The Shutdown Menu And Then Shutdown?

Sep 7, 2010

Ubuntu will randomly pop up the shutdown menu and then shutdown.It seems to happen when im in firefox and typing and it has been difficult to replicate. I dont think it is a temp issue since watch sensors shows temmp of 40-50C. Someimtes it happens every minute someimtes i can go 10min without it happening.

Dell Inspiron 1525
ubuntu 10.04 (only os on system)

View 3 Replies View Related

Ubuntu :: Shutdown Command Like Shutdown Button?

Dec 10, 2010

looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).

View 9 Replies View Related

General :: Locate Shutdown Log For Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE)

Apr 22, 2010

I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.

I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.

I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.

That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.

View 2 Replies View Related

Ubuntu :: Gdm Suspend On Idle

Aug 24, 2010

Is it possible to have the machine suspend when idle at the gdm login screen? I understand it is possible when a user is logged in through the System > Preferences > Power Management controls. What is happening is that the computer is sitting at the login screen and stays on, wasting power. I'd like it to suspend/sleep after a timeout.

View 3 Replies View Related

Ubuntu :: Root Using 100% Cpu On Idle / What Is Going On?

Aug 25, 2010

I've got 10.04 running and I just couldn't believe how slow it was, even playing a simple ..... video is jumpy, compared to xp on the same machine, this is 3 times slower..

A quick look at top tells me root has 100% cpu at all times. Nothing is running.

Any ideas what is going on?

View 9 Replies View Related

Ubuntu :: Non-Fatal Hang When Idle

Feb 20, 2010

I've had this bug on pretty much all Linux distro's I've tried in the last few months, but because I love Ubuntu and I can't seem to find this bug reproduced anywhere (though I'm not sure it's a bug worth reporting if it's just me) I decided to bring it here: Whenever a program that is not resource intensive (for example, Update Manager while it's downloading packages) is running for around 20 seconds, and I am not typing or moving my mouse, the system will hang. It will sit there for hours on end unless I move the mouse or hit a key.

Worse yet, it will hang on boot and shutdown too. I often have to hit a key to get the hard drive to start reading again and for anything else to happen for that matter. I'm using Ubuntu 9.10 on a relatively new laptop, but like I said before, it's happened on a bunch of distros: Debian, openSUSE, Fedora... I just have no idea what could be causing it at this point.

View 1 Replies View Related

Ubuntu :: Disable A Certain USB Port When PC Is Idle?

May 14, 2010

I have a USB powered LED light attached to my pc. ( I keep my cave dark and this little light perfectly lights up my desktop and keyboard) I would like to be able to turn off the USB port the LED light is attached to when the PC goes to idle and dims my monitors and when the PC goes back to active I would like the LED light to come back on.

View 4 Replies View Related

Ubuntu :: 10.04 Does Not Auto Clock Down CPU When Idle

Jul 7, 2010

When I'm on windows 7 my core i3 processors automatically clocks down when not much CPU power is needed. Somehow I have the idea that ubuntu 10.04 doesn't auto clock down my CPU when idle. I can tell by the short life my full battery has on ubuntu. Only 2hours compared to 5 on windows 7. Is there a way to manage this? So that the CPU automaticly adjusts it's clock settings?

View 3 Replies View Related

Ubuntu :: Prevent Idle Script

Sep 7, 2010

I need a script to prevent the laptop becoming idle, because if I don't move the mouse a few seconds everything stops. I tried everything so please don't ask about the problem.There is such a script or someone can create one for me?

View 1 Replies View Related

Ubuntu :: Get A Python Shell And Idle?

Dec 23, 2010

how do i get a python shell and idle on Ubuntu? so i can start learning how to write codes.

View 1 Replies View Related

Ubuntu :: Computer Shuts Down When Idle?

Feb 2, 2011

Sometimes, when I leave my Ubuntu's X Server on, I'll come back after several minutes and see that my machine is powered off. Sometimes this happens, sometimes it doesn't, but I don't think it's because of hardware failure rather than my lack of measurement.

It used to power off in terminal mode (CTRL+ALT+F1) but then I added this to ~/.bashrc and it went away:

Code:
if [ "${USER}" == "root" ]
then
export TMOUT = 3600
fi

Also, I checked my logs and I see this:

Code:
Feb 2 00:00:09 l1nux AptDaemon: INFO: Quiting due to inactivity
Feb 2 00:00:09 l1nux AptDaemon: INFO: Shutdown was requested

Since it's not a CRITICAL message, but an INFO, it seems like its a planned shutdown.

Does anyone know how I can turn this feature off?

View 3 Replies View Related

Ubuntu :: Run A Program On System-idle?

Apr 8, 2011

Torrents client kills my Internet connectivity so bad I can't even use a web-browser whilst it's on -- pages take like five minutes to load -- I often forget to turn on my torrent client. Which led me to wonder if there's a way I can launch a script on system idle?

View 1 Replies View Related

Ubuntu :: Printer Idle - Job Prints Like 5 Min Later

Apr 27, 2011

I have an HP J4680 all in one that, for some reason, does not process the print job immediately when I send it. When I open my printer's properties it will list the printer's state as idle and when I go into the print que it tells me the job is scheduled for . . . (some time) which is, I think, about 5 min later by the clock on the task bar. I've been all over the settings and don't see anything that looks like it applies to that. Usually I've been restarting the printer and computer and then it will print when I send the job. Tonight I waited until the time and it did print according to the scheduled time. I need to find a way to always have it print right when I send the job.

View 2 Replies View Related

OpenSUSE Install :: OpenSUSE 11.4 Delayed Shutdown While Pressing The Shutdown Button?

Mar 12, 2011

I did a live upgrade from 11.3 KDE and observe a following issue.When I press the shutdown button on the laptop it initiates the shutdown and shuts down fine but after a significant delay of time (something like 30 seconds). When I click the shutdown button in KDE it initiates the shutdown instantly. This was not the case in 11.3 where the shutdown worked the same regardless of the method that triggered it

View 6 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

Ubuntu :: Wireless Internet Drops When Idle?

Feb 4, 2010

since ive upgraded to ubuntu 9.10 i have noticed that when i leave my computer for a while or just stop using it or leave it idling my internet connection drops. my comp doesnt hibernate or go to stand by. does anyone know any reasons for this? or know how to stop this? its hard to download something when my comp drops the internet connection.

View 3 Replies View Related

Ubuntu :: Custom Command On System Idle?

Mar 22, 2010

I was messing around with Compiz today and it got me to wondering if I can create a custom command when my system goes to idle, instead of launching the screen saver. I want to start the Compiz Rain effect on system idle. is this possible?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved