[xubuntu-users] Open Thunar as Root?

Tayfun Duran tayfunduran at gmail.com
Wed Nov 4 22:13:40 UTC 2009


For the way below, User Customizable Actions (thunar-uca) plugin must
be installed. I'm not sure, whether it is installed by default.
Tayfun


2009/11/5 Tayfun Duran <tayfunduran at gmail.com>:
> Hi,
> I use the way below.
> In the Edit menu of the Thunar, there is an User Customizable Actions
> item. When you click, it will open a window. Press the plus button on
> the right side. Now you can type the name like "Open by root", then a
> description. And then command:
> gksu thunar %d
> Select an icon if you wish.
> Then select the Appearance Conditions tab. Check only Directories.
> Click OK. Click Close.
> Now if you right click on a directory, there will an "Open by root"
> context menu item.
> Sorry for my english.
>
> If you type command like "gksu mousepad %f" for the text files, there
> will be item to open text files with root privileges.
>
> Tayfun
>
>
> 2009/11/4 Jim Campbell <jwcampbell at gmail.com>:
>>
>>
>> On Wed, Nov 4, 2009 at 2:59 PM, Pasi Lallinaho <open at knome.fi> wrote:
>>>
>>> Robin wrote:
>>> > Hi, me again...
>>> >
>>> > I have some favorite wallpapers that I wanted to add to Xubuntu's
>>> > collection but they were all "padlocked." Despite changing permissions
>>> > for those folders I couldn't copy and paste them from /pictures into
>>> > /usr/share/xfce4/backgrounds.
>>> >
>>> > I installed pcmanfm because it has an option to "open current folder as
>>> > root," so I was able to do what I wanted. But I wonder if I missed
>>> > something in Thunar. Shouldn't I have been able to move those files
>>> > without having to use a whole 'nother file manager?
>>> >
>>> > And if not, will I totally bork my system if I remove Thunar and just
>>> > use pcmanfm (rather than have two applications that do the same job)?
>>> >
>>> > Thanks,
>>> > Robin
>>> > (still excited about Xubuntu anyway)
>>> >
>>> >
>>> >
>>> You can open Thunar as root by pressing Alt+F2 (xfrun4) and running
>>> 'sudo thunar'.
>>>
>>
>> Actually, the command to open graphical applications as root on (x)ubuntu is
>> gksudo.  This article [1] explains the difference between using sudo and
>> gksudo to open an application that uses a GUI.
>>
>> So, Pasi's comment is correct.  Just use gksudo instead of sudo.  I hope
>> this helps!
>>
>> Jim
>>
>> [1] http://psychocats.net/ubuntu/graphicalsudo
>>
>> --
>> xubuntu-users mailing list
>> xubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>>
>>
>




More information about the xubuntu-users mailing list