Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-10-09 18:48:17

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

how I can make copy, paste as a root custom actions in thunar?

I use the custom actions (context menu item) in thunar, I found edit as root  item, and open folder as root,etc
but i wish if there r ways to make copy as root and paste as root and delete as root cutom actions in cotnext menu, is there way for that?

Offline

#2 2022-10-12 06:03:16

PaperNick
Member
Registered: 2013-05-26
Posts: 107

Re: how I can make copy, paste as a root custom actions in thunar?

Hey, I don't think there's an easy way to achieve this with a custom action. Because you probably have to type in your root password after every paste/delete action.

Instead, you can create an action which opens Thunar in the current directory as root. Then you can do your copy/paste/delete operations there:

Name: Open a root Thunar here
Command:

pkexec thunar %f

Appearance Conditions: Check "Directories"

Offline

#3 2022-10-12 18:03:25

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: how I can make copy, paste as a root custom actions in thunar?

PaperNick wrote:

Hey, I don't think there's an easy way to achieve this with a custom action. Because you probably have to type in your root password after every paste/delete action.

there is defaut action name is send to if i know it's command i can use pkexec before it , and i think it will be easy, do u know the command of send to?

Offline

#4 2022-10-12 18:43:54

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: how I can make copy, paste as a root custom actions in thunar?


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 520.3 KiB (Peak: 521.15 KiB) ]