wok diff pcmanfm/stuff/actions/rootedit.desktop @ rev 25502
Up memtest-efi* (6.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 15 09:58:15 2023 +0000 (17 months ago) |
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 Sun Jan 15 09:58:15 2023 +0000 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"