You are not logged in.

#1 2009-09-10 04:11:38

dvl
Member
From: TM, RO
Registered: 2009-02-14
Posts: 27
Website

Disable wine as default program

Hey there!

I've got a little problem with mime types, after installing some programs in wine ( i think, but i dont remember for sure, that since then do i have this problem)
A lot of file types use to be opened with wine. For example txts or unknown filetypes open with wine>notepad as default, or pictures with wine>fireworks instead of mousepad or eog/ristretto and its very booring.
If i go to open with other application>select the correct application and i check "Use as default for this kind of file" it wont happen nothing, i mean the default program remains the wine>program..
I started to change the mime types in the mime.cache, its working but i dont know a lot of filetypes introduced there to use wine programs..

So my question is, is there any way to disable by default wine to open any files (exept exe and windows specific files) instead of changeing one by one the mime types. Or at least get the "Use as default for this kind of file" option working?

Thanks very much!
With respect,
dvl

Ps: i am using xfce


Arch. Xfce4

Offline

#2 2009-09-10 04:24:20

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: Disable wine as default program

I have had this same problem with xfce and wine->notepad repeatedly changing itself to the default app.

Offline

#3 2009-09-10 20:03:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Disable wine as default program

Same here... had to manually change it back in Gnome.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-09-11 02:13:21

superdav42
Member
Registered: 2009-01-07
Posts: 8
Website

Re: Disable wine as default program

I had the same problem as well when using Gnome. At some point all txt files got associated with notepad and for a bit IE somehow got to be my default browser! I just manually changed it back so I don't know what happened.


Free cross platform games - Free games that will run in Windows, Linux and OS X.

My Homepage
Any Dog Breed

Offline

#5 2009-09-11 18:33:56

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Disable wine as default program

I have had the same problem some days ago and get it fixed by deleting all local wine*.desktop files. Sorry, i forgot if this files was in .local or .config but perhaps you can give it a try to search such files in your home directory and do the same.

Note: I was realy shocked as i see the first time that the first option for a textfile is notepad.:)

Offline

#6 2009-09-11 23:47:59

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: Disable wine as default program

Yeah I noticed that too, might have even seen it on an Ubuntu box, don't remember. Weird though...

Offline

#7 2009-09-13 00:26:49

Randy Penguin
Member
Registered: 2009-03-24
Posts: 18

Re: Disable wine as default program

rm ~/.local/share/applications/wine*.desktop

I also had to delete the folder

rm -r ~/.local/share/applications/wine/

-- we see always what we expect to see, when what we expect to see assumes an unexpected shape, it disappears --

Offline

#8 2009-09-13 11:21:37

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Disable wine as default program

@Randy Penguin Thanks for this hint because this is what i have had forgotten the first time.

Okay now the steps what i have done:

find ~/.local/share/mime -name '*wine*' -exec rm {} \;
rm ~/.local/share/applications/wine*.desktop
update-mime-database ~/.local/share/mime

If there is something what could be better solved say it because i don't want to see notepad on my linux.:)

Offline

#9 2010-07-28 20:11:41

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Disable wine as default program

Thanks a lot; this was very annoying for me as well.

Even after changing the default program in gnome, wine was persistant and remained the default.

I wish wine wouldn't do this by default; perhaps this is a bug?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#10 2010-07-28 20:43:51

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Disable wine as default program


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB