You are not logged in.
I was adding some custom actions to Thunar with the help of this page: http://docs.xfce.org/xfce/thunar/custom-actions
When I came to "Opening a root Thunar" the instructions:
Name: Open a root Thunar here
Command: gksu thunar %f
File pattern: *
Appears if selection contains: Directories
Note: Some distributions no longer include gksu. Use pkexec instead.
fell over whereby XFCE PolKit would correctly ask for the password but then nothing would happen (in this case, Thunar did not launch with root privilege).
When looking for the solution, I came across this on the net: http://askubuntu.com/questions/198128/t … 755#675755. Following the instructions, it does indeed work and I have been succesfully able to add various actions with root to Thunar.
My question is - is this best practice? Or is there a better way than the above "dirty little trick"?
Offline
Another workable option would be to follow gksu with -S so that the Command would look like this: gksu -S thunar %f
Logic will get you from A to B. Imagination will take you everywhere. <> Albert Einstein
Offline