This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Doesn't work Global Menu for gtk2 applications

Tags: global, menu, appmenu, gtk2 global, menu, appmenu, gtk2 global, menu, appmenu, gtk2
(comma "," separated)
vladimirkhusainov
Registered Member
Posts
5
Karma
0
OS
KDE Neon - Plasma 5.13.4:
Global Menu (appmenu) works for Qt and GTK3 applications well, but doesn't work with GTK2 applications.
What is problem?

Also, had same problem for Qt4 applications, but appmenu-qt installation solved the problem.
User avatar
elav
Registered Member
Posts
53
Karma
0
OS
I have the same problem with GIMP or Inkscape. However, when I run it through the terminal, it works. In addition, Firefox, Thunderbird and LibreOffice work well.

By the way, it only happens to me in KDE Neon. With ArchLinux I do not have that problem.
User avatar
elav
Registered Member
Posts
53
Karma
0
OS
Ok.. solutions is here:

Code: Select all
nano .config/plasma-workspace/env/enable_gtkappmenu.sh

#!/bin/bash

# gtk global menu
if [ -n "$GTK_MODULES" ]; then
    GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
else
    GTK_MODULES="appmenu-gtk-module"
fi

if [ -z "$UBUNTU_MENUPROXY" ]; then
    UBUNTU_MENUPROXY=1
fi
export GTK_MODULES
export UBUNTU_MENUPROXY


I saw this in KDE Neon Telegram group.. and thanks to Christophe Silva.
vladimirkhusainov
Registered Member
Posts
5
Karma
0
OS
elav wrote:Ok.. solutions is here:

Code: Select all
nano .config/plasma-workspace/env/enable_gtkappmenu.sh

#!/bin/bash

# gtk global menu
if [ -n "$GTK_MODULES" ]; then
    GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
else
    GTK_MODULES="appmenu-gtk-module"
fi

if [ -z "$UBUNTU_MENUPROXY" ]; then
    UBUNTU_MENUPROXY=1
fi
export GTK_MODULES
export UBUNTU_MENUPROXY


I saw this in KDE Neon Telegram group.. and thanks to Christophe Silva.


Problem in KDE Neon User Edition (16.04) is that there is no repository with appmenu-gtk


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]