LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   a weird xdg-open issue (http://www.linuxquestions.org/questions/linux-software-2/a-weird-xdg-open-issue-893298/)

Oxpoto 07-23-2011 03:56 AM

a weird xdg-open issue
 
.local/share/applications/defaults.list
Code:

[MIME Cache]
application/arj=xarchiver.desktop;
application/ogg=vlc.desktop;
application/pdf=epdfview.desktop;evince.desktop;
application/postscript=evince.desktop;
application/vnd.mozilla.xul+xml=firefox.desktop;
application/vnd.rn-realmedia=vlc.desktop;
application/x-7z-compressed=xarchiver.desktop;
application/x-arj=xarchiver.desktop;
application/x-bittorrent=deluge.desktop;
application/x-bzdvi=evince.desktop;
application/x-bzip=xarchiver.desktop;
application/x-bzip-compressed-tar=xarchiver.desktop;
application/x-bzip2=xarchiver.desktop;
application/x-bzip2-compressed-tar=xarchiver.desktop;
application/x-bzpdf=evince.desktop;
application/x-bzpostscript=evince.desktop;
application/x-cb7=evince.desktop;
application/x-cbr=evince.desktop;
application/x-cbt=evince.desktop;
application/x-cbz=evince.desktop;
application/x-compressed-tar=xarchiver.desktop;
application/x-designer=designer.desktop;
application/x-dvi=evince.desktop;
application/x-extension-mp4=vlc.desktop;
application/x-flac=vlc.desktop;
application/x-gzdvi=evince.desktop;
application/x-gzip=xarchiver.desktop;
application/x-gzpdf=evince.desktop;
application/x-gzpostscript=evince.desktop;
application/x-linguist=linguist.desktop;
application/x-matroska=vlc.desktop;
application/x-ogg=vlc.desktop;
application/x-openbox-theme=obconf.desktop;
application/x-rar=xarchiver.desktop;
application/x-rar-compressed=xarchiver.desktop;
application/x-shockwave-flash=vlc.desktop;
application/x-tar=xarchiver.desktop;
application/x-xzpdf=evince.desktop;
application/x-zip=xarchiver.desktop;
application/x-zip-compressed=xarchiver.desktop;
application/xhtml+xml=firefox.desktop;
application/zip=xarchiver.desktop;
application/x-directory=Thunar-folder-handler.desktop;  ############# I added this
audio/mp4=vlc.desktop;
audio/mpeg=vlc.desktop;
audio/vnd.rn-realaudio=vlc.desktop;
audio/webm=vlc.desktop;
audio/x-flac=vlc.desktop;
audio/x-m4a=vlc.desktop;
audio/x-mp3=vlc.desktop;
audio/x-mpeg=vlc.desktop;
audio/x-mpegurl=vlc.desktop;
audio/x-ms-asf=vlc.desktop;
audio/x-ms-asx=vlc.desktop;
audio/x-ms-wax=vlc.desktop;
audio/x-pn-aiff=vlc.desktop;
audio/x-pn-au=vlc.desktop;
audio/x-pn-realaudio=vlc.desktop;
audio/x-pn-realaudio-plugin=vlc.desktop;
audio/x-pn-wav=vlc.desktop;
audio/x-pn-windows-acm=vlc.desktop;
audio/x-real-audio=vlc.desktop;
audio/x-scpls=vlc.desktop;
audio/x-vorbis+ogg=vlc.desktop;
audio/x-wav=vlc.desktop;
image/tiff=evince.desktop;
image/vnd.djvu=evince.desktop;
image/vnd.rn-realpix=vlc.desktop;
image/x-bzeps=evince.desktop;
image/x-eps=evince.desktop;
image/x-gzeps=evince.desktop;
inode/directory=Thunar-folder-handler.desktop;
misc/ultravox=vlc.desktop;
multipart/x-zip=xarchiver.desktop;
text/html=firefox.desktop;
text/mml=firefox.desktop;
text/plain=leafpad.desktop;
text/vnd.trolltech.linguist=linguist.desktop;
text/xml=firefox.desktop;
video/dv=vlc.desktop;
video/mp4=vlc.desktop;
video/mp4v-es=vlc.desktop;
video/mpeg=vlc.desktop;
video/msvideo=vlc.desktop;
video/quicktime=vlc.desktop;
video/vnd.rn-realvideo=vlc.desktop;
video/webm=vlc.desktop;
video/x-anim=vlc.desktop;
video/x-avi=vlc.desktop;
video/x-flc=vlc.desktop;
video/x-fli=vlc.desktop;
video/x-flv=vlc.desktop;
video/x-mpeg=vlc.desktop;
video/x-ms-asf=vlc.desktop;
video/x-ms-wmv=vlc.desktop;
video/x-msvideo=vlc.desktop;
video/x-nsv=vlc.desktop;
video/x-ogm+ogg=vlc.desktop;
x-content/audio-cdda=vlc.desktop;
x-content/audio-player=vlc.desktop;
x-content/video-dvd=vlc.desktop;
x-content/video-svcd=vlc.desktop;
x-content/video-vcd=vlc.desktop;
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/magnet=deluge.desktop;





$xdg-open folderA/
was opening folderA/ in firefox, so I added "application/x-directory=Thunar-folder-handler.desktop;" to defaults. Now

$xdg-open folderA/
opens the folderA in thunar,

but the weird thing is, the moment I close thunar, firefox fires up and opens the folderA once again

any ideas?


All times are GMT -5. The time now is 10:42 PM.