Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-12-31 01:36:05

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

WINE shortcut not working

Hi,

I recently moved from gnome3 to xfce, and i can say i'm really happy !!!!

I've only one problem, when i install a windows app with wine, .desktop is created, whisper menu is refreshed with menu entry/icon, but if i run the application it does nothing...

I tried to create a .desktop file, with this inside :

[Desktop Entry]
Name=Worms WMD
Exec=/home/unknown/Scripts/wine/Worms_WMD.sh
Type=Application
StartupNotify=false
Path=/home/unknown/.wine32/drive_c/Jeux/Worms WMD
Icon=E8AB_Worms W
StartupWMClass=worms w.m.d.exe
Comment=
Terminal=true

And here the Worms_WMD.sh :

#!/bin/sh
env WINEPREFIX="/home/unknown/.wine32" WINEARCH=win32 wine "$HOME/.wine32/drive_c/Jeux/Worms WMD/Worms W.M.D.exe"

But nothing too...i'm totally lost...

I i run the Worms_WMD.sh from terminal worms run perfectly fine !

Can you help me please wink

Offline

#2 2019-12-31 01:41:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: WINE shortcut not working

Hello and welcome.

Ski-lleR wrote:

Path=/home/unknown/.wine32/drive_c/Jeux/Worms WMD

First thing I would try is to encapsulate the above in quotes:

Path="/home/unknown/.wine32/drive_c/Jeux/Worms WMD"

...the shell doesn't respond well to spaces.

If it still doesn't work, do the same for "StartupWMClass".

Depending on the distro that you use, check your ~/.xsession-errors file for errors after you try to run the game.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-12-31 01:57:53

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

Re: WINE shortcut not working

Hi,

I tried to quote one by one and the two, not help.

Here is the log after i run the menu entry :

Le répertoire de travail « "/home/unknown/.wine32/drive_c/Jeux/Worms WMD" » n’existe pas. Il ne sera pas utilisé à la réouverture de « exo-open ».Le répertoire de travail « "/home/unknown/.wine32/drive_c/Jeux/Worms WMD" » n’existe pas. Il ne sera pas utilisé à la réouverture de « exo-open ».

Basically, if you don't speak french, he saying the folder ""/home/unknown/.wine32/drive_c/Jeux/Worms WMD" doesn't exist...

What's the hell is this...if i cd into the folder it open fine, my sh script prove it.

Offline

#4 2019-12-31 02:41:10

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: WINE shortcut not working

Can you post back the edited contents of your .desktop file? It should be:

[Desktop Entry]
Name=Worms WMD
Exec=/home/unknown/Scripts/wine/Worms_WMD.sh
Type=Application
StartupNotify=false
Path="/home/unknown/.wine32/drive_c/Jeux/Worms WMD"
Icon=E8AB_Worms W
StartupWMClass=worms w.m.d.exe
Comment=
Terminal=true

Also, what does the following return:

ls "/home/unknown/.wine32/drive_c/Jeux/Worms WMD"

If it still doesn't work, try removing the whole "PATH=" line.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-12-31 02:47:15

Ski-lleR
Member
Registered: 2019-12-31
Posts: 18

Re: WINE shortcut not working

Here is the new .desktop :

[Desktop Entry]
Name=Worms WMD
Exec=/home/unknown/Scripts/wine/Worms_WMD.sh
Type=Application
StartupNotify=false
Path="/home/unknown/.wine32/drive_c/Jeux/Worms WMD"
Icon=E8AB_Worms W.M.D.0
StartupWMClass="worms w.m.d.exe"
Comment=
Terminal=true

I tried to remove Path, not working more...

And if i do ls ... :

unknown@PC-UNKNOWN:~$ ls "/home/unknown/.wine32/drive_c/Jeux/Worms WMD"
 Audio         DevIL.dll         fmod_event_net.dll    glut32.dll    ILU.dll           libcurl.dll    Qt5Gui.dll                             steam000.wow    uidata        'Worms W.M.D.exe'
 CommonData    DLC               fmod_event_netL.dll   icudt52.dll   ILUT.dll          libsslMD.dll   Qt5OpenGL.dll                          steam001.wow    unins000.dat
 DataPC        fmod_event.dll    fmodex.dll            icuin52.dll   imageformats      platforms      Qt5Widgets.dll                         steam_api.dll   unins000.exe
 Default.cfg   fmod_eventL.dll   fmodexL.dll           icuuc52.dll   libcryptoMD.dll   Qt5Core.dll    QtSolutions_PropertyBrowser-head.dll   steam_api.ini   wads

Offline

#6 2019-12-31 02:49:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: WINE shortcut not working

Ski-lleR wrote:

I tried to remove Path, not working more...

What does ~/.xsession-errors say after you remove the PATH= line?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB