Friday, November 25, 2005

lm-sensors


# sudo apt-get install lm-sensors ksensors
# sudo sensors-detect

- "yes" to all questions

# cat /etc/modules

# I2C adapter drivers
i2c-nforce2
i2c-isa
# I2C chip drivers
eeprom
it87

# sudo /etc/init.d/module-init-tools
# sensors

it8712-isa-0290
Adapter: ISA adapter
VCore 1: +1.39 V (min = +1.42 V, max = +1.57 V) ALARM
VCore 2: +0.00 V (min = +2.40 V, max = +2.61 V) ALARM
+3.3V: +6.53 V (min = +3.14 V, max = +3.46 V) ALARM
+5V: +5.00 V (min = +4.76 V, max = +5.24 V)
+12V: +11.97 V (min = +11.39 V, max = +12.61 V)
-12V: -4.29 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -13.64 V (min = -5.26 V, max = -4.77 V) ALARM
Stdby: +4.95 V (min = +4.76 V, max = +5.24 V)
VBat: +3.07 V
fan1: 0 RPM (min = 0 RPM, div = 8)
fan2: 0 RPM (min = 664 RPM, div = 8)
fan3: 5625 RPM (min = 664 RPM, div = 8)
M/B Temp: +39°C (low = +15°C, high = +40°C) sensor = thermistor
CPU Temp: +41°C (low = +15°C, high = +45°C) sensor = thermistor
Temp3: +25°C (low = +15°C, high = +45°C) sensor = thermistor

- ALT+F2 in KDE -> 'ksensors'

Thursday, November 24, 2005

FreeNX server


# sudo vi /etc/apt/sources.list

deb http://seveas.ubuntulinux.nl/ breezy-seveas all

# sudo apt-get install freenx

- use NoMachine key for a simple setup or generate custom key /var/lib/nxserver/home/.ssh/client.id_dsa.key and import it to NX clients

# sudo nxserver --adduser username
# sudo nxserver --passwd username
# sudo vi /etc/ssh/sshd_config

AuthorizedKeysFile %h/.ssh/authorized_keys2

# sudo /etc/init.d/ssh restart

Wednesday, November 23, 2005

Firefox - user.js


//
// user.js
//
// for Mozilla Firefox 1.0.7+
//
// by Obi Bok
// ----------
// Gmail: obibok
// http://linuxtuneup.blogspot.com
//
// place in ~/.mozilla/firefox/xxxxxxxx.xxxx/
//

// set search from URL Bar using Google
user_pref("keyword.URL", "http://www.google.com/search?btnG=Google+Search&q=");

// display errors in web pages instead of dialog boxes
user_pref("browser.xul.error_pages.enabled", true);

// force frames to be resizable
user_pref("layout.frames.force_resizability", true);

// disable Find As You Type (Find must be invoked manually)
user_pref("accessibility.typeaheadfind", false);

// disable Find As You Type sound
user_pref("accessibility.typeaheadfind.enablesound", false);

// enable automatic highlight in Find As You Type while typing
user_pref("accessibility.typeaheadfind.autostart", true);