[mintmenu] doesn't launch wine 1.2 shortcuts

Bug #618044 reported by Chris Mayfield
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Medium
Clement Lefebvre

Bug Description

There is a slight incompatibility between mintmenu 4.9.9 and wine 1.2 (the latest stable version from ppa:ubuntu-wine/ppa). I have installed multiple Windows applications on several different machines. In all cases, a "File not found" error pops up when trying to launch them from mintmenu. This doesn't seem to be the case with the old wine 1.1.42 in the repositories. I've noticed that wine 1.2 generates slightly different .desktop files, e.g.:

[Desktop Entry]
Name=Starcraft
Exec=env WINEPREFIX="/home/chris/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/chris/.wine/dosdevices/c:/users/chris/Start\\ Menu/Programs/Starcraft/Starcraft.lnk
Type=Application
StartupNotify=true
Path=/home/chris/.wine/dosdevices/c:/Program Files/Starcraft
Icon=/home/chris/.local/share/icons/6568_starcraft.0.png

These shortcuts work just fine from the GNOME menu (Alt-F1). Perhaps the backslashes and/or spaces aren't being handled properly by mintmenu. Shortcuts generated by wine 1.1.42 do work from mintmenu, but have the following difference in format:

Exec=env WINEPREFIX="/home/chris/.wine" wine "C:\\Program Files\\Starcraft\\Starcraft.exe"

Changed in linuxmint:
milestone: none → julia-rc1
assignee: nobody → Clement Lefebvre (clementlefebvre)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Should be fixed by mintmenu 5.1.1, fix released.

Changed in linuxmint:
status: Confirmed → Fix Released
Revision history for this message
Steve Bovino (sbovino) wrote :

I installed the release candidate with wine version 1.2 I am getting the same results. When launching the program i get a file not found message. This is with an installation of MS office 2007. This error occurs only with the installation of MS Office. Other Windows applications run fine. Workaround is to build a launcher off the desktop.

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Can you run "mintmenu" in the terminal. This will open another menu on the desktop. Can you run Office from there, and copy paste the output of the terminal here?

Changed in linuxmint:
milestone: julia-rc1 → julia-stable
status: Fix Released → Confirmed
Revision history for this message
Steve Bovino (sbovino) wrote : RE: [Bug 618044] Re: mintmenu doesn't launch wine 1.2 shortcuts
Download full text (16.5 KiB)

Here is thee output you requested. Thanks! Great
job on the new release!!

*********************************************************
mintmenu
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:505:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:510:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:517:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:522:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:529:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:534:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:541:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:546:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:553:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:558:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:565:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:570:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:577:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:582:
Background image options specified without filename
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:589:
Unable to locate image file in pixmap_path: "spin.png"
/home/sbovino/.themes/Serenity/gtk-2.0/gtkrc:594:
Background image options specified without filename
Opacity is: 98
Setting opacity to: 0.98
/usr/lib/linuxmint/mintMenu/mintMenu.py:102:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
/usr/lib/linuxmint/mintMenu/mintMenu.py:104:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.enable()
/usr/lib/linuxmint/mintMenu/mintMenu.py:397:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip( widget, tip, tipPrivate )
__init__ took 344.587 ms
=======>>> Notepad = Wine
=======>>> FirstClass = Wine
=======>>> Microsoft Clip Organizer = Wine
=======>>> Microsoft Office 2003 Save My Settings
Wizard = Wine
=======>>> Microsoft Office Application Recovery = Wine
=======>>> Microsoft Office Document Imaging = Wine
=======>>> Microsoft Office Picture Manager = Wine
=======>>> Microsoft Office Access 2003 = Wine
=======>>> Microsoft Office Excel 2003 = Wine
=======>>> Microsoft Office InfoPath 2003 = Wine
=======>>> Microsoft Office Outlook 2003 = Wine
=======>>> Microsoft Office PowerPoint 2003 = Wine
=======>>> Microsoft Office Publisher 2003 = Wine
=======>>> Microsoft Office Word 2003 = Wine
[Pyinotify ERROR] add_watch: cannot watch
/home/sbovino/.config/autostart/gcalctool.desktop (WD=-1)
[Pyinotify ERROR] add_watch: cannot watch
/home/sbovino/.config/autostart/gucharmap.desktop (WD=-1)
[Pyinotify ERROR] add_watch: cannot watch
/home/sbovino/.config/autostart/baobab...

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote : Re: mintmenu doesn't launch wine 1.2 shortcuts

Re-closing this bug. Office bug continues at #664751

Changed in linuxmint:
status: Confirmed → Fix Released
summary: - mintmenu doesn't launch wine 1.2 shortcuts
+ [mintmenu] doesn't launch wine 1.2 shortcuts
Revision history for this message
suelynnes (suelynnes) wrote :

I put on Mint gnome 10RC and Wine 1.3 and the same thing happens. I thought it had been fixed with the new mintmenu but apparently not. I can make launchers manually but can't launch from the wine menu on mintmenu.

Revision history for this message
Curt Matz (curtis-matzzone) wrote :

Bug <a href=" https://bugs.launchpad.net/linuxmint/+bug/664751">#664751</a> has a workaround.

Revision history for this message
Colin Norris (sirrontm) wrote :

It looks like I am currently experiencing this behaviour with the "Katya" release of Linux Mint and Wine 1.2.2, so perhaps this bug should be reopened.

Revision history for this message
Albert Pool (albertpool) wrote :

It affects EVERY program and not just Office, so this one should be opened and the office bug closed.
Applies to Mint 10 & 11.

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

Can anyone confirm that the attached patch fixes this bug ? (patch taken from srandall52 in bug #664751)

Revision history for this message
DaveR (djrpublic) wrote :

Wine version 1.3.15-0Ubuntu5 IS the current version in the Mint/Wine repository. That's where I got it from. Perhaps we should not be looking at 1.2's behaviour?

Any way I can try the patch?

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

To try the patch, just download the mintmenu.diff file attached to my previous post, then open a terminal, go to the folder where you downloaded the file and run "sudo patch mintmenu.diff".
After that, you'll need to restart gnome-panel or log out and back it to see if it works.

Revision history for this message
DaveR (djrpublic) wrote :

I can confirm that the Wine Menu links work when launched from the XFCE 4.8 Applications Menu. BTW the XFCE version of the menu is functionally better than Mint's

Revision history for this message
Albert Pool (albertpool) wrote :

DaveR: This bug affects both 1.3 and 1.2.
And when you just install wine you get 1.2. 1.3 is the development version which you can get by installing wine1.3.

Revision history for this message
DaveR (djrpublic) wrote :

No the patch doesn't work for me. Clicking the link to Ancestral Quest just goes off into never - never land. Clicking the link for PAF or Kindle brings up the "File not found" window.

To pick up on one of the Wine bugs about this issue:P When a Windows program installs on Wine and places a "shortcut" on the Desktop Wine(I guess) also puts a '.lnk' file next to the shortcut. The program's shortcut works but the Wine generated link does not, never has in all the years I've been running Ubuntu or Mint. So I'm not at all sure that this is strictly a Mint Menu issue.

Tuesday I installed XFCE 4.8 to see if it will present a supported alternative to Unity/Gnome 3 going forward. If I launch a XFCE session and use its menu Wine's links are better organized and they do function as expected.

Revision history for this message
Graeme (gvj) wrote :

I worked around this by deleting the escape character in Program/ Files and enclosing it in single quotes e.g. 'Program Files'.

Revision history for this message
Albert Pool (albertpool) wrote :

The MintMenu should be able to load starters with those escape chars. It might work for you but it's not a true bugfix.

Revision history for this message
Albert Pool (albertpool) wrote :

MGSE menu is not affected by this bug. But MintMenu is. I'd like to see this fixed when MintMenu gets ported to MGSE / Gnome Shell.

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

@albertpool : MGSE menu is the port of mintmenu to gnome-shell. It's meant to evolve in order to implement more of the functionnalities mintmenu had, but there won't be another port.

Revision history for this message
Albert Pool (albertpool) wrote :

I saw MGSE's menu as a temporary solution till the great MintMenu was ported to MGSE / Gnome Shell. Thank you for telling me that this isn't true.

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

Well it's still the idea. As I said, we're working on implementing all the functionnalities that mintmenu had in the MGSE menu.
It's just that there won't be a new mintmenu, it will be built on the base of the current MGSE menu.

My point was pretty much that this is already fixed in MGSE menu, so there is no reason for the bug to reappear in future versions.

Revision history for this message
Turbo (axelhc) wrote :

Hi guys,

Wine apps from Mint Menu still don't work (LM 17.3 + Wine 1.7.55).

Please go back here:

https://bugs.launchpad.net/linuxmint/+bug/664751

Regards.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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