LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2011, 03:56 AM   #1
Oxpoto
LQ Newbie
 
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xdg-open: no method available for opening Amdx2_x64 Programming 3 12-13-2017 11:00 PM
xdg-open, gnome-open or kde(4?)-open??? akamikeym Programming 0 08-03-2010 08:54 AM
configure: error: The xdg python module is required (pyxdg or python-xdg) Sargalus Linux - Software 7 03-24-2010 07:34 AM
Can't access Windows. Weird, weird grub issue. MightyHard Linux - General 2 12-31-2008 04:35 PM
xdg-mime linuxsavar Programming 0 10-10-2008 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration