Ubuntu CLI hibernate with slim gnome

30/05/2009

keith@l400:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           244        239          5          0          9        135
-/+ buffers/cache:         94        150
Swap:          768          8        759
keith@l400:~$ df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda5                 7976      1368      6203  19% /
tmpfs                      123         0       123   0% /lib/init/rw
varrun                     123         1       123   1% /var/run
varlock                    123         0       123   0% /var/lock
udev                       123         1       123   1% /dev
tmpfs                      123         0       123   0% /dev/shm
lrm                        123         3       121   2% /lib/modules/2.6.28-11-generic/volatile

A slimmed down Ubuntu Gnome desktop with no applications other than Firefox installed. Adding GIMP and openoffice took another 560+Mb, but the installation is still just on 2Gb.

Method from a Distrowatch article based on Intrepid but all still works on Jaunty.

An answer on Ubuntuforums and a previous thread about pmi, a command line interface to power management tools, give me hope about being able to hibernate and suspend from a dwm on Xorg with no desktop manager system. See

I’d better explain

  • Stock Ubuntu: hibernate works when you set the Power Options settings so that the lid closed action is hibernate
  • Stock Ubuntu with a new session and a different window manager (e.g. dwm) close lid does not hibernate, but if you install pmi-interface you can issue a command from your user terminal ‘pmi action hibernate’ that will cause hibernation.
  • I’m now going to re-install a CLI system and install just pm-utils uswsusp acpi-support pmi-interface and see what happens. Can I hibernate from a CLI only system? Once I answer that question, some way of trapping the lid closing event will manifest itself.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: