aboutsummaryrefslogtreecommitdiff
path: root/system/xfsudo/README.Slackware
blob: 0624bcd0c1ac5028a44cd106d082b07291a63cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

1) To create a right click entry in Thunar which will open the current directory with
root privileges, following custom action (Edit -> Configure custom actions) can be added:

Name: Thunar root
Description: Open directory with root privileges in Thunar
Command: xfsudo thunar %d

2) Similarly to create a right click entry which will edit the current file with
root privileges, following custom action can be added:

Name: Edit as root
Description: Edit file with root privileges in gvim
Command: xfsudo gvim %f