Set Monitor Brightness with xbacklight script

Updated September 09, 2008 @ 16:37 PDT

I’m sure that everyone’s ubuntu-based gnome applet for brightness works, but my laptop’s x3100 doesn’t work with it. It does work with xbacklight. Here is simple script for attaching to icon for your gnome panel:

#!/bin/bash

# monitor_switcher

app=`which xbacklight`
current=`$app -get`
ans=$(zenity --scale --text "Set LCD brightness 0-100" --value "${current%%.*}");
$app -set $ans

Just name this something like monitor_switcher and put into path on your system, then you can use wherever to get a basic slider for setting your brightness. Yes, please make it shorter, prettier or just fix the brightness gnome applet which I’m too lazy to do :)

Thinkpad X61 Configs

Updated November 15, 2007 @ 14:58 PST

I got a request for my latest kernel .config and xorg.conf for my Thinkpad X61 laptop. Check below and give feedback:

Custom Email Check for Ctyme.com IMAP Email in Evolution

Updated May 18, 2006 @ 02:30 PDT

So, I’m in China for the next month. And, I’m faced with the problem yet again that my email hosting service, Ctyme, is blocked in China. I found a website, http://www.xs2mail.com, which lets me access this ctyme-based account. However, I still want to be able to access my IMAP email inside of my email program, Evolution.

Does anyone have any ideas on how to do this?

I see that Evolution allows for one to run custom commandline commands. Also, I can run my ctyme email as POP mail as well, but prefer to keep the same setttings inside of Evolution.
I’m thinking best to run some remote command on one of my webservers.

Has anyone else set this up before? I couldn’t find anything about this on the web at all.

So, at least I can check my ctyme.com email account, but now still really want to be able to check my email the normal way!
BTW: The Internet connection I’m using here in Guangzhou is faster than the one in my own house in San Francisco. I’m chucking SBC/ATT DLS once I get back — it is total junk!