wok diff pcmanfm/stuff/actions/rootedit.desktop @ rev 21117
Up reiserfsprogs (3.6.27) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:43:29 2019 +0100 (2019-03-19) |
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 Tue Mar 19 19:43:29 2019 +0100 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"