Ubuntu :: Auto Suspend After Certain Amount Of Time?

Feb 8, 2011

Most nights I fall asleep watching tv or movies. I want the computer to go to sleep after I do. Under Power Management Properties I have "put computer to sleep when inactive for 1:00" yes - to " spin down hard disks" and "put display to sleep when inactive for 1:00"

I'd say 65% of the time I wake up and the computer is running, not suspended, and 45% of the time the monitor is still on. Over the past 8 months or so I have been trying different media players. I tend to have the same problem of the computer not sleeping with all of them. (Banshee, Miro, xbmc, boxee, vlc, totem, )

1. Is there a process I can look for that may be running some of the time that would hinder the suspend function?

2. Is there a simple script I can write for "suspend in 90 minutes"

3. I think I remember seeing way to do this from the CLI with pm-suspend, yeah?

Edit- I found this http://bit.ly/hpThVM
Things I tested that didn't work
~$ sudo echo pm-suspend | at 12:27
~$ sudo sleep 30s

View 2 Replies


ADVERTISEMENT

Ubuntu :: Make Ubuntu Suspend After A Certain Amount Of Time?

Feb 16, 2011

Is there anyway to have Ubuntu suspend (not sleep) when the computer is idle for about 30 minutes or so?

View 1 Replies View Related

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Software :: Run A Command For A Limited Amount Of Time?

Jul 10, 2011

i have a program for x64 and i need to complile it for x32 bits if somebody knows i will be happy to know!

Here it is:

/*
* timeout - run a command for a limited amount of time
*
* Uses POSIX process groups so that we do the right thing when the controlled
* command forks off child processes.
*
* Author: Wietse Venema.

[Code]...

View 2 Replies View Related

General :: Process - Run A Script For A Specified Amount Of Time Before Stopping And Restarting

Jul 15, 2010

Possibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home application on my Linux workstation. Periodically, it will have trouble logging-in to the home server, and will sit idle for a long time, but not release memory/resources it has claimed (yes, I realize this is likely a bug in the tool, but I can't fix that currently). Typically just the act of killing and starting the tool will allow it to check-in again. So, I would like to be able to run something like:

run_for <time> ./fah6

Does such a tool exist, or should I write a wrapper than nukes the fah6 client after, say, a week and restart it?

View 4 Replies View Related

OpenSUSE :: Firefox 3.5.x Takes Huge Amount Of Time While Adding Addon

Dec 17, 2009

When I search addons with firefox, it takes 4 mins to connect to server, and after approving to ad it, it again takes that much time to connect to download. While downloading it's ok, but connecting to server takes time. This is for all addons. Is there any body having same issue?

View 7 Replies View Related

CentOS 5 Server :: Estimate The Amount Of Time The Backup Will Take And The Size Of The Image File?

Jul 26, 2009

I have a CentOS5 server with a 1tb hard drive.There is only 80gb of data on that huge drive and now I want to make a bare metal recovery backup using AcronisMy question is, how can I estimate the amount of time the backup will take and the size of the image file? Is it based on the size of my drive or is it based on the amount of data on the drive?

View 1 Replies View Related

Ubuntu Servers :: How To Auto Suspend And Wol Depending On Usage

Jan 18, 2010

i have a pc that is set up as a torrent slave / file server and media pc i want to set i up so that is goes in to suspend when there is no need for it to be on. I wnat it to wake at a set time to run a cron script for me, to check if there are any new torrents out, if there are , download an seed to till rtorrent auto stops the seeding (for me thats set at 1:1), then go back in to standby mode, if there are no active downloads then i want it to go back in to standby straight away.

as its also used as a file server, is there any way to have the shares still visable, with the pc in stand by, then when a user accesses it wake up the server, and if there is no activity after a set time out then go back in to standby. i would also like it to wol when i try to ssh in to it as a htpc is runns moovida, i would also like it to only go in to standby mode if i am not playing a video.

View 1 Replies View Related

Fedora :: F14 Bluetooth Mouse Won't Auto Connect After Suspend / Resume?

Dec 11, 2010

I'm running Gnome with the bluetooth applet and I have to explicitly use the applet, select the mouse and tell it to connect. It automatically connects just fine when I boot into windows.

I have the same problem with both a Microsoft bluetooth mouse 5000 and a "BLUETOOTH HID v1.02 Mouse [Interlink Bluetooth Mouse]".

View 4 Replies View Related

General :: Get Output Of Text File Containing Account Number, Debit Amount, Credit Amount,date Using Shell Script?

Apr 9, 2011

How to get output of text file containing account number, debit amount, credit amount,date using shell script?

View 1 Replies View Related

Ubuntu :: Suspend Logs Out Every Time?

Aug 4, 2010

I just (regrettably) did a clean install of 10.04nbr on a Dell Mini 10. I got to wifi and gma500 crap all worked out (almost), but now when I close the lid, and reopen it, I'm greeted with a black screen. I know it's still running, because I can hear the little drum sound of the login screen loading- it's just not displayed to the screen. ctrl-alt-f8 brings it back, but just the login screen. After logging in - I can see that all my apps have been closed. It's like it brings up the wrong tty (sorry if I'm using the wrong wording). I don't know if it's relevant, but I have it set to log in automatically. This is a bit frustrating- I've done some googling and haven't found any relevant information.

View 3 Replies View Related

Ubuntu :: Wake From Suspend Time Increased After Update?

Jul 22, 2011

I am running 11.04. After an update about a week and a half ago, the time to wake from suspend increased from about 3 seconds to well over 40 seconds. It now, sometimes, takes me longer to wake from suspend than a normal boot takes. Has anyone else encountered this problem/found a fix or workaround?

View 1 Replies View Related

Ubuntu :: Waking Automatically From Suspend At Specific Time

Aug 10, 2011

I'm looking to find a way to schedule my computer to wake up at say 7:00am. Every night before I go to bed, I put my computer into suspend so the fan doesn't wake me (old computer). I can't seem to find a task scheduler that allows me to be able to wake the system.

View 6 Replies View Related

Ubuntu :: Standby / Suspend: Fails 2nd Time On 'Freezing User Processes'

Feb 11, 2010

I have what I think is a somewhat different failure of standby than I've seen listed on other threads, and I'm stumped.The system hangs on this for a while, then comes back to the login screen without going into standby. This ONLY HAPPENS on a SECOND standby attempt--the first standby after booting ALWAYS succeeds.The standby log doesn't indicate any failures.I had made other changes previously that temporarily got standby working consistently:/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"

View 1 Replies View Related

Debian :: Squeeze - Freeze Or Kerneloops At Random Time After Suspend

Jun 3, 2010

I'll start at the beginning. The problem i am about to describe occured in ubuntu 9.10 for the first time (https://bugs.launchpad.net/ubuntu/+bug/480850) and is ironically partly responsible for my switching to debian. which i don't regret, but it seems i can't run from the bug any longer because now it's in squeeze, so i want to fix it or make a proper bug report:

Steps to Reproduce:
1: Suspend Laptop to RAM
2: Resume from Suspend
3: Wait and see, preferably monitoring top:
At some random time, ranging from immediately (black screen after resume) to several hours later, the system will become unresponsive. Switching to tty1 or Alt+Print+K does not work, Alt+Print+REISUB does work. Each freeze is anticipated by a random process (this time it was mandb, was installing something) hogging 100% of CPU, then the System becomes gradually unresponsive within a minute or so (panel, metacity, finally mouse cursor freezes too).
Alternatively, in case of a black screen immediately upon resume, Alt+Print+K works (EDIT: or not), and the system remains usable.
Additionally, i don't know if this is related, i noticed one process using 9999% of CPU for a second according to top, just thought i'd mention it.
This bug constitutes a regression, suspend does work flawlessly on this Laptop in Lenny.

The above is how it presented itself at the beginning on a fresh squeeze install, however, after two days of trying, i additionally get kerneloops messages i did not get before (again, after at least one suspend to ram) and after that the system becomes generally unstable (random applications won't properly open or terminate, including nautilus, evolution, iceweasel). Can this be due to secondary damage from the freezes and alt+print+reisubbing repeatedly?

The good news is, apart from this probably already damaged squeeze install, i have another one on one of my playground partitons, where i avoided suspend so far, so i can still try things out there. (it's kde, but i don't think it's related to the desktop environment).

View 8 Replies View Related

Ubuntu :: Auto Logout At Time Of Day?

Feb 10, 2011

I'm trying to get a script that will auto logout user at a certain time of day.I have look all over the web. All I have found in my hunting is a script that will auto logout user after "x" amount of idle time.

View 1 Replies View Related

Ubuntu :: How To Extend Time Before Auto Log Off

Mar 29, 2011

Sometimes I am watching PBS movies on line... and from a period of inactivity, Ubuntu log me off automatically from my movie to the password typing page. How can I extend the time, to avoid being log off automatically. Which command should I use to control that time?

View 2 Replies View Related

Ubuntu :: Enable Auto Login In Only For First Time?

Mar 9, 2011

I am trying to enable the auto login on Ubuntu 9.04 but it has some creteria.The auto login should be only for first time & after the first reboot it should go normal. I tried it by editing gdm.conf file but it allows me to remain auto login permanently, I need to change this value after first reboot

View 7 Replies View Related

Ubuntu :: 11.04, Grub 1.99, Disabling Time-out Auto Load Of OS?

Aug 1, 2011

I have an Ubuntu/Win7 dual boot system with GRUB as my default bootloader, and I am often distracted by other things when I boot up my PC. Is there any way I can stop GRUB from loading linux automatically after it times out? I would prefer if it never timed out, and I could eternally have the OS selection on the screen until I decide to select an OS.Have been reading the GNU Grub Manual, but I can't make heads or tails of some of the more technical stuff yet and I do not know enough about Terminal to know all of the commands they are throwing at me.

View 1 Replies View Related

Debian :: Auto Start Programs In Startup Time?

Sep 27, 2010

How to auto start programs in startup time?

View 4 Replies View Related

Fedora :: Auto Hibernate After Suspending For A Period Of Time

Jul 18, 2011

I currently have fedora 15 installed along side windows 7 on my acer aspire d250. So far it runs great, however I was wondering if there is a way to make fedora 15 hibernate after being in suspend for a period of time, just like windows 7 does. This make sense to me as there is no point in wasting battery life if i can hibernate, but I don't want to hibernate all the time, just suspend for a period of time, like 2 hours, in case I need my netbook again i have quick access to it.

View 2 Replies View Related

General :: Nfs Share Doesn't Auto Mount All The Time

Feb 19, 2009

I have a nfs share that does not automount all the time (may be one out of 10 time it automount properly). I basically have the same line in the fstab on my other 2 computers and no problem on these. I suspect that my wireless connection kick in too late (after fstab). Do you see a solution for delaying a few second the automount of the nfs share.

Code:
# Entry for nfs share on 192.168.1.20 :
192.168.1.20:/mnt/sdb5_data5 /mnt/sdb5_data5 nfs user,sync,rsize=8192,wsize=8192,exec,soft 0 0

View 4 Replies View Related

Server :: Auto Suspend For Home Server

Jun 2, 2009

I'm just setting up my first home server with ubuntu and I would like the box to suspend to ram when no one is accessing it for a while (let's say for 1 hour)The wake up task is already done and is working fine so far; but how can I put the machine to sleep automatically?I guess I have to watch for network-traffic but have no clue how to do it.

View 9 Replies View Related

Ubuntu Installation :: 10.04 Remix Takes Really Long Time To Boot After Auto Update

Jul 12, 2010

I recently broke down in the face of morbid curiosity and clicked that little version update button. it seems to run flawlessly (after i uninstalled the pesky touchpad) but it takes a long time to boot up now. at least a full minute. is this normal?

I will add also that it said my version of grub had been modified (which i dont remember doing, but may have) so i told it to leave the current one in place.

View 2 Replies View Related

OpenSUSE :: How To Configure For Computer Auto Shutdown After A Period Of Time

May 2, 2011

I install Opensuse 11.4 on KDE environment then I changed to XFCE. I don't know how to configure for computer auto shutdown after a period of time don't use it.

View 6 Replies View Related

Ubuntu :: Waking From Suspend, To Tell It Needs To Suspend Due To A Critical Low Battery?

Oct 25, 2010

If I suspend this toshiba satellite, and the battery is or gets low it will wake from suspend to tell me that it will need to suspend due to a critical low battery. Which is pretty dumb. I've experimented with this by plugging and unplugging the ac adapter.

View 1 Replies View Related

Ubuntu :: Pm-suspend-hybrid / Schedule The Laptop To Come Out Of Suspend?

May 23, 2011

3 questions i have about "pm-suspend-hybrid"

1. is it possible to schedule this command in the same manner as shutdown ? eg sudo shutdown -h 60

2. is it possible to schedule the laptop to come out of suspend ?

3. i have a usb sound card (xfi go). when waking from suspend, the internal sound card is selected. i have to manually select the external sound card & for whatever reason, also unmute it too

View 1 Replies View Related

Ubuntu :: Allow Auto-log Off Feature Either An Extended Inactivity Time Or To Disable Inactivity-logouts

Oct 18, 2010

I would like to allow the auto-log off feature either an extended inactivity time or to disable inactivity-logouts.

I use my PC strictly at home, and have no security issues. I've set my username to no-password so that I just click [twice] to log back on. But I must do that to see the screen display - say to see what's playing on Pandora.

Can I set the auto-logout-time somewhere or disable the function?

View 1 Replies View Related

Ubuntu Security :: Ecryptfs Doesn't Auto-decrypt With Auto-login

Jan 6, 2011

I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.

However, then it gives a few errors (as i vaguely recall):

1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc

and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).

View 4 Replies View Related

Ubuntu :: Auto Run (auto Exec) A Script On Mounting A Device?

Mar 16, 2010

I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?

The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:

[URL]... so I would like to create a script with the command

Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.

View 1 Replies View Related







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