Page 1 sur 1

Gérer les Applications favorites sur MINT 19.1 XFCE

Posté : ven. 12 juil. 2019 09:20
par Drew
Bonjour

j'ai lu sur le fofo que sur Cinnamon on a accès facilement aux applications favorites, par contre sur XCFE on a juste les choix pour internet, mail et deux autres et point...
Y a t'il une astuce pour accéder à l'ensemble des applications favorites comme sur Cinnamon?

Merci d'avance de votre aide

Re: Gérer les Applications favorites sur MINT 19.1 XFCE

Posté : ven. 12 juil. 2019 10:03
par arghlub
Salut,

Tu peux modifier en “root” le fichier «/usr/share/applications/defaults.list» mais ce fichier-système affecte tous les utilisateurs.
Une meilleure solution consiste à éditer le fichier «/home/TON_NOM/.local/share/applications/defaults.list» pour que cette configuration n'affecte que ton utilisateur (ça facilite aussi son édition et ça permet de garder au chaud la configuration d'origine en cas de mauvaise manipulation).

Pour éditer ce fichier, lance cette commande en terminal :

Code : Tout sélectionner

xed ~/.local/share/applications/defaults.list
Compare-le avec l'autre fichier (celui en root) :

Code : Tout sélectionner

cat /usr/share/applications/defaults.list
Note : si tu n'as pas le fichier «~/.local/share/applications/defaults.list» ou qu'il est vide, tu peux faire une copie du fichier-système avant de l'éditer avec :

Code : Tout sélectionner

cp /usr/share/applications/defaults.list ~/.local/share/applications/defaults.list

ps : cette procédure n'est pas limitée à XFCE et peut-être appliquée sous d'autres environnements de bureau comme Cinnamon ou Mate.
;)

Re: Gérer les Applications favorites sur MINT 19.1 XFCE

Posté : ven. 12 juil. 2019 10:41
par Drew
J'ai bien le premier vierge
le deuxième me donne ceci .C'est quoi ce totem huhu?
Mais bon comment mettre ses applications favorite dessus ??

Code : Tout sélectionner

video/3gpp=xplayer.desktop;org.gnome.Totem.desktop
video/dv=xplayer.desktop;org.gnome.Totem.desktop
video/fli=xplayer.desktop;org.gnome.Totem.desktop
video/flv=xplayer.desktop;org.gnome.Totem.desktop
video/mp2t=xplayer.desktop;org.gnome.Totem.desktop
video/mp4=xplayer.desktop;org.gnome.Totem.desktop
video/mp4v-es=xplayer.desktop;org.gnome.Totem.desktop
video/mpeg=xplayer.desktop;org.gnome.Totem.desktop
video/msvideo=xplayer.desktop;org.gnome.Totem.desktop
video/ogg=xplayer.desktop;org.gnome.Totem.desktop
video/quicktime=xplayer.desktop;org.gnome.Totem.desktop
video/vivo=xplayer.desktop;org.gnome.Totem.desktop
video/vnd.divx=xplayer.desktop;org.gnome.Totem.desktop
video/vnd.rn-realvideo=xplayer.desktop;org.gnome.Totem.desktop
video/vnd.vivo=xplayer.desktop;org.gnome.Totem.desktop
video/webm=xplayer.desktop;org.gnome.Totem.desktop
video/x-anim=xplayer.desktop;org.gnome.Totem.desktop
video/x-avi=xplayer.desktop;org.gnome.Totem.desktop
video/x-flc=xplayer.desktop;org.gnome.Totem.desktop
video/x-fli=xplayer.desktop;org.gnome.Totem.desktop
video/x-flic=xplayer.desktop;org.gnome.Totem.desktop
video/x-flv=xplayer.desktop;org.gnome.Totem.desktop
video/x-m4v=xplayer.desktop;org.gnome.Totem.desktop
video/x-matroska=xplayer.desktop;org.gnome.Totem.desktop
video/x-mpeg=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-asf=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-asx=xplayer.desktop;org.gnome.Totem.desktop
video/x-msvideo=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-wm=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-wmv=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-wmx=xplayer.desktop;org.gnome.Totem.desktop
video/x-ms-wvx=xplayer.desktop;org.gnome.Totem.desktop
video/x-nsv=xplayer.desktop;org.gnome.Totem.desktop
video/x-ogm+ogg=xplayer.desktop;org.gnome.Totem.desktop
video/x-theora+ogg=xplayer.desktop;org.gnome.Totem.desktop
video/x-totem-stream=xplayer.desktop;org.gnome.Totem.desktop
x-content/video-dvd=xplayer.desktop;org.gnome.Totem.desktop
x-content/video-vcd=xplayer.desktop;org.gnome.Totem.desktop
x-content/video-svcd=xplayer.desktop;org.gnome.Totem.desktop
x-content/audio-cdda=rhythmbox-device.desktop
x-content/audio-dvd=banshee-audiocd.desktop
x-content/audio-player=rhythmbox-device.desktop
x-content/image-dcf=shotwell.desktop
x-content/image-picturecd=shotwell.desktop
zz-application/zz-winassoc-xls=libreoffice-calc.desktop
x-scheme-handler/apt=apturl.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/mailto=thunderbird.desktop

Re: Gérer les Applications favorites sur MINT 19.1 XFCE

Posté : ven. 12 juil. 2019 11:02
par arghlub
Totem c'est un lecteur vidéo, on voit qu'il est définit en seconde position après xplayer (https://doc.ubuntu-fr.org/totem)

Ton fichier «/usr/share/applications/defaults.list» me semble bien vide :?

Exemple du mien (sur une LM18.3 XFCE) :

Code : Tout sélectionner

arghlub@lenovoLM18xfce ~ $ cat /usr/share/applications/defaults.list
[Default Applications]
application/csv=libreoffice-calc.desktop
application/excel=libreoffice-calc.desktop
application/msexcel=libreoffice-calc.desktop
application/msword=libreoffice-writer.desktop
application/ogg=xplayer.desktop;totem.desktop
application/pdf=xreader.desktop;evince.desktop;atril.desktop
application/postscript=xreader.desktop;evince.desktop;atril.desktop
application/rtf=libreoffice-writer.desktop
application/tab-separated-values=libreoffice-calc.desktop
application/vnd.lotus-1-2-3=libreoffice-calc.desktop
application/vnd.ms-excel=libreoffice-calc.desktop
application/vnd.ms-word=libreoffice-writer.desktop
application/vnd.rn-realmedia=xplayer.desktop;totem.desktop
application/vnd.sun.xml.calc=libreoffice-calc.desktop
application/vnd.sun.xml.calc.template=libreoffice-calc.desktop
application/vnd.sun.xml.draw=libreoffice-draw.desktop
application/vnd.sun.xml.draw.template=libreoffice-draw.desktop
application/vnd.sun.xml.math=libreoffice-math.desktop
application/vnd.sun.xml.writer=libreoffice-writer.desktop
application/vnd.sun.xml.writer.template=libreoffice-writer.desktop
application/vnd.sun.xml.writer.global=libreoffice-writer.desktop
application/vnd.oasis.opendocument.database=libreoffice-base.desktop
application/vnd.oasis.opendocument.formula=libreoffice-math.desktop
application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop
application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop
application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop
application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop
application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop
application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop
application/vnd.oasis.opendocument.text=libreoffice-writer.desktop
application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop
application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop
application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop
application/vnd.sun.xml.impress=libreoffice-impress.desktop
application/vnd.sun.xml.impress.template=libreoffice-impress.desktop
application/vnd.stardivision.calc=libreoffice-calc.desktop
application/vnd.stardivision.draw=libreoffice-draw.desktop
application/vnd.stardivision.impress=libreoffice-impress.desktop
application/vnd.stardivision.math=libreoffice-math.desktop
application/vnd.stardivision.writer=libreoffice-writer.desktop
application/mspowerpoint=libreoffice-impress.desktop
application/vnd.ms-powerpoint=libreoffice-impress.desktop
application/vnd.wordperfect=libreoffice-writer.desktop
application/wordperfect=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.presentationml.slide=libreoffice-impress.desktop
application/vnd.openxmlformats-officedocument.presentationml.slideshow=libreoffice-impress.desktop
application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop
application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop
application/x-123=libreoffice-calc.desktop
application/x-abiword=abiword.desktop
application/x-applix-spreadsheet=libreoffice-calc.desktop
application/x-ar=file-roller.desktop;engrampa.desktop
application/x-arj=file-roller.desktop;engrampa.desktop
application/x-bzip-compressed-tar=file-roller.desktop;engrampa.desktop
application/x-bzip=file-roller.desktop;engrampa.desktop
application/x-cbr=xreader.desktop;evince.desktop;atril.desktop
application/x-cbz=xreader.desktop;evince.desktop;atril.desktop
application/x-compressed-tar=file-roller.desktop;engrampa.desktop
application/x-compress=file-roller.desktop;engrampa.desktop
application/x-deb=gdebi.desktop
application/x-debian-package=gdebi.desktop
application/x-dos_ms_excel=libreoffice-calc.desktop
application/x-ear=file-roller.desktop;engrampa.desktop
application/x-excel=libreoffice-calc.desktop
application/x-extension-m4a=xplayer.desktop;totem.desktop
application/x-extension-mp4=xplayer.desktop;totem.desktop
application/x-flac=xplayer.desktop;totem.desktop
application/x-glade=glade-3.desktop
application/x-gnumeric=gnumeric.desktop
application/x-gtar=file-roller.desktop;engrampa.desktop
application/x-gzip=file-roller.desktop;engrampa.desktop
application/x-gzpostscript=xreader.desktop;evince.desktop;atril.desktop
application/xhtml+xml=firefox.desktop
application/x-jar=file-roller.desktop;engrampa.desktop
application/x-java-archive=file-roller.desktop;engrampa.desktop
application/x-java-jnlp-file=icedtea-netx-javaws.desktop
application/x-lha=file-roller.desktop;engrampa.desktop
application/x-lhz=file-roller.desktop;engrampa.desktop
application/xls=libreoffice-calc.desktop
application/x-lzop=file-roller.desktop;engrampa.desktop
application/x-matroska=xplayer.desktop;totem.desktop
application/x-mps=libreoffice-calc.desktop
application/x-ms-excel=libreoffice-calc.desktop
application/x-msexcel=libreoffice-calc.desktop
application/x-ogg=xplayer.desktop;totem.desktop
application/x-oleo=libreoffice-calc.desktop
application/x-perl=xed.desktop;gedit.desktop;pluma.desktop
application/x-planperfect=libreoffice-calc.desktop
application/x-quattropro=libreoffice-calc.desktop
application/x-rar-compressed=file-roller.desktop;engrampa.desktop
application/x-rar=file-roller.desktop;engrampa.desktop
application/x-rpm=file-roller.desktop;engrampa.desktop
application/x-sc=libreoffice-calc.desktop
application/x-shockwave-flash=xplayer.desktop;totem.desktop
application/x-sylk=libreoffice-calc.desktop
application/x-tar=file-roller.desktop;engrampa.desktop
application/x-war=file-roller.desktop;engrampa.desktop
application/x-xbase=libreoffice-calc.desktop
application/x-xls=libreoffice-calc.desktop
application/x-zip-compressed=file-roller.desktop;engrampa.desktop
application/x-zip=file-roller.desktop;engrampa.desktop
application/x-zoo=file-roller.desktop;engrampa.desktop
application/zip=file-roller.desktop;engrampa.desktop
audio/3gpp=xplayer.desktop;totem.desktop
audio/ac3=xplayer.desktop;totem.desktop
audio/AMR=xplayer.desktop;totem.desktop
audio/AMR-WB=xplayer.desktop;totem.desktop
audio/basic=xplayer.desktop;totem.desktop
audio/flac=xplayer.desktop;totem.desktop
audio/midi=xplayer.desktop;totem.desktop
audio/mp4=xplayer.desktop;totem.desktop
audio/mpeg=xplayer.desktop;totem.desktop
audio/mpegurl=xplayer.desktop;totem.desktop
audio/ogg=xplayer.desktop;totem.desktop
audio/prs.sid=xplayer.desktop;totem.desktop
audio/vnd.rn-realaudio=xplayer.desktop;totem.desktop
audio/x-ape=xplayer.desktop;totem.desktop
audio/x-flac=xplayer.desktop;totem.desktop
audio/x-gsm=xplayer.desktop;totem.desktop
audio/x-it=xplayer.desktop;totem.desktop
audio/x-m4a=xplayer.desktop;totem.desktop
audio/x-matroska=xplayer.desktop;totem.desktop
audio/x-mod=xplayer.desktop;totem.desktop
audio/x-mp3=xplayer.desktop;totem.desktop
audio/x-mpeg=xplayer.desktop;totem.desktop
audio/x-mpegurl=xplayer.desktop;totem.desktop
audio/x-ms-asf=xplayer.desktop;totem.desktop
audio/x-ms-asx=xplayer.desktop;totem.desktop
audio/x-ms-wax=xplayer.desktop;totem.desktop
audio/x-ms-wma=xplayer.desktop;totem.desktop
audio/x-musepack=xplayer.desktop;totem.desktop
audio/x-pn-aiff=xplayer.desktop;totem.desktop
audio/x-pn-au=xplayer.desktop;totem.desktop
audio/x-pn-realaudio=xplayer.desktop;totem.desktop
audio/x-pn-realaudio-plugin=xplayer.desktop;totem.desktop
audio/x-pn-wav=xplayer.desktop;totem.desktop
audio/x-pn-windows-acm=xplayer.desktop;totem.desktop
audio/x-realaudio=xplayer.desktop;totem.desktop
audio/x-real-audio=xplayer.desktop;totem.desktop
audio/x-sbc=xplayer.desktop;totem.desktop
audio/x-scpls=xplayer.desktop;totem.desktop
audio/x-speex=xplayer.desktop;totem.desktop
audio/x-tta=xplayer.desktop;totem.desktop
audio/x-wav=xplayer.desktop;totem.desktop
audio/x-wavpack=xplayer.desktop;totem.desktop
audio/x-vorbis=xplayer.desktop;totem.desktop
audio/x-vorbis+ogg=xplayer.desktop;totem.desktop
audio/x-xm=xplayer.desktop;totem.desktop
image/bmp=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/gif=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/jpeg=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/jpg=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/pjpeg=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/png=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/svg+xml=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/tiff=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/vnd.rn-realpix=xplayer.desktop;totem.desktop
image/x-bmp=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-gray=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-icb=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-ico=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-png=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-portable-anymap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-portable-bitmap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-portable-graymap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-portable-pixmap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-psd=gimp.desktop
image/x-xbitmap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
image/x-xpixmap=xviewer.desktop;eog.desktop;eom.desktop;ristretto.desktop
inode/directory=nemo.desktop;caja.desktop;nautilus.desktop;Thunar.desktop;kde4-dolphin.desktop
misc/ultravox=xplayer.desktop;totem.desktop
multipart/x-zip=file-roller.desktop;engrampa.desktop
text/abiword=abiword.desktop
text/calendar=evolution.desktop
text/comma-separated-values=libreoffice-calc.desktop
text/csv=libreoffice-calc.desktop
text/plain=xed.desktop;gedit.desktop;pluma.desktop
text/richtext=abiword.desktop
text/rtf=libreoffice-writer.desktop
text/spreadsheet=libreoffice-calc.desktop
text/tab-separated-values=libreoffice-calc.desktop
text/x-comma-separated-values=libreoffice-calc.desktop
text/x-chdr=xed.desktop;gedit.desktop;pluma.desktop
text/x-csrc=xed.desktop;gedit.desktop;pluma.desktop
text/x-dtd=xed.desktop;gedit.desktop;pluma.desktop
text/x-java=xed.desktop;gedit.desktop;pluma.desktop
text/mathml=xed.desktop;gedit.desktop;pluma.desktop
text/x-python=xed.desktop;gedit.desktop;pluma.desktop
text/x-sql=xed.desktop;gedit.desktop;pluma.desktop
video/3gpp=xplayer.desktop;totem.desktop
video/dv=xplayer.desktop;totem.desktop
video/fli=xplayer.desktop;totem.desktop
video/flv=xplayer.desktop;totem.desktop
video/mp2t=xplayer.desktop;totem.desktop
video/mp4=xplayer.desktop;totem.desktop
video/mp4v-es=xplayer.desktop;totem.desktop
video/mpeg=xplayer.desktop;totem.desktop
video/msvideo=xplayer.desktop;totem.desktop
video/ogg=xplayer.desktop;totem.desktop
video/quicktime=xplayer.desktop;totem.desktop
video/vivo=xplayer.desktop;totem.desktop
video/vnd.divx=xplayer.desktop;totem.desktop
video/vnd.rn-realvideo=xplayer.desktop;totem.desktop
video/vnd.vivo=xplayer.desktop;totem.desktop
video/webm=xplayer.desktop;totem.desktop
video/x-anim=xplayer.desktop;totem.desktop
video/x-avi=xplayer.desktop;totem.desktop
video/x-flc=xplayer.desktop;totem.desktop
video/x-fli=xplayer.desktop;totem.desktop
video/x-flic=xplayer.desktop;totem.desktop
video/x-flv=xplayer.desktop;totem.desktop
video/x-m4v=xplayer.desktop;totem.desktop
video/x-matroska=xplayer.desktop;totem.desktop
video/x-mpeg=xplayer.desktop;totem.desktop
video/x-ms-asf=xplayer.desktop;totem.desktop
video/x-ms-asx=xplayer.desktop;totem.desktop
video/x-msvideo=xplayer.desktop;totem.desktop
video/x-ms-wm=xplayer.desktop;totem.desktop
video/x-ms-wmv=xplayer.desktop;totem.desktop
video/x-ms-wmx=xplayer.desktop;totem.desktop
video/x-ms-wvx=xplayer.desktop;totem.desktop
video/x-nsv=xplayer.desktop;totem.desktop
video/x-ogm+ogg=xplayer.desktop;totem.desktop
video/x-theora+ogg=xplayer.desktop;totem.desktop
video/x-totem-stream=xplayer.desktop;totem.desktop
x-content/video-dvd=xplayer.desktop;totem.desktop
x-content/video-vcd=xplayer.desktop;totem.desktop
x-content/video-svcd=xplayer.desktop;totem.desktop
x-content/audio-cdda=rhythmbox-device.desktop
x-content/audio-dvd=banshee-audiocd.desktop
x-content/audio-player=rhythmbox-device.desktop
x-content/image-dcf=shotwell.desktop
x-content/image-picturecd=shotwell.desktop
zz-application/zz-winassoc-xls=libreoffice-calc.desktop
x-scheme-handler/apt=apturl_mime.desktop
x-scheme-handler/mailto=thunderbird.desktop
x-scheme-handler/spotify=spotify.desktop
text/html=firefox.desktop;vivaldi-stable.desktop
text/xml=xed.desktop;gedit.desktop;pluma.desktop;firefox.desktop;vivaldi-stable.desktop
arghlub@lenovoLM18xfce ~ $ cat /usr/share/applications/defaults.list
ce fichier ou sa copie «~/.local/share/applications/defaults.list» définit ligne par ligne l'application «nomLogiciel.desktop» (les .desktop sont des lanceurs d'applications) qui sera lancé en fonction du type de contenu et du format des fichiers.
Donc tu repères un format (s'il n'existe pas il faut l'ajouter) et tu renseignes le logiciel qui sera lancé.

La liste des lanceurs (.desktop) de logiciels, tu les retrouves dans les dossiers «/usr/share/applications» et «/home/Ton_Nom/.local/share/applications/», pour en avoir la liste :

Code : Tout sélectionner

ls /usr/share/applications

Code : Tout sélectionner

ls ~/.local/share/applications/
──────────────────────────────
PS : pendant la rédaction de tes messages, ne pas confondre les balises "Quote" réservées aux citations avec les balises "Code".
Il faut utiliser ces balises pour tout ce qui concerne le terminal (commandes, retours de commandes …) ou le contenu de fichier, cela améliore grandement la lisibilité.
Voir tuto Barre d'outils des messages
J'ai donc modifié ton dernier message pour mettre des balises “Code”.
;)

Re: Gérer les Applications favorites sur MINT 19.1 XFCE

Posté : ven. 12 juil. 2019 15:48
par Drew
Yes merci pour la correction code

Ah suite à ta remarque j'ai revérifié et en fait je n'avais pas tout copié du "/usr/share/applications/defaults.list"
Ben ouais deux mains gauches

Je vais suivre tes conseils suivants par la suite ..