first commit

This commit is contained in:
Daniel Napora 2021-01-26 13:25:51 +01:00
commit ebfbb71680
5 changed files with 77 additions and 0 deletions

3
README.md Normal file
View File

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

View File

@ -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

View File

@ -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

View File

@ -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 Normal file
View File

@ -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