elementary os 15 添加Open folder as root

sudo gedit /usr/share/contractor/Open_as_admin.contract

[Contractor Entry]
Name=Open folder as root
Icon=gksu-root-terminal
Description=Open folder as root
MimeType=inode;application/x-sh;application/x-executable;
Exec=/usr/bin/io.elementary.files-pkexec
Gettext-Domain=pantheon-files

 

posted @ 2020-08-31 22:13  Areas  阅读(145)  评论(0编辑  收藏  举报