Page 1 of 1

tpb (thinkpad buttons/OSD] linux, autostart ?

Posted: Sat Sep 22, 2012 12:18 pm
by lambch0ps
Hey, I recently installed tpb onto my thinkpad x60 running linux mint 13 [32bit], but when I try running the commad, I get the following :

Image

Code: Select all

XXXX@XXXX-ThinkPad-X60 ~ $ tpb
Unable to open device /dev/nvram: Permission denied
XXXX@XXXX-ThinkPad-X60 ~ $ sudo tpb
[sudo] password for XXXX: 
This process is currently running setuid or setgid.
GTK+ does not allow this therefore Qt cannot use the GTK+ integration.
Try launching your app using 'gksudo', 'kdesudo' or a similar tool.

See http://www.gtk.org/setuid.html for more information.

It does run and display a rudimentary OSD after I sudo it.

How would I get it to run on startup, so I dont need to open up terminal and put in the command just to see the OSD ? Could i do it without giving it superuser privileges ?

Re: tpb (thinkpad buttons/OSD] linux, autostart ?

Posted: Mon Sep 24, 2012 12:13 am
by lambch0ps
I figured it out, what needs to be done is :

Code: Select all

aptitude reinstall tpb
Then run it with :

Code: Select all

tpb -d
Source :
....... There's a bunch of other little configuration things that I do to xfce, but not worth mentioning. Easy enough to make it your own, however you want. Yay xfce. I will say I prefer the Prune style window manager and a blueish desktop. And for stuff like .Xmodmap and tpb to work you have to open a terminal and run

gsf@magnum:~$ xmodmap ~/.Xmodmap
gsf@magnum:~$ tpb -d

Oh, except tpb -d spits back

Unable to open device /dev/.static/dev/nvram: Permission denied

This happens because tpb was installed before we had moved to the new kernel and udev, so I do a aptitude reinstall tpb as root and rerun tpb -d as gsf and we're good to go. ......



http://rc98.net/x31install