I'm testing a feature in psensor that requires root privilege but the app indicator applet didn't show in the unity panel when I launched the app with gksu except when it's started as normal user. Is there any workaround for this?

1 Answer
1

AFAIK, there is only one feature of psensor which requires root privilege, the disk monitoring using the atasmart library (--use-libatasmart). You can use the hddtemp instead. Do you have a specific reason to use libatasmart?

Eventually, you can change the permission of the disk that you want to monitor to avoid the need of being root, but it will open a security hole...

psensor does not use directly dbus, but the appindicator library does...