Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #221076 > unrolled thread

Any way to open Thunar as root beside this?

Started bykaye n <guikaye@gmail.com>
First post2020-04-07 19:50 +0200
Last post2020-04-07 22:50 +0200
Articles 12 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  Any way to open Thunar as root beside this? kaye n <guikaye@gmail.com> - 2020-04-07 19:50 +0200
    Re: Any way to open Thunar as root beside this? kaye n <guikaye@gmail.com> - 2020-04-07 19:50 +0200
      Re: Any way to open Thunar as root beside this? john doe <johndoe65534@mail.com> - 2020-04-07 20:00 +0200
        Re: Any way to open Thunar as root beside this? kaye n <guikaye@gmail.com> - 2020-04-07 21:00 +0200
          Re: Any way to open Thunar as root beside this? "Alexander V. Makartsev" <avbetev@gmail.com> - 2020-04-07 22:00 +0200
    Re: Any way to open Thunar as root beside this? Alexis Grigoriou <alexis@nanoid.net> - 2020-04-07 21:40 +0200
      Re: Any way to open Thunar as root beside this? Cindy Sue Causey <butterflybytes@gmail.com> - 2020-04-07 22:40 +0200
        Re: Any way to open Thunar as root beside this? David Wright <deblis@lionunicorn.co.uk> - 2020-04-08 05:40 +0200
      Re: Any way to open Thunar as root beside this? Keith Bainbridge <ke1th3216@zoho.com> - 2020-04-08 05:30 +0200
      Re: Any way to open Thunar as root beside this? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-08 09:00 +0200
        Re: Any way to open Thunar as root beside this? Keith Bainbridge <ke1th3216@zoho.com> - 2020-04-09 02:30 +0200
    Re: Any way to open Thunar as root beside this? Joe <joe@jretrading.com> - 2020-04-07 22:50 +0200

#221076 — Any way to open Thunar as root beside this?

Fromkaye n <guikaye@gmail.com>
Date2020-04-07 19:50 +0200
SubjectAny way to open Thunar as root beside this?
Message-ID<zT0wh-2tn-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello Friends!

I was just wondering if there are  easier ways to open Thunar file manager
as root?

Right now what I do is this:

Open xfce4-terminal,
Execute:  sudo thunar
Type my password.

Not a big deal but if there is an easier way I'd like to know.

Thank you!

[toc] | [next] | [standalone]


#221077

Fromkaye n <guikaye@gmail.com>
Date2020-04-07 19:50 +0200
Message-ID<zT0wi-2tn-15@gated-at.bofh.it>
In reply to#221076

[Multipart message — attachments visible in raw view] — view raw

On Wed, Apr 8, 2020 at 1:40 AM kaye n <guikaye@gmail.com> wrote:

> Hello Friends!
>
> I was just wondering if there are  easier ways to open Thunar file manager
> as root?
>
> Right now what I do is this:
>
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
>
> Not a big deal but if there is an easier way I'd like to know.
>
> Thank you!
>

By the way, my system:
Host: laptop
Kernel: 4.19.0-6-amd64 x86_64
bits: 64
Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)

[toc] | [prev] | [next] | [standalone]


#221078

Fromjohn doe <johndoe65534@mail.com>
Date2020-04-07 20:00 +0200
Message-ID<zT0FX-2wN-3@gated-at.bofh.it>
In reply to#221077
On 4/7/2020 7:42 PM, kaye n wrote:
> On Wed, Apr 8, 2020 at 1:40 AM kaye n <guikaye@gmail.com> wrote:
>
>> Hello Friends!
>>
>> I was just wondering if there are  easier ways to open Thunar file manager
>> as root?
>>
>> Right now what I do is this:
>>
>> Open xfce4-terminal,
>> Execute:  sudo thunar
>> Type my password.
>>
>> Not a big deal but if there is an easier way I'd like to know.
>>

What is the issue?:
- Entering pwd when prompted
- Opening XFCE for terminal

--
John Doe

[toc] | [prev] | [next] | [standalone]


#221081

Fromkaye n <guikaye@gmail.com>
Date2020-04-07 21:00 +0200
Message-ID<zT1C1-36k-5@gated-at.bofh.it>
In reply to#221078

[Multipart message — attachments visible in raw view] — view raw

On Wed, Apr 8, 2020 at 1:50 AM john doe <johndoe65534@mail.com> wrote:

> On 4/7/2020 7:42 PM, kaye n wrote:
> > On Wed, Apr 8, 2020 at 1:40 AM kaye n <guikaye@gmail.com> wrote:
> >
> >> Hello Friends!
> >>
> >> I was just wondering if there are  easier ways to open Thunar file
> manager
> >> as root?
> >>
> >> Right now what I do is this:
> >>
> >> Open xfce4-terminal,
> >> Execute:  sudo thunar
> >> Type my password.
> >>
> >> Not a big deal but if there is an easier way I'd like to know.
> >>
>
> What is the issue?:
> - Entering pwd when prompted
> - Opening XFCE for terminal
>
> --
> John Doe
>

No issue at all. I was just wondering if there was another way.  In another
distro, I press Ctrl+Alt+Space and type 'gksu filemanager' and type my
password, that's it.  I find it much easier. Plus there's no terminal open
in the background.

But like I said, not a big deal. Just asking if there's another way besides
opening terminal and typing 'sudo thunar' then password.

That's all.
Thanks

[toc] | [prev] | [next] | [standalone]


#221086

From"Alexander V. Makartsev" <avbetev@gmail.com>
Date2020-04-07 22:00 +0200
Message-ID<zT2y5-3Gp-1@gated-at.bofh.it>
In reply to#221081

[Multipart message — attachments visible in raw view] — view raw

On 07.04.2020 23:55, kaye n wrote:
> On Wed, Apr 8, 2020 at 1:50 AM john doe <johndoe65534@mail.com
> <mailto:johndoe65534@mail.com>> wrote:
>
>     On 4/7/2020 7:42 PM, kaye n wrote:
>     > On Wed, Apr 8, 2020 at 1:40 AM kaye n <guikaye@gmail.com
>     <mailto:guikaye@gmail.com>> wrote:
>     >
>     >> Hello Friends!
>     >>
>     >> I was just wondering if there are  easier ways to open Thunar
>     file manager
>     >> as root?
>     >>
>     >> Right now what I do is this:
>     >>
>     >> Open xfce4-terminal,
>     >> Execute:  sudo thunar
>     >> Type my password.
>     >>
>     >> Not a big deal but if there is an easier way I'd like to know.
>     >>
>
>     What is the issue?:
>     - Entering pwd when prompted
>     - Opening XFCE for terminal
>
>     --
>     John Doe
>
>
> No issue at all. I was just wondering if there was another way.  In
> another distro, I press Ctrl+Alt+Space and type 'gksu filemanager' and
> type my password, that's it.  I find it much easier. Plus there's no
> terminal open in the background.
>
> But like I said, not a big deal. Just asking if there's another way
> besides opening terminal and typing 'sudo thunar' then password. 
>
> That's all.
> Thanks
>  
You can create a custom .desktop file by using "exo-desktop-item-edit"
[1] utility:
       $ exo-desktop-item-edit --create-new -t Application --name
"Hazardous Thunar" --comment "Open Thunar with elevated rights"
--command "pkexec /usr/bin/thunar" --icon "Thunar" ~/Desktop/
This command will create application file named "Hazardous Thunar" on
your Desktop.
You can create a new item for your application panel [2], using Launcher
plugin, in the same manner.
gksu\gksudo is now deprecated, so you have to use "pkexec" to launch
files as root with GUI dialog. Fortunately Thunar already comes with
polkit [3] action file, so you don't have to make a custom one.

[1] https://docs.xfce.org/xfce/exo/desktop-item-edit
[2] https://docs.xfce.org/xfce/xfce4-panel/start#panel
[3] https://wiki.debian.org/PolicyKit

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

[toc] | [prev] | [next] | [standalone]


#221085

FromAlexis Grigoriou <alexis@nanoid.net>
Date2020-04-07 21:40 +0200
Message-ID<zT2eJ-3zf-3@gated-at.bofh.it>
In reply to#221076
On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
> Hello Friends!
> 
> I was just wondering if there are  easier ways to open Thunar file
> manager
> as root?
> 
> Right now what I do is this:
> 
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
> 
> Not a big deal but if there is an easier way I'd like to know.
> 
> Thank you!

You could press Alt-F2 and enter sudo thunar.
Since I don't use sudo, I can't test if it works. But I can see no
reason why it shouldn't work.

[toc] | [prev] | [next] | [standalone]


#221089

FromCindy Sue Causey <butterflybytes@gmail.com>
Date2020-04-07 22:40 +0200
Message-ID<zT3aN-49A-11@gated-at.bofh.it>
In reply to#221085
On 4/7/20, Alexis Grigoriou <alexis@nanoid.net> wrote:
> On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
>> I was just wondering if there are  easier ways to open Thunar file
>> manager as root?
>>
>> Right now what I do is this:
>>
>> Open xfce4-terminal,
>> Execute:  sudo thunar
>> Type my password.
>>
>
> You could press Alt-F2 and enter sudo thunar.
> Since I don't use sudo, I can't test if it works. But I can see no
> reason why it shouldn't work.


I actually tried that myself a little bit ago. It didn't work. The
reason I thought to try it is that I *have* had that work for
something in the past. I'm guessing it maybe worked on either a
different Debian release or different Linux distribution entirely..

That ALT+F1, F2... I stopped doing that only with this Dell Inspiron
Duo laptop I'm on. Takes too much coordination of my fingertips
because I have to (keep remembering to) hit Fn+ALT+F2 for it to
function.

It seems like there's a toggle switch somewhere that triggered a "Hey,
wonder what THAT CHOICE does when you click it?" moment. Whatever that
option is, what it (apparently) does is make you have to toss in that
Fn key on regular occasions that you don't use it for on other
keyboards...

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed (sometimes stuck up under the keycaps) *

[toc] | [prev] | [next] | [standalone]


#221105

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2020-04-08 05:40 +0200
Message-ID<zT9Jf-8gj-5@gated-at.bofh.it>
In reply to#221089
On Tue 07 Apr 2020 at 16:35:19 (-0400), Cindy Sue Causey wrote:
> On 4/7/20, Alexis Grigoriou <alexis@nanoid.net> wrote:
> > On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
> >> I was just wondering if there are  easier ways to open Thunar file
> >> manager as root?
> >>
> >> Right now what I do is this:
> >>
> >> Open xfce4-terminal,
> >> Execute:  sudo thunar
> >> Type my password.
> >
> > You could press Alt-F2 and enter sudo thunar.
> > Since I don't use sudo, I can't test if it works. But I can see no
> > reason why it shouldn't work.
> 
> I actually tried that myself a little bit ago. It didn't work. The
> reason I thought to try it is that I *have* had that work for
> something in the past. I'm guessing it maybe worked on either a
> different Debian release or different Linux distribution entirely..
> 
> That ALT+F1, F2... I stopped doing that only with this Dell Inspiron
> Duo laptop I'm on. Takes too much coordination of my fingertips
> because I have to (keep remembering to) hit Fn+ALT+F2 for it to
> function.
> 
> It seems like there's a toggle switch somewhere that triggered a "Hey,
> wonder what THAT CHOICE does when you click it?" moment. Whatever that
> option is, what it (apparently) does is make you have to toss in that
> Fn key on regular occasions that you don't use it for on other
> keyboards...

The mode you appear to be describing is selected in the BIOS on this
Lenovo laptop, where it's described as HotKey Mode. When enabled, the
✈F7 key, for example, will put the Wireless into airplane mode, and you
need to hold down Fn to get the real F7 function. I disable HotKey Mode,
so that you have to hold down Fn to get ✈.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#221103

FromKeith Bainbridge <ke1th3216@zoho.com>
Date2020-04-08 05:30 +0200
Message-ID<zT9zz-8d9-1@gated-at.bofh.it>
In reply to#221085
On 8/4/20 5:31 am, Alexis Grigoriou wrote:
> You could press Alt-F2 and enter sudo thunar

Or is that gksu thunar


But I recall a similar question a few weeks back. Perhaps xfce doesn't 
support gksu any longer.  I recall that it did back when I used it.



-- 
Keith Bainbridge

ke1th3216@zoho.com
+61 (0)447 667 468

[toc] | [prev] | [next] | [standalone]


#221108

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-04-08 09:00 +0200
Message-ID<zTcQO-1Hs-5@gated-at.bofh.it>
In reply to#221085

[Multipart message — attachments visible in raw view] — view raw

On Ma, 07 apr 20, 22:31:18, Alexis Grigoriou wrote:
> 
> You could press Alt-F2 and enter sudo thunar.
> Since I don't use sudo, I can't test if it works. But I can see no
> reason why it shouldn't work.

It won't work if sudo needs to prompt for a password (because there's no 
terminal).
 
Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#221117

FromKeith Bainbridge <ke1th3216@zoho.com>
Date2020-04-09 02:30 +0200
Message-ID<zTteV-3kV-11@gated-at.bofh.it>
In reply to#221108
On 8/4/20 4:57 pm, Andrei POPESCU wrote:
> On Ma, 07 apr 20, 22:31:18, Alexis Grigoriou wrote:
>>
>> You could press Alt-F2 and enter sudo thunar.
>> Since I don't use sudo, I can't test if it works. But I can see no
>> reason why it shouldn't work.
> 
> It won't work if sudo needs to prompt for a password (because there's no
> terminal).
>   
> Kind regards,
> Andrei
> 

alt-f2 used pop-up a box to enter the password, if needed
-- 
Keith Bainbridge

ke1th3216@zoho.com
+61 (0)447 667 468

[toc] | [prev] | [next] | [standalone]


#221090

FromJoe <joe@jretrading.com>
Date2020-04-07 22:50 +0200
Message-ID<zT3kt-4da-3@gated-at.bofh.it>
In reply to#221076
On Wed, 8 Apr 2020 01:40:38 +0800
kaye n <guikaye@gmail.com> wrote:

> Hello Friends!
> 
> I was just wondering if there are  easier ways to open Thunar file
> manager as root?
> 
> Right now what I do is this:
> 
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
> 
> Not a big deal but if there is an easier way I'd like to know.

I think you've been answered, but let me try the usual thing of
answering a different question.

Do you really need Thunar as root very often? I very occasionally use
Nautilus as root, so I don't mind the extra step. I'm careful to close
it immediately I've finished the job, I would be scared to leave a root
file manager open that looked exactly like my normal file manager. And
this is on a sid workstation, which is expendable.

I do almost all root work in mc, in a terminal window. There are only a
few things that a file GUI makes easier, and mc contains a simple text
editor and quite a few useful shortcuts. My server doesn't have X, so
it's mc by default there. 

But the main reason is that I find it easier to remember I'm in a risky
environment when I'm using mc. I'm just automatically much more
cautious. Maybe it's distant memories of Norton Commander on DOS...

-- 
Joe

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web