Browse Source

first commit

master
Daniel Napora 1 year ago
commit
ebfbb71680
  1. 3
      README.md
  2. 19
      actions/editasroot.desktop
  3. 12
      actions/openfolderasroot.desktop
  4. 13
      actions/setaswallpaper.desktop
  5. 30
      actions/slideshow.desktop

3
README.md

@ -0,0 +1,3 @@
## mabox-pcmanfm-actions
Custom actions for PCManFM file manager.

19
actions/editasroot.desktop

@ -0,0 +1,19 @@
[Desktop Entry]
Type=Action
Name=Edit as Root
Name[fr]=Editer en tant que root
Name[de]=Bearbeiten als root
Name[pl]=Edytuj jako root
Icon=dialog-password
Profiles=profile-editasroot;profile-editasroot2;
[X-Action-Profile profile-editasroot]
MimeTypes=text/*;
TryExec=geany
Exec=gksu geany %f
Name=Default profile
[X-Action-Profile profile-editasroot2]
MimeTypes=application/x-desktop;
Exec=gksu geany %f
Name=Default profile

12
actions/openfolderasroot.desktop

@ -0,0 +1,12 @@
[Desktop Entry]
Type=Action
Name=Open Folder as Root
Name[pl]=Otwórz katalog jako root
Name[es]=
Icon=dialog-password
Profiles=profile-openfolderasroot
[X-Action-Profile profile-openfolderasroot]
MimeTypes=inode/directory;
Exec=gksu pcmanfm %u
Name=Default profile

13
actions/setaswallpaper.desktop

@ -0,0 +1,13 @@
[Desktop Entry]
Type=Action
Name=Set As Wallpaper
Name[fr]=Définir comme fond d'écran
Name[pl]=Ustaw jako tapetę
Name[es]=Establecer como fondo de pantalla
Icon=user-desktop
Profiles=profile-setaswallpaper
[X-Action-Profile profile-setaswallpaper]
MimeTypes=image/*;
Exec=nitrogen --set-scaled %f --save
Name=Default profile

30
actions/slideshow.desktop

@ -0,0 +1,30 @@
[Desktop Entry]
Type=Action
Name=Run Slideshow
Name[ru]=Запустить слайдшоу
Name[pl]=Pokaz slajdów
Icon=image-x-generic
Profiles=viewnior_on_folder;viewnior_on_images;gpicview_on_folder;gpicview_on_images;
[X-Action-Profile viewnior_on_folder]
TryExec=viewnior
Exec=viewnior --fullscreen --slideshow %f
MimeTypes=inode/directory;
[X-Action-Profile viewnior_on_images]
TryExec=viewnior
Exec=viewnior --fullscreen --slideshow %F
MimeTypes=image/*;
SelectionCount=>1
[X-Action-Profile gpicview_on_folder]
TryExec=gpicview
Exec=gpicview --slideshow %f
MimeTypes=inode/directory;
[X-Action-Profile gpicview_on_images]
TryExec=gpicview
#Bug: gpicview shows other images after selected
Exec=gpicview --slideshow %F
MimeTypes=image/*;
SelectionCount=>1
Loading…
Cancel
Save