Can't Open Wine Applications

Bug #1036064 reported by Roger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Drawers
Invalid
Low
Unassigned

Bug Description

Even though I've created working .desktop files for a few windows executables to be opened with Wine--and they do work when dragged directly to the launcher and clicked from there--they don't work any longer when used from within Drawers.

I'm not sure why they should work as a [Desktop Entry] but not as a [Desktop Action]. Any ideas? Is there something that could be done with Drawers to make them work or are there special syntax rules that need to be followed to make wine apps work as Desktop Actions?

Revision history for this message
Ego (egogratis) wrote :

After you add launcher to drawer open settings and click on button next to input area for changing drawer name.

Compare what is different between original .desktop file and command in opened file. Probably something will be different at Exec line.

Revision history for this message
icb410 (ian-berke) wrote :

Yes... please post contents of .desktop file (the drawer one). Also does executing the wine launcher work from the quicklist? I currently have wine launchers running in drawers. Their exec lines look like:

env WINEPREFIX="/home/ian/.wine" wine "C:\\Program Files\\pDRAW32\\pDRAW32.exe"
wine "C:\\sedfit\\sedfit.exe"

I have another one with an exec line like this:
env WINEPREFIX="/home/ian/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix "/home/ian/.wine/dosdevices/c:/users/ian/Start\\ Menu/Programs/GeneDoc/GeneDoc.lnk"

but it doesn't work from the quicklist or from the drawer. Changing the line to remove quotes and the extra '\' in 'Start\\ Menu' allowed it to run from drawers:

env WINEPREFIX="/home/ian/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/ian/.wine/dosdevices/c:/users/ian/Start\ Menu/Programs/GeneDoc/GeneDoc.lnk

The quotes are added by drawers on adding the .desktop file because they're needed to prevent problems for other files. I'm not sure how best to fix this, but you can probably fix your exec lines for now with the info above.

Changed in drawers:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
LaunchpadUser (lpusr) wrote :

Just a note: I have no problems with wine apps in the Drawer's launcher. For each app, I do the following:

1. write a custom start script in the main directory of each application. Check if it works.

2. start "main menu" application and add this start script (and custom icon) to the main menu.

3. open the Unity dash, type the name of teh start script to find it and drag it to Drawer's window.

icb410 (ian-berke)
Changed in drawers:
status: Triaged → Incomplete
icb410 (ian-berke)
Changed in drawers:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.