Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sir I am using Debian wheezy stable AMD64bit version. Can you please suggest how to hibernate my system. Is there any gui to perform the hibernation. Can we configure the system to go into hibernation after specified amount of time as in windows OS if yes so please suggest the procedure.
Sir I am using Debian wheezy stable AMD64bit version. Can you please suggest how to hibernate my system. Is there any gui to perform the hibernation. Can we configure the system to go into hibernation after specified amount of time as in windows OS if yes so please suggest the procedure.
AGAIN, since you have ignored these things in several of your other posts:
THERE ARE NOT JUST SIRS ON THIS SITE. Starting off every post with "Sir" isn't a good idea.
Yes, there are GUI's for it, but (again), you provide no details like which desktop environment (KDE? Gnome? Other?) that you're using, so we can't tell you if there's an applet/plasmoid/whatever for your environment, or where to look.
I'm not sure what "hibernate" means (when not applied to bears). Is that the same as "Lock Screen"? You need to enter your password to unlock it. If it is then with KDE 4.8.4 you just right-click on the desktop and a menu appears. You can then click on the "Lock Screen" item which has a beautiful picture of a lock to its left.
jdk
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Coincidentally I just decided to play with hibernate on my system today and found this guide to be very helpful: http://chriseiffel.com/everything-li...11-04-mint-11/
Other guides seem to overcomplicate things when for me at least it was a simple matter of:
Create swap partition larger than RAM (It could be the same, but I decided larger for the time being).
Set entry in fstab to mount UUID of swap partition as swap.
Turn on swapping.
Add a resume line to grub using UUID of swap partition.
Add a resume file in /etc/initramfs-tools/confd pointing to the UUID of the swap partition and run update-initramfs.
Now I can (just about) hibernate my machine.
(I still have the problem that my machine doesn't shutdown properly on hibernate so I need to press the power button but that's likely due to one of my external drives being a little faulty or something. Resume works properly, however.)
I am providing my hardware details below
AMD FX 4100 64bit CPU
Gigabyte 78lmt s2p motherboard
8GB DDR3 RAM
500GB harddisk of which I have dedicated 300GB to root partition and 8GB for swap partition
I want to use all the desktops available in wheezy stable and so I want to know whether any GUI utilities are available for commonly used desktops like gnome,kde,lxde etc.,
I recently heard about s2disk can anyone explain about it.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I'm not sure I understand what your problem is?
If you have a swap partition and you did a normal desktop install of Debian as far as I know your system will be set up to be able to hibernate already. If it is then to hibernate your machine you just go to the session menu (where you can log out) and select the hibernate option instead. If there is no option for that then you perhaps need to change some settings in your DE.
If hibernate isn't set up then see the link in my previous post for some tips.
Once you have hibernate working through the session menu then you can take a look at things like hibernating when idle for a period of time. That's not something I've looked into though I have to admit.
Last edited by 273; 05-27-2013 at 12:34 PM.
Reason: typos
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I suggest you read all the links suggested and try to understand as much as you can, then perhaps ask here if you're not sure.
In short hibernating goes like this:
Save contents of RAM into swap file or partition.
Shut down computer.
Then waking it up goes like:
Boot kernel.
Copy contents of swap into RAM.
It really is as simple, and as complicated, as that.
I am providing my hardware details below
AMD FX 4100 64bit CPU
Gigabyte 78lmt s2p motherboard
8GB DDR3 RAM
500GB harddisk of which I have dedicated 300GB to root partition and 8GB for swap partition
There's little benefit in revoking from sata only.
If it's meant to be a "security/stability" buffer, make your swap twice as big.
Quote:
Originally Posted by rupeshforu
I recently heard about s2disk can anyone explain about it.
It's no more than yet an other wrapper for existing Linux stuff using either your kernel or/and uswsusp (provivdes the ram part in user space).
s2disk => saves the state of your system to disk (not RAM) and powers off.
s2ram => suspends it to ram. (not recommended, full loss of power will cause it to lose data)
s2both => saves the state to disk and suspends it to ram, no need to power off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.