Skip to content

Commit

Permalink
Translations, cleanup, Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stefonarch committed Jan 24, 2020
1 parent 5af67d7 commit d819411
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 21 deletions.
Empty file added Nuovo file di testo.txt
Empty file.
40 changes: 38 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
# custom-actions
Custom actions for pcmanfm-qt and other filemanagers

# Custom actions for Pcmanfm-qt and LXQt Desktop

Following actions are present:

### Text files

(for Featherpad; otherwise modify to your prefered editor):

* Edit as root
* Edit as text

### Audio files

* Modify mp3 tags (kid3-qt))
* Convert format (SoundKonverter)

### Image files

* Set as wallpaper

### Folders:

* Share with samba (foldershare script)

### All files:

* Attach to email (Thunderbird)
* Remove (only for files - using rm, permanent, no confirm!)



## Installation

Copy manually the actions of your interest to ~/.local/share/filemanager/actions
and the needed scripts to ~/bin or another directory in your $PATH.
Refer to comments in the .desktop files.

12 changes: 11 additions & 1 deletion actions/Modifica_tag_ID3.desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
[Desktop Entry]
Type=Action
Name=Converti con soundKonverter
Name=Convert with SoundKonverter
Name[it]=Converti con SoundKonverter
Name[es]=Convierte con SoundKonverter
Name[de]=Mit SoundKonverter konvertieren
Name[pt]=Converta com SoundKonverter
Name[fr]=Convertir avec SoundKonverter
Name[nl]=Converteer met SoundKonverter
Name[pl]=Konwertuj za pomocą SoundKonverter
Name[ru]=Конвертировать с помощью SoundKonverter
Name[cz]=Převést pomocí SoundKonverter

Icon=soundkonverter
Profiles=profile-zero;

Expand Down
13 changes: 12 additions & 1 deletion actions/edit-tag-mp3.desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
[Desktop Entry]
Type=Action
Name=Modifica tag mp3

Name=Modify mp3 tags
Name[it]=Modifica tag mp3
Name[es]=Modificar etiquetas mp3
Name[de]=MP3-Tags ändern
Name[pt]=Modificar tags mp3
Name[fr]=Modifier les balises mp3
Name[nl]=Wijzig mp3-tags
Name[pl]=Zmodyfikuj tagi mp3
Name[ru]=Изменить mp3 теги
Name[cz]=Upravit mp3 značky

Icon=kid3-qt
Profiles=profile-zero;

Expand Down
1 change: 1 addition & 0 deletions actions/edit_as_txt.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Name[sr]=Отвори као текст
Name[sr@latin]=Otvori kao tekst
Name[sv]=Redigera

MimeTypes=text/plain;
Profiles=profile-zero;
[X-Action-Profile profile-zero]
Exec=featherpad %F
Expand Down
8 changes: 0 additions & 8 deletions actions/empty-trash.desktop

This file was deleted.

15 changes: 12 additions & 3 deletions actions/rootedit.desktop
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
[Desktop Entry]
Type=Action
Name=Modifica come root
Name=Edit as root
Name[it]=Modifica come root
Name[es]=Editar como root
Name[de]=Oeffnen mit Root-Rechten
Name[pt]=Editar como root
Name[fr]=Modifier en tant que root
Name[nl]=Bewerken als root
Name[pl]=Edytuj jako root
Name[ru]=Редактировать как root
Name[cz]=Upravit jako root
Icon=dialog-password
Profiles=profile-zero;

[X-Action-Profile profile-zero]
MimeTypes=text/plain;
Exec=lxsudo juffed %f
Name=Default profile
Exec=lxsudo featherpad %f
Name=Default profile
19 changes: 13 additions & 6 deletions actions/smb-share.desktop
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
[Desktop Entry]

Type=Action
Name=Share folder with Samba
Name[it]=Condividi cartella con Samba
Name[es]=Compartir carpeta con Samba
Name[de]=Ordner mit Samba teilen
Name[pt]=Compartilhar pasta com o Samba
Name[fr]=Partager le dossier avec Samba
Name[nl]=Map delen met Samba
Name[pl]=Udostępnij folder Sambie
Name[ru]=Поделиться папкой с Samba
Name[cz]=Sdílejte složku se Samba

Icon=document-share

Name=Condividi cartella con Samba

Profiles=profile-zero;



[X-Action-Profile profile-zero]

SelectionCount==1

MimeTypes=inode/directory;

# Uncomment the first line below for simple use or the second one for using with the
# foldershare script; edit path correctly!
#Exec=net usershare add %w %f '' Everyone:R guest_ok=y'
Exec=/home/stef/bin/foldershare %w %f
#Exec=/path/to/foldershare %w %f

0 comments on commit d819411

Please sign in to comment.