Ubuntu – Remove packages from /var/cache

Read Me

How to backup an entire partition

The most straight forward way to make a raw image of your partitions is to use dd to dump the entire partition to a single file (remember the OS access the partitions /dev/sda1 through a file interface). Make sure you are on a larger partition or on a secondary drive and perform the following command dd if=/dev/hda1 of=./part1.image to backup(repeat for different partitions) dd if=./part1.image of=/dev/hda1 to restore You […]

Read Me

Logout gracefully from KDE

For KDE 3.x, I use the command: $ dcop –all-sessions –user username ksmserver default logout 0 0 0 For KDE 4.x, make sure the environment variable DBUS_SESSION_BUS_ADDRESS is set for the appropriate session. You can usually find this in /usr/home/username/.dbus/session-bus/. Then use the command: $ qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 0 0

Read Me

How to add apache Basic Auth password

All passwords in the file must be encoded. To do so issue:

  you will be promped for password

Read Me

Restart ubuntu sound system

 

Read Me