Ubuntu :: Cannot Find Option To Set Hibernation Time
Feb 21, 2010
This may be a noob question, but I can't find the option to set the computer to hibernate after a given idle time. In the Power options there is an option to suspend, but not to hibernate.
Have been using Ubuntu 9.10 since past 2 months and had similar power and screen saver options as I do now after upgrading to 10.04. ( "sleep" after 1 h, "lock screen" after 10 min, "hibernate" when "close lid" on a Dell 600m laptop)
With Karmic, Never had issues with closing the lid while the laptop was sleeping. Three times in a row noticed that if the lid is closed while laptop is in sleep mode, opening the lid results in a blank screen, HDD and CD drive spins, fan turns on. No response to keyboard and/or mouse. Pressing the power key: no response.
The only solution is to shut-down by holding the power key down for a few seconds and reboot. Cant imagine why there would be a problem, but wondering if there are others who also see the same thing and if there is fix to this. Right now, have disabled sleep and will see if problem shows up.
way to hibernate at a specific time or after a some minutes (like 40 minutes to an hour, guess the exact time doesnt matter anyway). normally i shutdown my comp at night with
Code: sudo shutdown - P HH:MM
which works just fine, but sometimes i have like 4 workspaces of stuff open that i'm working on so i'd rather just hibernate. shutdown -H does this halt thing that is really not my cup of tea so from the aformentioned googling i found out about at and sleep and crontab etc. but at and sleep cant recieve my sudo password beforehand so its useless and crontab is for repetitive scheduling, which i'd like to avoid cause i would hate to be working and suddenly have my forgotten crontab script hibernate me.
so is there any way to do a delayed hibernation? or at least some way to provide the sudo password to an at or sleep prefixed command, beforehand?
i'm only interested in doing it straight up through the terminal, not through other 3rd party software cause i tried a few of those before i found out about shutdown and they didnt work very well.
I am looking for the log messages where I can find out what time my netbook hibernated? I have checked in the /var/log. And all I could see was pm-suspend.log and pm-powersave.log.
Is there one which would tell me what time my computer hibernated? The reason for this is when I go out I leave my netbook running on the battery. When the battery get to about 5% it will hibernate. I just what to see what time it did hibernate?
Since I tested with suspending/hibernating my laptop, the system seems to have lost the swap partition. That is to say: it cannot find it at boot anymore. Some message shows during boot like "waiting for device listed in fstab: swap" or something and then it continues toboot normally. When I start the systemmonitor it reports Swap usage 0 byte out of 0 byte.
I checked my devices with Code: blkid in terminal and it lists one of the partitions with its UUID as TYPE="swap".
Then I opened fstab with Code: sudo mousepad /etc/fstab and noticed the line for the swap partition was using a completely different UUID. After changing the UUID to the correct (new) one and reactivatin swap with Code: sudo swapon -a in terminal, all was well again but...
How could the UUID suddenly have changed? Did that indeed have something to do with trying (and failing) Suspend and Hibernate ? If so, should I stay away from those features (that served me well under Windows) or is there something to be done about it?
I just had a thought of something I would like to do But I'm not entirely sure how to do. I have a desktop dual booting Karmic and server 2003. Mostly I boot into Ubuntu but when i have to boot into server I usually forget to scroll down and select my Windows partition.
What I want to do is have a script where I can specify a one time boot option. As in, I want to run a script, have it reboot my computer and tell grub to boot into Windows server 2003, but not effect future reboots or cold boots. Is there any way to achieve this?
I want to recompile apache so I can select a different MPM compile time option. I have looked in the graphical application manager, but I don't see a development version of apache like you do for many of the packages. Am I not looking in the right place for the source code for the Apache 2.2.17 available with FC14?
Alternatively, I can download the source from apache.org for 2.2.17. However, the install options default to a host of different directories than the FC14 version does. Being somewhat OCD I hate to mess up my FC14 system by installing to a bunch of anomalous directories, and I don't want to break anything. I can change the default install directories, if I knew what the FC14 apache 2.2.17 was compiled with. There is an httpd-devel-2.2.17-1 package. But the description makes it sound like it is for developing additional modules. I want to recompile the main httpd-2.2.17-1 package. Does anyone know if this is a possibility?
I am trying to understand these two examples for setting up user-callback option in back in time application. I am trying to modify this to suit my needs, Back in time homepage has some basic info, but very terse, same with the man page. The following two examples are the only references I could find. first one from here - [URL] I don't want email to be sent, just an update to the log file will be fine.
I have installed centos 5.4 with samba 3.0.33-3.15. Now this server is PDC for a domain with 20 xp client. I want to set the "password must change" option in the samba user detail.Now I have this configurationmaximum password age = 68256000maximum password age = 0with pdbedit -Lv pippo
I am using ubuntu 10.4 and cannot find add/remove programs in applications at all, it just isn't listed there. Is there anyway for me to download it. I've looked in software centre and cannot see it.
I would like to upgrade from Opera 10.10 to 10.60. I can't figure out how to do this. I thought it was supposed to give me the choice to make a fresh install or upgrade, but there is no such thing that I can find. I have looked on the Opera Downloads page and on the Synaptic package manager page. Neither of them give me the option to upgrade, only a new install. I would like to keep my old preferences, passwords, etc. I need to upgrade to fix the problems with unresponsive flash players (....., etc.)
I cannot install g++ on my ubuntu...i can't find the option foe the G++ compiler in the Ubuntu Software centre...and while typing G++ in the terminal I get a message that tells me to add some pentium...
I installed screenlots daemon program, and it's great, but I can't find option to hide screenelts when there is a window over them. So, if I open window I want to hide screenlets and I want that they appear only on desktop and dissapear when I open a window.
I am running OSX Tiger (10.4.11) here on my trusty old G4 MDD with a "giga" 1.4gig CPU accelerator and doing quite well with it actually.I have discovered Gimp and Inkscape and love the open source concept.I registered only a few days ago, and have been lurking around to see if I can get a look at Ubuntu in action.Would it be possible to install some version of Ubuntu on a partition of one of my internal hard drives and be able to boot it, using the option key at power-up time?I guess this would be called a "dual-boot" situation.If so, can someone provide a link as to what to download.
I feel rather daft asking this but I can't find the option. I have gftp connected to a remote site and I want to edit a file. I click on the edit option and get an error that I must specify an editor in the options dialogue. I can't find the options dialogue can someone tell me where it is.
I have upgraded to 10.10 from 10.04, a a200 laptop, real old desktop (Pentium 4 with sdram), and did a complete install on a I5 with 4G of ram without any problems at all. However I could not find the "software source" option that was under Administration in 10.04 and earlier. I am in Australia and getting all of the updates from the main U.S. based server is a really slow. I used the optus server before and got much quicker updates. Is there a choose server option in 10.10 that I missed?
When using make menuconfig - under Device Drivers --> Character Devices --> there should be an option with the label "Enhanced Real Time Clock Support" (CONFIG_JS_RTC).
The problem is that this option seems to only show up while using the menu method when other options are either enabled or disabled and I've entirely forgotten what should be what. I swear fingered it out once.
This is on an older computer (P4) so HPET is no good.
You would think that disabling the HPET option would enable the RTC option but that does not appear to be the case.
I understand I can just add the option to the .config file and avoid this hassle but I'm very interested to know how to make this work.
To show my appreciation I will do something nice for you such as call you a nice name or tell you that you are pretty (or ugly if that's what you prefer).
I just installed ubuntu on my d620.The wireless card seems to exist and looks fine but I don't know how to turn it on.It says the network is disabled everywhere I look but I can't find the option to turn it on.I know this is probably simple. Below is the output from various commands.I included my service tag which you can use on the dell site to find specifics about my hardware.I can't do ifconfig wlan0 up which is the only solution I've found online so far.
I am using 9.10(64bit). I want to add custom .wav sound as system sound theme.i.e when i close a program ubuntu will play a sound(custom). I can't find any option on sound preference menu. I searched in google but failed to find any useful post.
Recently, I reinstalled(recovered) Vista in my dual boot (with FC12) HP Laptop. After Vista recovery, I did not find any option to boot FC12. I tried to install grub in rescue mode from my Fedora DVD with command "$grub-install /dev/sda", but could not succeed. There was a message like 'grub-install not found in /sbin'.
i'm using WICD as my wireless network manager. wicd 1.6.2.1 on slackware 13. I need to configure dynamic WEP with authentication, user name and password like shown on the pic. i couldnt find that option in wicd properties or configuration,
I am trying to automate an svnadmin dump command for a backup script, and I want to do something like this:
find /var/svn/* ( ! -name dir -prune ) -type d -exec svnadmin dump {} > {}.svn ;
This seems to work, in that it looks through each svn repository in /var/svn, and runs svnadmin dump on it.
However, the second {} in the exec command doesn't get substituted for the name of the directory being processed. It basically just results a single file named {}.svn.
I suspect that this is because the shell interprets > to end the find command, and it tries redirecting stdout from that command to the file named {}.svn.
I want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
I want to find the cumulative CPU time used by each process between two points (defined by the user, e.g. running a command or clicking a button).
A first stab at this would be running
Code: ps -eo pid,cputime
at the beginning of the interval and at the end, then doing some arithmetic on the two sets of results. But this only shows whole seconds of cputime ... and what about processes that started and stopped during the interval?
what i wanted to do was find all the files with a specific name from a tree, sort them by modification time and have their directory appended to them so that i knew where they were (because they all have the same name). i tried a whole bunch of different things and finally did this:
this did the trick pretty well, but as you can see it is far from elegant and i think i'm doing some things wrong and kludgy
first thing i tried was "ls -lRt | grep world.sav" which worked except i couldnt distinguish the files because there were no directories. that took a lot of looking till i accepted i couldnt make ls print directories as well and append them to the files somehow that their relationship would be clear. i tried piping ls to find, doing it in reverse, passing them from grep etc. etc. until i read some more stuff online that got me using gawk and sort. the questions:
1. is there some other, more elegant and simple way to do this kind of detection and sorting?
2. is there any way to use a pipe after using exec? the semicolon seems to prevent this entirely, forcing me to use an intermediate file as above. i could just remove it later, but i'd prefer a straight piping.
I have to write one Shell script where i have to find one word in current generated log.Log name has specific format like 'NAME_DDMMYY_HHMMSS'.log.Each time i have to go and check the word in newly generated log.How can i pass the newly generated log name in my Script?