Page 1 of 1

[Solved] Open Thunar as root.

PostPosted: Apr 25th, '15, 14:10
by Citroen
Hi all,

I'm used to a feature where I can open Thunar as root with just a rightclick.
In Thunar I go to, edit and configure custom actions.

In there I create a new one.

Normally, it looks like this and it opens gedit, but gksu doesn't seem to work with Mageia. (It is in Dutch, but I think it is clear what I mean)
What is the correct command?

Image

Re: Open Thunar as root.

PostPosted: Apr 25th, '15, 14:38
by ozky
Have you installed gksu first ? i found this guide from network but it configure it same way you did..
http://www.distrogeeks.com/add-open-roo ... rch-linux/

Re: Open Thunar as root.

PostPosted: Apr 25th, '15, 15:36
by Citroen
No I didn't install gksu, thought it wasn't working with Mageia, I'll give it a try.
(Why didn't I find this link myself... :roll: )

Thanks.

Re: Open Thunar as root.

PostPosted: Apr 26th, '15, 12:44
by ozky
Package name is gksu-polkit what you need to install.

Re: Open Thunar as root.

PostPosted: Apr 26th, '15, 18:52
by Citroen
Yep, thanks, opens as root now.

Re: Open Thunar as root.

PostPosted: Apr 26th, '15, 18:53
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: Open Thunar as root.

PostPosted: Apr 26th, '15, 18:59
by Citroen
Ow yes, sorry, I forgot.

Re: [Solved] Open Thunar as root.

PostPosted: Apr 26th, '15, 19:03
by doktor5000
np ^^

Re: [Solved] Open Thunar as root.

PostPosted: Apr 26th, '15, 19:26
by Citroen
I only have to find out how to do this with folders, gksu thunar, gksu thunar %f doesn't do the job.

Re: [Solved] Open Thunar as root.

PostPosted: Apr 26th, '15, 20:32
by doktor5000

Re: [Solved] Open Thunar as root.

PostPosted: Apr 26th, '15, 20:50
by Citroen
Nope, both possibilities won't open thunar.

The same feature works in Manjaro, there I have gksu thunar only, no %f or %N

Re: [Solved] Open Thunar as root.

PostPosted: Apr 27th, '15, 21:10
by doktor5000
No clue, you may have to ask in XFCE forums for that.

Re: [Solved] Open Thunar as root.

PostPosted: Apr 28th, '15, 08:51
by ozky
Take a look this manjaro linux forum post it can solve that problem,as Mageia missing some configuration to thunar and gksu-polkit.
https://forum.manjaro.org/index.php?topic=792.0

Re: [Solved] Open Thunar as root.

PostPosted: Apr 28th, '15, 21:38
by doktor5000
What configuration do we miss in particular? The last post only mentions the custom actions that Manjaro provides by default: https://forum.manjaro.org/index.php?top ... 51#msg6651
The problem there was caused by the OP typing "Thunar" instead of "thunar" - linux is case sensitive after all, there is no command "Thunar".

Re: [Solved] Open Thunar as root.

PostPosted: Apr 29th, '15, 16:35
by ozky
We don't miss any configuration yes those are only custom actions...... maybe i need to go to eye doctor :)