slackbuilds_ponce/system/xfsudo/README.Slackware

16 lines
515 B
Text
Raw Normal View History

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