wok view pcmanfm/stuff/actions/slideshow.desktop @ rev 20354

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 09 16:13:52 2018 +0200 (2018-06-09)
parents cce2b600b834
children
line source
1 [Desktop Entry]
2 Type=Action
3 Name=Run Slideshow
4 Name[ru]=Запустить слайдшоу
5 Icon=image-x-generic
6 Profiles=viewnior_on_folder;viewnior_on_images;gpicview_on_folder;gpicview_on_images;
8 [X-Action-Profile viewnior_on_folder]
9 # if viewnior installed
10 TryExec=viewnior
11 # for folders only
12 MimeTypes=inode/directory;
13 # if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg
14 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')"
15 Exec=viewnior --fullscreen --slideshow %f
17 [X-Action-Profile viewnior_on_images]
18 # if viewnior installed
19 TryExec=viewnior
20 # for any type of images
21 MimeTypes=image/*;
22 # if few images selected
23 SelectionCount=>1
24 Exec=viewnior --fullscreen --slideshow %F
26 [X-Action-Profile gpicview_on_folder]
27 # if gpicview installed
28 TryExec=gpicview
29 # for folders only
30 MimeTypes=inode/directory;
31 # if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg
32 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')"
33 Exec=gpicview --slideshow %f
35 [X-Action-Profile gpicview_on_images]
36 # if gpicview installed
37 TryExec=gpicview
38 # for any type of images
39 MimeTypes=image/*;
40 # if few images selected
41 SelectionCount=>1
42 #Bug: gpicview shows other images after selected
43 Exec=gpicview --slideshow %F