tpb (thinkpad buttons/OSD] linux, autostart ?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
lambch0ps
Posts: 14
Joined: Sat Sep 01, 2012 9:16 am
Location: Sydney, NSW, Australia

tpb (thinkpad buttons/OSD] linux, autostart ?

#1 Post by lambch0ps » Sat Sep 22, 2012 12:18 pm

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 ?

lambch0ps
Posts: 14
Joined: Sat Sep 01, 2012 9:16 am
Location: Sydney, NSW, Australia

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

#2 Post by lambch0ps » Mon Sep 24, 2012 12:13 am

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

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest