Bug#904820: mate-applet-topmenu: topmenu not working

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Aug 15 10:08:14 BST 2018


Control: severity -1 normal

HI Stefan,

I don't think this is a bug but an insufficient setup. Also note that  
topmenu-gtk is discontinued upstream and can be replaced by a MATE  
applet from src:vala-panel-appmenu.

On  Sa 28 Jul 2018 12:05:35 CEST, Stefan Kadow wrote:

> Package: mate-applet-topmenu
> Version: 0.3-1
> Severity: grave
> Justification: renders package unusable
>
> Add to panel works, but you will see almost nothing but some pixels.
> Each GTK app keeps its menu in its own window, no menu in panel.
>
> I tried the stable and backports versions.
>
> Everything looks good in systemd-journal:
> Jul 28 11:57:52 zeit dbus-daemon[619]: Activating service  
> name='org.mate.panel.applet.TopMenuMatePanelAppletFactory'
> Jul 28 11:57:52 zeit dbus-daemon[619]: Successfully activated  
> service 'org.mate.panel.applet.TopMenuMatePanelAppletFactory'

You need to load the according GTK module (e.g. via a file like the  
below in /etc/x11/Xsession.d/, taken from ubuntu-mate-default-settings  
in Ubuntu MATE 16.04):

```
# This file is sourced by Xsession(5), not executed.

if [ "x$DESKTOP_SESSION" = "xmate" ] || [ "x$XDG_SESSION_DESKTOP" ==  
"xmate" ]; then
     if [ -z "$GTK_MODULES" ] ; then
         GTK_MODULES="canberra-gtk-module:topmenu-gtk-module"
     else
         GTK_MODULES="$GTK_MODULES:canberra-gtk-module:topmenu-gtk-module"
     fi
     export GTK_MODULES

     # Disable GTK3 overlay scrollbars
     export GTK_OVERLAY_SCROLLING=0

	# QT apps to use GTK styling
     export QT_STYLE_OVERRIDE=gtk

     # Workaround clutter issue (LP: #1462445)
     export CLUTTER_BACKEND=x11
fi
```

When using mate-applet-appmenu (from vala-panel-appmenu) from Debian  
testing, you need to load the appmenu-gtk-module instead.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://alioth-lists.debian.net/pipermail/pkg-mate-team/attachments/20180815/4708289a/attachment.sig>


More information about the pkg-mate-team mailing list