You are not logged in.
I am wondering how file association works in xfce4.
Examples: After emacs was installed, xfce4 wanted to open all kinds of files in a new instance of emacs. An .scm scheme source code file was opened in StarCraft Map Editor An .xml file was opened in winebrowser, many many instances of winebrowser were opened, stole all cpu time and I had to kill the X session. An .mp3 is opened in gxine. (I think gxine has a horrid UI, I use it as an opera plugin.)
In the right click menu I can choose between gxine or vlc or audacious. "Open With Other Application" > "Use as default for this kind of file" is an option too, but I rather have this information accessible in one conf file. Now is there one somewhere?
hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.
Offline
I think that what you want resides inside ~/.local/share/applications
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
In gnome preferred application!
http://bbs.archlinux.org/viewtopic.php?id=55169
http://bbs.archlinux.org/viewtopic.php?pid=414963
Maybe relevant, maybe not
Offline
Yes, there were relevant files in ~/.local/share/applications/ I was staring right at them and didn't see. Anyway I don't understand them and their syntax well enough to edit them yet.
mimeinfo.cache
[MIME Cache]
application/x-wine-extension-ini=wine-extension-ini.desktop
image/gif=feh-usercreated-1.desktop
image/jpeg=feh-usercreated-1.desktop
application/x-wine-extension-hlp=wine-extension-hlp.desktop
image/png=feh-usercreated-1.desktop
application/x-wine-extension-scx=wine-extension-scx.desktop
text/html=wine-extension-htm.desktop;wine-extension-html.desktop;
text/plain=gvim-usercreated.desktop;wine-extension-txt.desktop;
application/rtf=wine-extension-rtf.desktop
application/x-chm=wine-extension-chm.desktop
application/xml=wine-extension-xml.desktop
text/x-scheme=wine-extension-scm.desktop
application/x-mswrite=wine-extension-wri.desktop
A lot of wine stuff and feh doesn't animate .gif
defaults.list
[Default Applications]
application/xml=gvim.desktop
audio/mpeg=vlc.desktop
video/x-flv=vlc.desktop
text/x-scheme=gvim-usercreated.desktop
application/x-shockwave-flash=opera.desktop;conkeror.desktop
video/x-ms-wmv=vlc.desktop
text/html=opera.desktop
This one looks better, but isn't it a bit short? (Neither opera or conkeror will actually play the .swf I know I have to fix that somewhere else.)
File type, as thunar shows it, seems to be another thing and the cmd "file" shows yet another type.
/etc/xdg/xfce4/helpers.rc are just 3 apps and I'm only using 2 since I don't use a mail app.
hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.
Offline
Can't help you there, I knew where those files were because I have just nuked all of them a while before I saw your post (wine was trying to open everything and that was not what I wanted).
I guess you can always change the default app for some kind of file and see what changes inside the files in ~/.local/share/applications/ and try to figure out how it works.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I realized MIME is something larger than just concerning xfce4. I found http://standards.freedesktop.org/shared … atest.html That one goes a bit above my head. I found the mime-editor pkg, when I ran mime-editor I was kind of lost and saw ~600 types and there was no search function Maybe someone could write that.
A user MIME howto:
http://ubuntuforums.org/showthread.php?t=150393
hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.
Offline