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