mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
f35358cbe7
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
15 lines
515 B
Text
15 lines
515 B
Text
|
|
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
|
|
|