After the latest update I do not have access to Wine installed programs

Bug #1289801 reported by Pascal Mons
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ClassicMenu Indicator
Fix Released
High
Unassigned

Bug Description

The selection for Wine programs disapeared from the drop down menu ...
In the previous version is was working fine.
Can you fix this quickly ? I use it to access Microsoft Office among other wine programs.
It appears as the Administration is now merged with System Tools and Configuration which disappeared in a giant looking one (lots of programs), so I consider this move as not so user friendly.
The only change which is a plus is the All Applications menu along with the addition of the config file for the "Use old icon" ...
And besides that I was looking for the previous version 0.08 and there is no way to get either the source code or the package itself ... no repository (Error 404 on your apache web server) ... ppa only stores the latest uploaded version, and the Ubuntu repo only gets 0.07 ...
I am now back to 0.07 but I definitely would like to find the previous 0.08 which disappeared altogether, if you can have it on your apache web server.

Tags: wine
Pascal Mons (anton+)
description: updated
description: updated
description: updated
description: updated
Pascal Mons (anton+)
description: updated
description: updated
Pascal Mons (anton+)
description: updated
Revision history for this message
Florian Diesch (diesch) wrote :

Do you get the WINE entries if you go to the "ClassicMenu Indicator" submenu and deactivate the item "Use alternate menu"?

Changed in classicmenu-indicator:
status: New → Incomplete
Revision history for this message
Sebastian Thürrschmidt (thuerrschmidt) wrote :

I'm also having various problems since upgrading to classicmenu-indicator 0.09 (from PPA under trusty/14.04). The Wine menu and submenus have disappeared, all Wine apps are listed under "Other". "System Settings" and the three settings categories at the bottom show only a few items with many others missing. Switching to/from the alternate menu doesn't really make things better. The guest session is also affected.

For now I've downgraded to 0.08. If you need more information and/or testing, I'm more than willing to help.

Revision history for this message
Florian Diesch (diesch) wrote : Re: [Bug 1289801] Re: After the latest update I do not have access to Wine installed programs

Am Tue, 11 Mar 2014 16:44:23 -0000
schrieb Sebastian Thürrschmidt <email address hidden>:

> For now I've downgraded to 0.08. If you need more information and/or
> testing, I'm more than willing to help.

What dou you get if you run

  env | grep ^XDG

and

  ls -l /etc/xdg/menus

in a Terminal?

--
Privacy Indicator
Unity appindicator to switch privacy settings
<http://www.florian-diesch.de/software/indicator-privacy/>

Revision history for this message
Pascal Mons (anton+) wrote :

Well here are my output for these commands (I am as well back to 0.08):

$ env | grep ^XDG
XDG_SESSION_COOKIE=fb49b4421c10b976b6d943b200000009-1394574231.506541-940945990
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_CURRENT_DESKTOP=Unity

$ ls -l /etc/xdg/menus
total 68
-rw-r--r-- 1 root root 8208 Mar 27 2012 applications.menu
drwxr-xr-x 2 root root 4096 Jan 14 06:31 applications-merged
-rw-r--r-- 1 root root 4614 Sep 3 2013 cinnamon-applications.menu
lrwxrwxrwx 1 root root 19 Sep 3 2013 cinnamon-applications-merged -> applications-merged
-rw-r--r-- 1 root root 2964 Jan 7 2012 classicmenuindicatorsystem.menu
-rw-r--r-- 1 root root 2827 Apr 16 2012 gnomecc.menu
-rw-r--r-- 1 root root 10920 Sep 7 2012 kde4-applications.menu
drwxr-xr-x 2 root root 4096 May 20 2013 kde-applications-merged
-rw-r--r-- 1 root root 279 Jul 27 2011 kde-information.menu
-rw-r--r-- 1 root root 3984 Jul 30 2011 lxde-applications.menu
-rw-r--r-- 1 root root 3891 Apr 12 2012 unity-lens-applications.menu
-rw-r--r-- 1 root root 4293 May 3 2012 xfce-applications.menu

Revision history for this message
Sebastian Thürrschmidt (thuerrschmidt) wrote :

$ env | grep ^XDG
XDG_VTNR=7
XDG_SESSION_ID=c6
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/thuerrsch
XDG_MENU_PREFIX=gnome-
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_SEAT=seat0
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1000
XDG_CURRENT_DESKTOP=Unity

$ ls -l /etc/xdg/menus
total 40
drwxr-xr-x 2 root root 4096 Mar 10 17:25 applications-merged
-rw-r--r-- 1 root root 2964 Feb 21 2012 classicmenuindicatorsystem.menu
-rw-r--r-- 1 root root 19337 Feb 12 11:20 gnome-applications.menu
-rw-r--r-- 1 root root 2827 Feb 21 2012 gnomecc.menu
-rw-r--r-- 1 root root 2827 Mar 5 14:02 unitycc.menu
-rw-r--r-- 1 root root 3891 Feb 21 2012 unity-lens-applications.menu

Revision history for this message
dajare (dajare) wrote :

This is a "me too": I also have no Wine in the Menu after upgrade from 0.07 to 0.09. It makes no difference whether I use the "Alternate menu" or not. I am using Ubuntu 13.10; I upgraded from PPA.

I did notice that under "All applications" or "Other" (depending on which menu was being displayed) *all* my Wine entries are there (including Winetricks), but *not* Wine itself.

Here is the output of the commands, above, on my system:

$ env | grep ^XDG
XDG_VTNR=7
XDG_SESSION_ID=c4
XDG_MENU_PREFIX=gnome-
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_SEAT=seat0
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1000
XDG_CURRENT_DESKTOP=Unity

$ ls -l /etc/xdg/menus
total 56
drwxr-xr-x 2 root root 4096 Oct 21 07:38 applications-merged
-rw-r--r-- 1 root root 2964 Mar 16 2013 classicmenuindicatorsystem.menu
-rw-r--r-- 1 root root 18850 Oct 9 15:28 gnome-applications.menu
-rw-r--r-- 1 root root 2827 Apr 16 2013 gnomecc.menu
-rw-r--r-- 1 root root 10920 Jul 10 2013 kde4-applications.menu
-rw-r--r-- 1 root root 279 Jun 28 2013 kde-information.menu
-rw-r--r-- 1 root root 3984 May 2 2012 lxde-applications.menu
-rw-r--r-- 1 root root 3891 Apr 18 2013 unity-lens-applications.menu

It would be great to get the Wine entry back; meanwhile, I will access my needed Wine programs via "Other".

Thanks!

Revision history for this message
dajare (dajare) wrote :

P.S. I'm sure devs don't need this info, but I was just looking for wine.desktop and couldn't find it.

It's not in:
- /usr/share/applications where you expect it to be (although "Winetricks" and "Uninstall Wine" are there);
- /home/user/.wine
- /home/user/.local/share/applications, although loads of Wine things (*.desktop) are there

So where *does* the "root" Wine (wine.desktop) file live??

Revision history for this message
Florian Diesch (diesch) wrote :

Am Sat, 15 Mar 2014 11:09:15 -0000
schrieb dajare <email address hidden>:

> So where *does* the "root" Wine (wine.desktop) file live??

In Ubuntu 13.10 the package wine1.4 contains the
file /usr/share/applications/wine.desktop

This file contains the line

 NoDisplay=true

so the Wine entry not shown in ClassicMenu Indicator unless you enable
"Show hidden entries" in the "ClassicMenu Indicator" submenu.

--
Privacy Indicator
Unity appindicator to switch privacy settings
<http://www.florian-diesch.de/software/indicator-privacy/>

Florian Diesch (diesch)
Changed in classicmenu-indicator:
importance: Undecided → High
Revision history for this message
Florian Diesch (diesch) wrote :

This seems to be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701942

Do you get the Wine menu back if you add the following line in /etc/xdg/menus/gnome-applications.menu inmediately
below <DefaultMergeDirs>:

  <MergeDir>/etc/xdg/menus/applications-merged</MergeDir>

Revision history for this message
Lutz (lutz-4) wrote :

Only the basic entries become visible after adding the requested line <MergeDirs... (like after a fresh wine installation without any own programs)
The installed wine applications reside in menu others anymore.

Revision history for this message
dajare (dajare) wrote :

Reply to comment #9 - like Lutz = I get an entry for Wine, but none of the Wine applications are nested under it, as they were with 0.07 (rather, the *only* entry under Wine > Programs is Accessories > Notepad, not any of my installed apps).

This is only if "Use alternate menu" is *not* selected: if I have it with a "tick" (selected), then there is no Wine entry at all.

Re: comment #8 - it makes no difference whether I have "Show hidden entries" enabled or disabled.

Revision history for this message
Michael MacEachern (maceach-b) wrote :

I too am having problems with getting WINE to show up with the alternate menu. Also Chrome Apps too.

Without the alternate menu, WINE shows up in 0.09, but but just the programs I installed, not the configure wine app, notepad, or anything. With 0.07 on my laptop, all that did show up, but on my desktop, even 0.07 has the same issue as 0.09 here on my laptop.

So confusing!

Revision history for this message
Graham Inggs (ginggs) wrote :

Same problem here.
Wine menu with all applications appear in classicmenu-indicator 0.07, but in 0.09 only:

Programs > Accessories > Notepad
Browse C: Drive
Configure Wine
Uninstall Wine Software
Winetricks

> Do you get the Wine menu back if you add the following line in /etc/xdg/menus/gnome-applications.menu inmediately
> below <DefaultMergeDirs>:
> <MergeDir>/etc/xdg/menus/applications-merged</MergeDir>

No, this doesn't seem to change anything. I did try logging off and on again (which seems to be necessary when switching between 0.07 and 0.09).

Revision history for this message
UlfZibis (ulf-zibis) wrote :

Hi, I'm now on Ubuntu 15.04 with the same problem.
After I closed the ClassicMenu Indicator and restarted it, Wine menu appeared again, but most other menus disappeared, see: https://forum.ubuntuusers.de/topic/classicmenu-indicator-zeigt-keine-wine-menues-/

Revision history for this message
UlfZibis (ulf-zibis) wrote :

Reply to comment #7

I find:
- /usr/share/desktop-directories/wine-wine.directory
- /usr/share/desktop-directories/wine-Programs.directory
...
but not
- /usr/share/desktop-directories/wine.directory
Same here:
- /home/user/.local/share/desktop-directories/wine-wine.directory
- /home/user/.local/share/desktop-directories/wine-Programs.directory
...

I have copied the wine-wine.directory files to wine.directory.
Then restarted my machine, but it didn't help.

Revision history for this message
Florian Diesch (diesch) wrote :

This will be fixed in v0.10

As a workaround you should get the Wine menu if you run

    sudo ln -s /etc/xdg/menus/applications-merged /etc/xdg/menus/unity-lens-applications-merged

if you have "Use alternate menu" enabled in the "ClassicMenu Indicator" submenu or

    sudo ln -s /etc/xdg/menus/gnome-applications.menu /etc/xdg/menus/applications.menu

otherwise if /etc/xdg/menus/applications.menu doesn't exist yet.

Changed in classicmenu-indicator:
status: Incomplete → In Progress
Florian Diesch (diesch)
Changed in classicmenu-indicator:
status: In Progress → Fix Committed
Revision history for this message
UlfZibis (ulf-zibis) wrote :

I have disabled "Use alternate menu", but I only see:
Wine >
Personal >
Hardware >
System >
----------
Classicmenu Indicator >

So the workaround helps to see the Wine menu again, with all desired content, but most other items were disappeared.

When I then enable the alternative menu and add the other workaround, I see a very ugly menu, some of the items are not translated to my language (german), and exactly these items have the same wrong tooth-wheels item. Additionally, the installed applications in the Wine sub-menu Programs were disappeared, they are only accessible from All Applications, which is inconveniently large.

Please note, I now have:
~$ ls -AlR /etc/xdg/menus/
/etc/xdg/menus/:
insgesamt 64
lrwxrwxrwx 1 root root 23 Aug 20 2015 applications.menu -> gnome-applications.menu
drwxr-xr-x 2 root root 4096 Feb 1 01:14 applications-merged
-rw-r--r-- 1 root root 2964 Mär 16 2013 classicmenuindicatorsystem.menu
-rw-r--r-- 1 root root 19337 Jan 13 2015 gnome-applications.menu
-rw-r--r-- 1 root root 10920 Mai 4 2015 kde4-applications.menu
-rw-r--r-- 1 root root 279 Feb 23 2015 kde-information.menu
-rw-r--r-- 1 root root 10795 Apr 4 2015 kf5-applications.menu
-rw-r--r-- 1 root root 2827 Apr 10 2015 unitycc.menu
-rw-r--r-- 1 root root 3891 Nov 3 2013 unity-lens-applications.menu
lrwxrwxrwx 1 root root 34 Feb 23 00:54 unity-lens-applications-merged -> /etc/xdg/menus/applications-merged

/etc/xdg/menus/applications-merged:
insgesamt 4
-rw-r--r-- 1 root root 699 Jan 17 2012 wine.menu

I also tried with absolute symlinks, which didn't help.

Revision history for this message
UlfZibis (ulf-zibis) wrote :

I meant:
... wrong tooth-wheels ICON.

Revision history for this message
UlfZibis (ulf-zibis) wrote :

With "Use alternate menu" disabled, after reboot I again see the complete menu, but again without the Wine menu.

Revision history for this message
Florian Diesch (diesch) wrote :

I just uploaded the current version of the upcoming v0.10 to ppa:diesch/experimental

It would be great if you could try if this works for you.

Please remove that PPA from your package sources after installing the classicmenu-indicator package to prevent getting other updates by accident.

Revision history for this message
UlfZibis (ulf-zibis) wrote :

I now have installed the experimental version.
Looks very great. Thanks for your work.

One nit: I now have 2 Wine menus, the upper between Misc and Science, which is complete, and another below Ubuntu-Software-Center, which is incomplete, only the standard Wine menus in are there, but not the installed programs.

Revision history for this message
Graham Inggs (ginggs) wrote :

I also installed the experimental version.
I also have two Wine menus, two Electronics menus and two Wolfram Mathematica menus, all appearing below Ubuntu-Software-Centre. The second Wine menu only contains Winetricks.

Going to Settings/Preferences and disabling 'Add extra/Wine menus' removed the duplicates and I was still able to access programs installed in Wine.

I also disabled the 'Add menu with all apps'. In my opinion it shouldn't be on by default.

Revision history for this message
Florian Diesch (diesch) wrote :

Thanks for testing!

I've uploaded anew version to the PPA. Now the second Wine menu should contain all Wine apps, too.

The first Wine menu and the other extra menus are from the menu definition. The second ones are added by CM-I as not all menu definitions include them. I'll probably should change the config dialog to make this clear.

Revision history for this message
UlfZibis (ulf-zibis) wrote :

rc-2 works fine here !

Revision history for this message
dajare (dajare) wrote :

I have just installed rc-2 from the /experimental PPA, and all seems well. I'm on 14.04 LTS Ubuntu. I've got a couple rogue duplicate entries, but I'm sure that's something *I've* done! In particular, the "Wine" menus are as they should be.

Thanks for this continued development. ClassicMenu Indicator makes Unity bearable! :)

Florian Diesch (diesch)
Changed in classicmenu-indicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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