Mainly annoyed by the loud fan I looked into ways of reducing power consumption of the HP Probook 4720s and came up with this script: #!/bin/sh -e # Increase filesystem write cache timeoutecho 1500 > /proc/sys/vm/dirty_writeback_centisecs # Enable power management on all PCI devices find /sys/devices/pci* -path "*power/control" -exec bash -c "echo auto > '{}'" … Continue reading Reducing HP 4720s power consumption under Ubuntu Linux 11.10
Author: George Georgovassilis
Shortcut icons on Unity desktop
Noteworthy as Unity's turn away from the desktop towards the launcher might be, I'm an old dog and like my screen crowded. The (manual) way to create a new desktop shortcut icon to an application is to create a shortcut file in the Desktop directory, i.e: /home/george/Desktop/Firefox8.desktop And the contents: [Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Firefox … Continue reading Shortcut icons on Unity desktop
The "exe" process on slow Ubuntu bootchart
Ubuntu 11.10 does already a good job at starting faster, but if you've read one of my previous posts on Ubuntu startup time [1] then you know that there is always something to be tweaked for better or for worse. Part of the process is to defer services that are not needed immediately (i.e. printing) … Continue reading The "exe" process on slow Ubuntu bootchart
Adding foreign language dictionaries to Eclipse text editors and mylyn
This article [1] says it all, but here again for greek and linux: sudo apt-get install aspell aspell-el gawk aspell dump master el | awk -F/ '{print $1}' > dictionary_el.txt And then in Eclipse : Window -> Preferences -> General -> Editors -> Text Editors ->Spelling Add dictionary_el.txt as a User Defined Dictionary Update 28.12.2011 … Continue reading Adding foreign language dictionaries to Eclipse text editors and mylyn
NPE when starting Google Dev Mode
After setting up a new Eclipse instance, checking out my current GWT project it's time for a first test, so I fire up the DevMode and: NullPointerException at SwingUI(42) That particular class is part of the GWT DevMode and tries to load an image from the class path by requesting it from SwingUI's class loader … Continue reading NPE when starting Google Dev Mode
