[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fonction find ou locate en mode graphique



Le 24/11/2018 à 05:39, Bernard Schoenacker a écrit :

Bonjour,


Si c'est pour le gestionnaire Thunar, catfish installé
Il suffit d'aller dans le menu Édition Configurer Actions personnalisées
ajouter une action l’icône  +
- Nom = Recherche
- Description = Effectuer une recherche
- Commande = /usr/bin/catfish --path=%f
Icône= /usr/share/icons/hicolor/scalable/apps/catfish.svg
+ dans l'onglet condition = cocher Répertoires + Fichier texte
Tout ça est sauvegardé dans le fichier ~/.config/Thunar/uca.xml
<action>
	<icon>/usr/share/icons/hicolor/scalable/apps/catfish.svg</icon>
	<name>Recherche</name>
	<unique-id>1514296789283541-1</unique-id>
	<command>/usr/bin/catfish --path=%f </command>
	<description>Effectuer une recherche </description>
	<patterns>*</patterns>
	<directories/>
	<text-files/>
</action>

voici la solution facile à mettre en œuvre :
installer catfish et créer l'entrée suivante :

cat >$HOME/Catfish.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Recherche de fichiers Catfish
Comment=Rechercher dans le système de fichiers
Exec=/usr/bin/catfish %f --hidden
Icon=catfish
Path=$HOME
Terminal=false
StartupNotify=true
EOF
inspiration :
https://debian-facile.org/doc:systeme:thunar#actions-personnalisees

--
J-C Etiemble


Reply to: