wok diff pcmanfm/stuff/actions/rootedit.desktop @ rev 17303
pcmanfm: edit actions.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 31 18:33:48 2014 +0200 (2014-10-31) |
parents | cce2b600b834 |
children |
line diff
1.1 --- a/pcmanfm/stuff/actions/rootedit.desktop Thu Oct 30 01:16:39 2014 +0200 1.2 +++ b/pcmanfm/stuff/actions/rootedit.desktop Fri Oct 31 18:33:48 2014 +0200 1.3 @@ -6,5 +6,8 @@ 1.4 Profiles=file_root_edit; 1.5 1.6 [X-Action-Profile file_root_edit] 1.7 -Exec=subox "editor %f" 1.8 +# don't show for root 1.9 +ShowIfTrue=test $(whoami) != root 1.10 +# for any type of text 1.11 MimeTypes=text/*; 1.12 +Exec=tazbox su "editor %f"