wok diff pcmanfm/stuff/actions/slideshow.desktop @ rev 17294

pcmanfm: add few custom actions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 30 01:16:39 2014 +0200 (2014-10-30)
parents
children c4e9dda3e42d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pcmanfm/stuff/actions/slideshow.desktop	Thu Oct 30 01:16:39 2014 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +[Desktop Entry]
     1.5 +Type=Action
     1.6 +Name=Run Slideshow
     1.7 +Name[ru]=Запустить слайдшоу
     1.8 +Icon=image-x-generic
     1.9 +Profiles=viewnior_on_folder;viewnior_on_images;gpicview_on_folder;gpicview_on_images;
    1.10 +
    1.11 +[X-Action-Profile viewnior_on_folder]
    1.12 +TryExec=viewnior
    1.13 +ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')"
    1.14 +Exec=viewnior --fullscreen --slideshow %f
    1.15 +MimeTypes=inode/directory;
    1.16 +
    1.17 +[X-Action-Profile viewnior_on_images]
    1.18 +TryExec=viewnior
    1.19 +Exec=viewnior --fullscreen --slideshow %F
    1.20 +MimeTypes=image/*;
    1.21 +SelectionCount=>1
    1.22 +
    1.23 +[X-Action-Profile gpicview_on_folder]
    1.24 +TryExec=gpicview
    1.25 +ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')"
    1.26 +Exec=gpicview --slideshow %f
    1.27 +MimeTypes=inode/directory;
    1.28 +
    1.29 +[X-Action-Profile gpicview_on_images]
    1.30 +TryExec=gpicview
    1.31 +#Bug: gpicview shows other images after selected
    1.32 +Exec=gpicview --slideshow %F
    1.33 +MimeTypes=image/*;
    1.34 +SelectionCount=>1