commit ebfbb71680ac25533018dc21777461decd226cf3 Author: Daniel Napora Date: Tue Jan 26 13:25:51 2021 +0100 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..f770092 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +## mabox-pcmanfm-actions + +Custom actions for PCManFM file manager. diff --git a/actions/editasroot.desktop b/actions/editasroot.desktop new file mode 100644 index 0000000..1152fd4 --- /dev/null +++ b/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 diff --git a/actions/openfolderasroot.desktop b/actions/openfolderasroot.desktop new file mode 100644 index 0000000..52bcc23 --- /dev/null +++ b/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 diff --git a/actions/setaswallpaper.desktop b/actions/setaswallpaper.desktop new file mode 100644 index 0000000..829b769 --- /dev/null +++ b/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 diff --git a/actions/slideshow.desktop b/actions/slideshow.desktop new file mode 100644 index 0000000..9ebac3f --- /dev/null +++ b/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