Page 1 of 1

[SOLVED] Need Help with tpb for Thinkpad X60 in Fluxbox

Posted: Fri Apr 11, 2008 6:59 am
by ilych
I am trying to get my FN+home and FN+end brightness keys working in Fluxbox. They worked out of the box in GNOME and after installing tpb, tpb's display also shows up in GNOME but still not in Fluxbox. Following this tutorial, I did the following:

lsmod | grep nvram (to check if the nvram group is running)
sudo adduser <your user> nvram (to add my user to the nvram group)
sudo apt-get install tpb (installed tpb)
sudo gedit /etc/tpbrc (do I need to edit this file for it work? I tried uncommenting #FN and #NVRAM /dev/nvram but all to no avail)

Then I added 'tpb &' to ~/.fluxbox/startup then ctrl+alt+backspace to restart X. In the list of processes (ps aux), I see tpb running, but FN+home and FN+end does not work. What else do I need to do so that tpb will work in fluxbox?

The thinkwiki website that is suggested a lot on this forums has not been helpful (it doesn't provide any help on this subject).

Thanks,
ilych

MOD EDIT: Moved...

Posted: Fri Apr 11, 2008 12:24 pm
by stgreek
First, check that the /dev/nvram node does not have 0600 permissions, in which case adding yourself to the group does nothing. I assume it doesn't, since you say it is working in GNOME. I remember having a similar problem and I had fixed it by delaying the execution of tpb by a few secs to allow it to run after fluxbox (openbox in mycase) had loaded.

Have you tried to start it from a terminal while running Fluxbox and then pressing FN+Home? What do you get in the terminal?


(note: this is a rather generic Linux question, so maybe it is better to move it to the Linux forum)

Posted: Fri Apr 11, 2008 5:59 pm
by ilych
Thanks for your reply, stgreek.

I found a solution using this thread: http://ubuntuforums.org/showthread.php?t=503233&page=4