ou
/home/geraldux/.kde/share/apps/konqueror/servicemenus/
pour le faire apparaitre a un seul utilisateur
si le répertoire servicemenus n’existe pas créez le.
Le fichier texte doit comporter les consignes et les commandes de la nouvelle entrée du menu contextuel. Il doit contenir .desktop a la fin de son nom de fichiers.
Exemple : nouvelle_entree.desktop
[Desktop Entry]
ServiceTypes=all/allfiles
Actions=attach
[Desktop Action attach]
Name=Mail with KMail
Name[fr]=Attache le fichier dans Kmail
Icon=kmail
Exec=kmail —attach %U
source :
http://wiki.nedlinux.nl/index.php ?page=Konqueror+tips+en+trucs
[Desktop Action playInXmms]
Name=Play In XMMS
Icon=background
Exec=xmms %U
[Desktop Action enqueueInXmms]
Name=Enqueue In XMMS
Icon=sound
Exec=xmms -e %U
source : http://linuxfr.org/tips/237.html
[Desktop Action playInXmmsDir]
Name=Play In XMMS
Icon=background
Exec=xmms ls %U
[Desktop Action enqueueInXmmsDir]
Name=Enqueue In XMMS
Icon=sound
Exec=xmms -e ls %U
source : http://linuxfr.org/tips/237.html
ServiceTypes=image/jpeg
[Desktop Action Rotate90]
Exec=/home/geraldux/scripts/burt_rotate-jpg %u 90
Name=Retourne JPG 90...
Name[fr]=Retourne JPG 90...
Icon=kuickshow
burt_rotate-jpg est un script sh voici son contenu, il est à placer dans /home/geraldux/scripts/burt_rotate-jpg
# !/bin/sh
if [ $# -ne 2 ]
then echo ;echo "Retourner une image JPG aisement"
echo
echo "Usage : `nom_de_base $0` image.jpg <90|180|270>"
echo ;echo
exit 1
fi
imagefile=$1
rotation=$2
tmpfile=/tmp/burt_rotate_tmp_file`date -I`.tmp
jpegtran -rotate $rotation -copy all -trim $imagefile > $tmpfile
mv $tmpfile $imagefile
source : http://www.entner.net/ ?nav=Linux&subnav=KDERightClick
source : http://linuxfr.org/ davB/3682.html
G.Schwartzmann
Le 22/03/2004