Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP KDE] Ajouter une action dans le menu contextuel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Bobyl
n00b
n00b


Joined: 05 Feb 2005
Posts: 26
Location: Paris - France

PostPosted: Fri May 12, 2006 6:03 am    Post subject: [TIP KDE] Ajouter une action dans le menu contextuel Reply with quote

Bonjour à tous,

c'est après avoir pris la sale habitude du windowsien pour envoyer des fichiers par mail (clic droit -> envoyer par mail) que j'ai cherché à reproduire le même fonctionnement sous KDE.

Pour pouvoir ajouter un lien "Envoyer par E-Mail", il faut tout d'abord un fichier email.desktop définissant l'action. Pour KDE 3.4 (et probablement les versions antérieures), il doit être situé ici:

Code:
/usr/share/apps/konqueror/servicemenus/email.desktop


et pour KDE 3.5 (à vérifier, je n'ai que KDE 3.4 sur gentoo, j'ai fait le test sur une debian pour le 3.5):

Code:
/opt/kde/share/apps/konqueror/servicemenus/email.desktop


Une fois le fichier créé, il ne reste plus qu'à l'éditer pour y mettre ce qui suit:

Code:
[Desktop Entry]
Actions=Email
Encoding=UTF-8
ServiceTypes=allfiles

[Desktop Action Email]
Name=Envoyer un E-Mail avec Thunderbird
Exec=thunderbird -compose "attachment='file://%F'"
Icon=thunderbird


Et voilà, une nouvelle action apparaît dans le menu contextuel de konqueror qui permet d'envoyer directement des mails avec pièces jointes.
_________________
A true geek is someone believing that 1km is equal to 1024 meters.
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Fri May 12, 2006 6:25 pm    Post subject: Reply with quote

Merci !
Et ça marche aussi avec
~/.kde/share/apps/konqueror/servicemenus
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum