Page 1 of 1
File associations broken after installing wine
Posted: 23. Nov 2010, 11:31
by witek
I installed wine from Salix repo and I notice that .doc files are now handled by wine`s notepad and PNGs and JPGs are handled by winecore.exe. Hmm.... I`m not sure when that happened as I can remember jpg associated with Okular after KDE was installed. I`m not even sure if that happened after wine installation or maybe I messed up something
EDIT:
I fixed this according to Gapan`s advice from another thread to create file /usr/share/applications/defaults.list containing:
Code: Select all
image/png=viewnior.desktop
image/jpeg=viewnior.desktop
image/gif=viewnior.desktop
image/tiff=viewnior.desktop
image/x-wmf=viewnior.desktop
Re: File associations broken after installing wine
Posted: 23. Nov 2010, 14:41
by djemos
This is b/c of wine. Wine did this. So the first time you open a txt file or graphic associated with kwrite and okular.
Re: File associations broken after installing wine
Posted: 23. Nov 2010, 14:49
by gapan
Yes, it was caused by wine. Wine seems to have all these filetypes associated with it. Perhaps we should remove them.
Re: File associations broken after installing wine
Posted: 23. Nov 2010, 15:50
by zAchAry
How to set GPicView to default image viewer:
Code: Select all
xdg-mime default gpicview.desktop `grep 'MimeType=' /usr/share/applications/gpicview.desktop | sed -e 's/.*=//' -e 's/;/ /g'`
Note: xdg-utils is needed here. It's a tool released by Portland project of Freedesktop.org. Most modern Linux distros have this tool installed by default.
http://lxde.sourceforge.net/gpicview/
http://wiki.lxde.org/en/GPicView
Re: File associations broken after installing wine
Posted: 23. Nov 2010, 22:21
by witek
gapan wrote:Yes, it was caused by wine. Wine seems to have all these filetypes associated with it. Perhaps we should remove them.
There seems to be a whole bunch of wine-extension-blabla.desktop in ~/.local/share/applications/ . I guess these files are responsible for this insane behaviour - this should be changed in future releases. I`m setting up a small network with several computers with Salix and my opinion is:
the distro is near perfection except this insane file associations I mentioned here and elswhere (pdf, ps)
Re: File associations broken after installing wine
Posted: 24. Nov 2010, 07:09
by djemos
Deleting all these wine-extension-blabla.desktop in ~/.local/share/applications/ solved the problem.
Re: File associations broken after installing wine
Posted: 24. Nov 2010, 19:22
by pwatk
I haven't needed to use wine for years but I would suggest removing all the file type/mime type associations except the ones for Windows .exe binaries. I can't see anyone wanting to explicitly use wine for anything else!
Re: File associations broken after installing wine
Posted: 24. Nov 2010, 20:12
by Duncan_Idaho
pwatk wrote:I haven't needed to use wine for years but I would suggest removing all the file type/mime type associations except the ones for Windows .exe binaries. I can't see anyone wanting to explicitly use wine for anything else!
I agree with you
Re: File associations broken after installing wine
Posted: 25. Nov 2010, 08:32
by JRD
I agree too
Re: File associations broken after installing wine
Posted: 25. Nov 2010, 09:21
by christian
Agree, I will fix this with the bugfix-Upgrade to wine 1.2.1 by removing the associations except the ones for .exe etc.