all programs became unusable

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

all programs became unusable

Post by drefhill »

Hi
It seems like my programs are not linked to Wine anymore.
When i launch a program (clicking the desktop shortcut)
It open a window saying "no windows program configured to open this type of file", and i can't launch winetricks.
The programs seems to be installed in .wine
http://pix.toile-libre.org/upload/origi ... 191839.png
http://pix.toile-libre.org/upload/origi ... 192162.png
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

What happens when you run them from a terminal?
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

how ?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

it doesn't work better, same if i do right click => launch in wine
http://pix.toile-libre.org/upload/origi ... 240544.png
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

In the future, please do not post screenshots of terminal output. Copy and paste it into the body of your post, or if it's long, attach it as a plain text file.

From what you posted, something is seriously messed up in your wineprefix. Try creating a clean one and run wine notepad from it. http://wiki.winehq.org/FAQ#wineprefix
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

But if i make a new wine prefix i will loose all my programs and settings right ?

Code: Select all

fred@fred-fixe ~/Bureau $ winetricks
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned unexpanded string '%ProgramFiles%' ... can be caused a corrupt wineprefix, an old wine, or by not owning /home/fred/.wine
------------------------------------------------------
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

drefhill wrote:But if i make a new wine prefix i will loose all my programs and settings right ?
You can create a new wineprefix without deleting the old one.

Code: Select all

fred@fred-fixe ~/Bureau $ winetricks
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned unexpanded string '%ProgramFiles%' ... can be caused a corrupt wineprefix, an old wine, or by not owning /home/fred/.wine
------------------------------------------------------
Based on your other console output my guess is it's a corrupt wineprefix, but just to be sure: what version of Wine are you using, and do you own /home/fred/.wine?
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

Yes i think i own everything i'm using wine 1.7.1 but i had the problem before the last apdate.
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

i've reinstalled everything but now can't find microsoft font and mono-2.10 in Winetricks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

So a clean wineprefix is working?
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

not really, my program doesn't work well.
I'm suposed to install microsoft font and mono-2.10 in winetricks but i can't find them.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: all programs became unusable

Post by dimesio »

For Wine 1.5.3 and later, install wine-mono rather than installing mono in winetricks. Most distros package it, but it yours doesn't, follow these instructions to install it manually: http://wiki.winehq.org/Mono.

The winetricks verb for the Microsoft fonts is corefonts. That does not include Tahoma, so if you need it, you will have to install that separately. Or, you can just use winetricks allfonts, though that installs a lot of other fonts that you may not need.
drefhill
Level 2
Level 2
Posts: 12
Joined: Sat Mar 02, 2013 11:35 am

Re: all programs became unusable

Post by drefhill »

Ok i found corefonts but i still don't find mono, i used to have mono-2.10.8 installed (i have the folder in my old prefix)
http://pix.toile-libre.org/upload/origi ... 326812.png
Locked