Friday, February 1, 2013

Hopefully useful

Bash One-Liners :: bashoneliners.com

Vim..delete first 5 characters in a line
:%s/^.\{5}//gic

Monday, November 26, 2012

Backup list of Installed applications - Debian based distributions

To back up a list of all installed applications:

Backup installed package list on current machine
dpkg --get-selections > installed_stuff.txt

move installed_stuff.txt to the new machine

dpkg --set-selections < installed_stuff.txt

Thursday, August 30, 2012

Ubuntu 12.04 - classic menu

http://www.ubuntugeek.com/how-to-install-classicmenu-indicator-in-ubuntu-12-04precise.html

From the link above:

Open the terminal and run the following commands
sudo apt-add-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install classicmenu-indicator

Restart the computer

Monday, March 5, 2012

LXDE - Screensaver settings

Found out that you can change the screensaver settings with the LXDE window manager by going to a terminal and typing xscreensaver-demo. This pops up the demo window, which has the controls available,

Tuesday, December 13, 2011

Avahi daemon taking up 100% of the processor.

It seems that there is a bug that makes the avahi-daemon overuse the processor - https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/655835. Avahi is a similar thing to Bonjour on the Mac and is for finding other people to chat to, printers to print to etc. http://avahi.org/

To stop it run:

/etc/init.d/avahi-daemon stop

Sunday, September 18, 2011

Changing Start Icon in Ubuntu 10.10

Create or find a new icon 24X24 pixels in png format.

sudo mv win98-start.png /etc/alternatives/start-here-24.png

To see the new icon.

killall gnome-panel

To get a theme fairly close to win98 for Ubuntu use the win2k theme from http://art.gnome.org/themes/metacity