Ubuntu 9.10: 32 and 64 Bit Benchmark

Posted on 31 October 2009 - 20:23 in Ubuntu - Comments (1)

To 64 bit or not to 64 bit.

64 bit has some advantages and disadvantages compared to 32 bit.
+ possible to address more than 4GB RAM
+ better performance with various tools
- not all applications are 64 bit available
- more RAM space used due larger pointers and data types

Well, well, lets see what it does in general usage…

(more…)


Tip: Suspend or hibernate without root access [update]

Posted on 7 September 2009 - 14:43 in Ubuntu - Comments (0)

Gnome 2.30 (Ubuntu 10.04) renamed the DeviceKit.Power to UPower:

$ echo 'dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Hibernate' | at now + 30 minutes

There’s also suspend.
Shutdown (Stop) and Reboot (Restart) works over the system call: org.freedesktop.ConsoleKit

Or use this tool

Pre Gnome 2.30

As of Ubuntu 9.10, the gnome-power-cmd doesn’t exist anymore..but…
D-Bus to the rescue!!

Hibernate after 30 Minutes:

$ echo 'dbus-send --system --print-reply --dest=org.freedesktop.DeviceKit.Power /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Hibernate' | at now + 30 minutes

There’s also suspend.
Shutdown, reboot and logout works over the session call: org.gnome.SessionManager

Or use this tool

Pre Ubuntu 9.10:

Suspend:

$ gnome-power-cmd suspend

Hibernate after 30 Minutes:

$ echo 'gnome-power-cmd hibernate' | at now + 30 minutes
job 1 at Mon Sep  7 15:10:00 2009

You can review and delete any queued job with:

$ atq
1	Mon Sep  7 15:10:00 2009 a wag
 
$ atrm 1

The gnome-power-cmd also accepts shutdown and reboot.


10min: Create Debian packages

Posted on 8 May 2008 - 21:30 in Ubuntu - Comments (1)

Ever wanted to pack your scripts into .deb packages?

Here we go…

You need:

  • ‘devscripts’ package (over apt-get)
  • your script(s)
  • 10 minutes

(more…)


This work is licensed under a Creative Commons Attribution 2.5 Switzerland License
Powered by WordPress