Pages : 1
#1 Le 06/09/2014, à 11:27
- rom1725
[RÉSOLU] Firefox comme File Manager par défaut
Bonjour,
j'ai un léger problème avec Lubuntu 14.04 relatif au gestionnaire de fichiers.
Deux exemples simples, pour illustrer ce que j'entends par « Firefox comme File Manager » : quand j'utilise baobab, et que je souhaite ouvrir un dossier (clique droit -> ouvrir le dossier (Vidéos par exemple)), au lieu d'ouvrir PCManFM il ouvre Firefox... Très pratique pour lancer des vidéos, vous en conviendrez !
Dans la liste des téléchargements de Firefox, si je clique droit sur un fichier puis « ouvrir le dossier contenant le fichier », là aussi, le /home/nom_utilisateur/Téléchargements sera ouvert dans Firefox... C'est on ne peut plus frustrant !
D'autant plus que le gestionnaire de fichiers choisi par défaut dans « Default Applications for LXSession » est bien PCManFM.
Vos idées seront les bienvenues.
Merci d'avance.
Dernière modification par rom1725 (Le 10/09/2014, à 17:37)
Hors ligne
#2 Le 07/09/2014, à 18:48
- tiramiseb
Re : [RÉSOLU] Firefox comme File Manager par défaut
Salut,
Que donne la commande suivante ?
cat .local/share/applications/mimeapps.list
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#3 Le 09/09/2014, à 18:11
- rom1725
Re : [RÉSOLU] Firefox comme File Manager par défaut
Merci pour votre réponse.
La commande renvoie... un bon tas de résultats
[Default Applications]
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=lxde-x-www-browser.desktop
application/x-extension-html=lxde-x-www-browser.desktop
application/x-extension-shtml=lxde-x-www-browser.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=lxde-x-www-browser.desktop
application/x-extension-xht=lxde-x-www-browser.desktop
inode/directory=firefox.desktop
image/jpeg=firefox.desktop
image/bmp=gpicview.desktop
image/gif=firefox.desktop
image/jpg=gpicview.desktop
image/png=firefox.desktop
image/tiff=gpicview.desktop
image/x-bmp=gpicview.desktop
image/x-pcx=gpicview.desktop
image/x-tga=gpicview.desktop
image/x-portable-pixmap=gpicview.desktop
image/x-portable-bitmap=gpicview.desktop
image/x-targa=gpicview.desktop
image/x-portable-greymap=gpicview.desktop
application/pcx=gpicview.desktop
image/svg+xml=gpicview.desktop
image/svg-xml=gpicview.desktop
text/xml=firefox.desktop
application/xml=firefox.desktop
application/rss+xml=firefox.desktop
application/rdf+xml=firefox.desktop
video/webm=vlc.desktop
application/x-xpinstall=firefox.desktop
application/ogg=vlc.desktop
application/x-ogg=vlc.desktop
application/x-ogm-audio=clementine.desktop
audio/aac=clementine.desktop
audio/mp4=vlc.desktop
audio/mpeg=vlc.desktop
audio/mpegurl=clementine.desktop
audio/ogg=clementine.desktop
audio/vnd.rn-realaudio=vlc.desktop
audio/vorbis=clementine.desktop
audio/x-flac=vlc.desktop
audio/x-mp3=vlc.desktop
audio/x-mpeg=vlc.desktop
audio/x-mpegurl=brasero.desktop
audio/x-ms-wma=clementine.desktop
audio/x-musepack=clementine.desktop
audio/x-oggflac=clementine.desktop
audio/x-pn-realaudio=vlc.desktop
audio/x-scpls=brasero.desktop
audio/x-speex=clementine.desktop
audio/x-vorbis=clementine.desktop
audio/x-vorbis+ogg=vlc.desktop
audio/x-wav=vlc.desktop
video/x-ms-asf=vlc.desktop
x-content/audio-player=vlc.desktop
x-scheme-handler/zune=clementine.desktop
x-scheme-handler/itpc=clementine.desktop
x-scheme-handler/itms=clementine.desktop
x-scheme-handler/feed=clementine.desktop
video/dv=vlc.desktop
video/mpeg=vlc.desktop
video/x-mpeg=vlc.desktop
video/msvideo=vlc.desktop
video/quicktime=vlc.desktop
video/x-anim=vlc.desktop
video/x-avi=vlc.desktop
video/x-ms-wmv=vlc.desktop
video/x-msvideo=vlc.desktop
video/x-nsv=vlc.desktop
video/x-flc=vlc.desktop
video/x-fli=vlc.desktop
video/x-flv=vlc.desktop
video/vnd.rn-realvideo=vlc.desktop
video/mp4=vlc.desktop
video/mp4v-es=vlc.desktop
video/mp2t=vlc.desktop
video/x-ogm+ogg=vlc.desktop
application/x-matroska=vlc.desktop
audio/x-matroska=vlc.desktop
video/x-matroska=vlc.desktop
audio/webm=vlc.desktop
audio/x-m4a=vlc.desktop
audio/x-ms-asf=vlc.desktop
audio/x-ms-asx=brasero.desktop
audio/x-ms-wax=vlc.desktop
application/vnd.rn-realmedia=vlc.desktop
audio/x-real-audio=vlc.desktop
application/x-flac=vlc.desktop
application/x-shockwave-flash=vlc.desktop
misc/ultravox=vlc.desktop
audio/x-pn-aiff=vlc.desktop
audio/x-pn-au=vlc.desktop
audio/x-pn-wav=vlc.desktop
audio/x-pn-windows-acm=vlc.desktop
image/vnd.rn-realpix=vlc.desktop
audio/x-pn-realaudio-plugin=vlc.desktop
application/x-extension-mp4=vlc.desktop
audio/amr=vlc.desktop
audio/amr-wb=vlc.desktop
x-content/video-vcd=brasero.desktop
x-content/video-svcd=brasero.desktop
x-content/video-dvd=brasero.desktop
x-content/audio-cdda=brasero.desktop
application/xspf+xml=vlc.desktop
x-scheme-handler/mms=vlc.desktop
x-scheme-handler/rtmp=vlc.desktop
x-scheme-handler/rtsp=vlc.desktop
application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop
application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop
application/vnd.sun.xml.calc=libreoffice-calc.desktop
application/vnd.sun.xml.calc.template=libreoffice-calc.desktop
application/msexcel=libreoffice-calc.desktop
application/vnd.ms-excel=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
application/vnd.ms-excel.sheet.macroenabled.12=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop
application/vnd.ms-excel.template.macroenabled.12=libreoffice-calc.desktop
application/vnd.ms-excel.sheet.binary.macroenabled.12=libreoffice-calc.desktop
text/csv=libreoffice-calc.desktop
application/x-dbf=libreoffice-calc.desktop
text/spreadsheet=libreoffice-calc.desktop
application/csv=libreoffice-calc.desktop
application/excel=libreoffice-calc.desktop
application/tab-separated-values=libreoffice-calc.desktop
application/vnd.lotus-1-2-3=libreoffice-calc.desktop
application/vnd.oasis.opendocument.chart=libreoffice-calc.desktop
application/vnd.oasis.opendocument.chart-template=libreoffice-calc.desktop
application/x-dbase=libreoffice-calc.desktop
application/x-dos_ms_excel=libreoffice-calc.desktop
application/x-excel=libreoffice-calc.desktop
application/x-msexcel=libreoffice-calc.desktop
application/x-ms-excel=libreoffice-calc.desktop
application/x-quattropro=libreoffice-calc.desktop
application/x-123=libreoffice-calc.desktop
text/comma-separated-values=libreoffice-calc.desktop
text/tab-separated-values=libreoffice-calc.desktop
text/x-comma-separated-values=libreoffice-calc.desktop
text/x-csv=libreoffice-calc.desktop
application/vnd.oasis.opendocument.spreadsheet-flat-xml=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.writer=libreoffice-writer.desktop
application/vnd.sun.xml.writer.template=libreoffice-writer.desktop
application/vnd.sun.xml.writer.global=libreoffice-writer.desktop
application/msword=libreoffice-writer.desktop
application/vnd.ms-word=libreoffice-writer.desktop
application/x-doc=libreoffice-writer.desktop
application/x-hwp=libreoffice-writer.desktop
application/rtf=libreoffice-writer.desktop
text/rtf=libreoffice-writer.desktop
application/vnd.wordperfect=libreoffice-writer.desktop
application/wordperfect=libreoffice-writer.desktop
application/vnd.lotus-wordpro=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
application/vnd.ms-word.document.macroenabled.12=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop
application/vnd.ms-word.template.macroenabled.12=libreoffice-writer.desktop
application/vnd.ms-works=libreoffice-writer.desktop
application/vnd.stardivision.writer-global=libreoffice-writer.desktop
application/x-extension-txt=libreoffice-writer.desktop
application/x-t602=libreoffice-writer.desktop
text/plain=libreoffice-writer.desktop
application/vnd.oasis.opendocument.text-flat-xml=libreoffice-writer.desktop
application/x-fictionbook+xml=libreoffice-writer.desktop
application/macwriteii=libreoffice-writer.desktop
application/x-aportisdoc=libreoffice-writer.desktop
application/prs.plucker=libreoffice-writer.desktop
application/vnd.palm=libreoffice-writer.desktop
application/clarisworks=libreoffice-writer.desktop
application/x-cd-image=brasero.desktop
application/x-cdrdao-toc=brasero.desktop
application/x-cue=brasero.desktop
application/x-toc=brasero.desktop
audio/x-mp3-playlist=brasero.desktop
application/x-brasero=brasero.desktop
x-content/image-picturecd=brasero.desktop
[Added Associations]
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=lxde-x-www-browser.desktop;
application/x-extension-html=lxde-x-www-browser.desktop;
application/x-extension-shtml=lxde-x-www-browser.desktop;
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=lxde-x-www-browser.desktop;
application/x-extension-xht=lxde-x-www-browser.desktop;
inode/directory=leafpad.desktop;firefox.desktop;
image/jpeg=firefox.desktop
application/x-mswinurl=leafpad.desktop;firefox.desktop;
text/xml=firefox.desktop
application/xml=firefox.desktop
application/rss+xml=firefox.desktop
application/rdf+xml=firefox.desktop
image/gif=firefox.desktop
image/png=firefox.desktop
video/webm=vlc.desktop
application/x-xpinstall=firefox.desktop
application/ogg=vlc.desktop
application/x-ogg=vlc.desktop
application/x-ogm-audio=clementine.desktop
audio/aac=clementine.desktop
audio/mp4=vlc.desktop
audio/mpeg=vlc.desktop
audio/mpegurl=clementine.desktop
audio/ogg=clementine.desktop
audio/vnd.rn-realaudio=vlc.desktop
audio/vorbis=clementine.desktop
audio/x-flac=vlc.desktop
audio/x-mp3=vlc.desktop
audio/x-mpeg=vlc.desktop
audio/x-mpegurl=brasero.desktop
audio/x-ms-wma=clementine.desktop
audio/x-musepack=clementine.desktop
audio/x-oggflac=clementine.desktop
audio/x-pn-realaudio=vlc.desktop
audio/x-scpls=brasero.desktop
audio/x-speex=clementine.desktop
audio/x-vorbis=clementine.desktop
audio/x-vorbis+ogg=vlc.desktop
audio/x-wav=vlc.desktop
video/x-ms-asf=vlc.desktop
x-content/audio-player=vlc.desktop
x-scheme-handler/zune=clementine.desktop
x-scheme-handler/itpc=clementine.desktop
x-scheme-handler/itms=clementine.desktop
x-scheme-handler/feed=clementine.desktop
video/dv=vlc.desktop
video/mpeg=vlc.desktop
video/x-mpeg=vlc.desktop
video/msvideo=vlc.desktop
video/quicktime=vlc.desktop
video/x-anim=vlc.desktop
video/x-avi=vlc.desktop
video/x-ms-wmv=vlc.desktop
video/x-msvideo=vlc.desktop
video/x-nsv=vlc.desktop
video/x-flc=vlc.desktop
video/x-fli=vlc.desktop
video/x-flv=vlc.desktop
video/vnd.rn-realvideo=vlc.desktop
video/mp4=vlc.desktop
video/mp4v-es=vlc.desktop
video/mp2t=vlc.desktop
video/x-ogm+ogg=vlc.desktop
application/x-matroska=vlc.desktop
audio/x-matroska=vlc.desktop
video/x-matroska=vlc.desktop
audio/webm=vlc.desktop
audio/x-m4a=vlc.desktop
audio/x-ms-asf=vlc.desktop
audio/x-ms-asx=brasero.desktop
audio/x-ms-wax=vlc.desktop
application/vnd.rn-realmedia=vlc.desktop
audio/x-real-audio=vlc.desktop
application/x-flac=vlc.desktop
application/x-shockwave-flash=vlc.desktop
misc/ultravox=vlc.desktop
audio/x-pn-aiff=vlc.desktop
audio/x-pn-au=vlc.desktop
audio/x-pn-wav=vlc.desktop
audio/x-pn-windows-acm=vlc.desktop
image/vnd.rn-realpix=vlc.desktop
audio/x-pn-realaudio-plugin=vlc.desktop
application/x-extension-mp4=vlc.desktop
audio/amr=vlc.desktop
audio/amr-wb=vlc.desktop
x-content/video-vcd=brasero.desktop
x-content/video-svcd=brasero.desktop
x-content/video-dvd=brasero.desktop
x-content/audio-cdda=brasero.desktop
application/xspf+xml=vlc.desktop
x-scheme-handler/mms=vlc.desktop
x-scheme-handler/rtmp=vlc.desktop
x-scheme-handler/rtsp=vlc.desktop
application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop
application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop
application/vnd.sun.xml.calc=libreoffice-calc.desktop
application/vnd.sun.xml.calc.template=libreoffice-calc.desktop
application/msexcel=libreoffice-calc.desktop
application/vnd.ms-excel=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
application/vnd.ms-excel.sheet.macroenabled.12=libreoffice-calc.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop
application/vnd.ms-excel.template.macroenabled.12=libreoffice-calc.desktop
application/vnd.ms-excel.sheet.binary.macroenabled.12=libreoffice-calc.desktop
text/csv=libreoffice-calc.desktop
application/x-dbf=libreoffice-calc.desktop
text/spreadsheet=libreoffice-calc.desktop
application/csv=libreoffice-calc.desktop
application/excel=libreoffice-calc.desktop
application/tab-separated-values=libreoffice-calc.desktop
application/vnd.lotus-1-2-3=libreoffice-calc.desktop
application/vnd.oasis.opendocument.chart=libreoffice-calc.desktop
application/vnd.oasis.opendocument.chart-template=libreoffice-calc.desktop
application/x-dbase=libreoffice-calc.desktop
application/x-dos_ms_excel=libreoffice-calc.desktop
application/x-excel=libreoffice-calc.desktop
application/x-msexcel=libreoffice-calc.desktop
application/x-ms-excel=libreoffice-calc.desktop
application/x-quattropro=libreoffice-calc.desktop
application/x-123=libreoffice-calc.desktop
text/comma-separated-values=libreoffice-calc.desktop
text/tab-separated-values=libreoffice-calc.desktop
text/x-comma-separated-values=libreoffice-calc.desktop
text/x-csv=libreoffice-calc.desktop
application/vnd.oasis.opendocument.spreadsheet-flat-xml=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.writer=libreoffice-writer.desktop
application/vnd.sun.xml.writer.template=libreoffice-writer.desktop
application/vnd.sun.xml.writer.global=libreoffice-writer.desktop
application/msword=libreoffice-writer.desktop
application/vnd.ms-word=libreoffice-writer.desktop
application/x-doc=libreoffice-writer.desktop
application/x-hwp=libreoffice-writer.desktop
application/rtf=libreoffice-writer.desktop
text/rtf=libreoffice-writer.desktop
application/vnd.wordperfect=libreoffice-writer.desktop
application/wordperfect=libreoffice-writer.desktop
application/vnd.lotus-wordpro=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
application/vnd.ms-word.document.macroenabled.12=libreoffice-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop
application/vnd.ms-word.template.macroenabled.12=libreoffice-writer.desktop
application/vnd.ms-works=libreoffice-writer.desktop
application/vnd.stardivision.writer-global=libreoffice-writer.desktop
application/x-extension-txt=libreoffice-writer.desktop
application/x-t602=libreoffice-writer.desktop
text/plain=libreoffice-writer.desktop
application/vnd.oasis.opendocument.text-flat-xml=libreoffice-writer.desktop
application/x-fictionbook+xml=libreoffice-writer.desktop
application/macwriteii=libreoffice-writer.desktop
application/x-aportisdoc=libreoffice-writer.desktop
application/prs.plucker=libreoffice-writer.desktop
application/vnd.palm=libreoffice-writer.desktop
application/clarisworks=libreoffice-writer.desktop
application/x-cd-image=brasero.desktop
application/x-cdrdao-toc=brasero.desktop
application/x-cue=brasero.desktop
application/x-toc=brasero.desktop
audio/x-mp3-playlist=brasero.desktop
application/x-brasero=brasero.desktop
x-content/image-picturecd=brasero.desktop
P.S. : au passage, merci pour votre article « Ubuntu : mise à jour du noyau et "aucun espace disponible sur le périphérique" ».
Dernière modification par rom1725 (Le 09/09/2014, à 18:12)
Hors ligne
#4 Le 09/09/2014, à 18:26
- tiramiseb
Re : [RÉSOLU] Firefox comme File Manager par défaut
Édite ce fichier avec la commande suivante :
gedit .local/share/applications/mimeapps.list
... puis supprimes-y la ligne suivante :
inode/directory=firefox.desktop
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#5 Le 10/09/2014, à 17:36
- rom1725
Re : [RÉSOLU] Firefox comme File Manager par défaut
Merci beaucoup, le problème est résolu !
Par contre il faudrait que tu m'expliques pourquoi sur mon PC avec Ubuntu j'ai Clémentine en face de inode/directory et que ça n'a jamais posé problème.
P.S. : nonobstant (j'adore ce mot ), il ne faut pas éditer le fichier avec gedit, mais leafpad, l'éditeur de texte par défaut de l'environnement LXDE. Pour les débutants qui passeraient par là, la commande serait donc plutôt :
leafpad .local/share/applications/mimeapps.list
Dernière modification par rom1725 (Le 10/09/2014, à 17:47)
Hors ligne
#6 Le 11/09/2014, à 08:26
- tiramiseb
Re : [RÉSOLU] Firefox comme File Manager par défaut
P.S. : nonobstant (j'adore ce mot)
Sauf qu'il ne s'utilise pas tout seul
Tu aurais dû écrire « nonobstant tes explications »
Par contre il faudrait que tu m'expliques pourquoi sur mon PC avec Ubuntu j'ai Clémentine en face de inode/directory et que ça n'a jamais posé problème.
Dans la catégorie "[Default Applications]" ou dans "[Added Associations]" ?
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#7 Le 11/09/2014, à 11:46
- rom1725
Re : [RÉSOLU] Firefox comme File Manager par défaut
Ah au temps pour moi...
Dans la catégorie Added, donc j'imagine que par défaut c'est le gestionnaire de fichiers et que Clémentine ne serait là qu'au cas où ?
Hors ligne
#8 Le 11/09/2014, à 11:50
- tiramiseb
Re : [RÉSOLU] Firefox comme File Manager par défaut
et que Clémentine ne serait là qu'au cas où ?
Clementine devrait alors apparaître dans le menu "ouvrir avec", tout simplement...
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#9 Le 11/09/2014, à 11:52
- rom1725
Re : [RÉSOLU] Firefox comme File Manager par défaut
Ah d'accord. En tout cas merci pour tout !
Hors ligne
Pages : 1