Unity GTK module didn't get install when upgrading from 12.04

Bug #1313353 reported by Jan Groenewald
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Invalid
Undecided
Unassigned
unity-gtk-module (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm running trusty 64bit (do-release-upgrade from precise). When I set Dash > Appearance > Behaviour > Show menus "In the menu bar" (I toggled it a few times while looking at each app).

It works for
firefox
clementine
chromium
unity-control-centre
dconf-editor
system monitor

It does not work for (they both stay LIM and take up an extra bar below the global bar when maximised)
nautilus
gnome-terminal
gedit
ubuntu-software-centre
transmission-gtk

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

That's quite weird, can you provide screenshots to show that and your env variables?

Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Jan Groenewald (jan-aims) wrote :
Download full text (3.8 KiB)

0 jan@osprey:~$env
XDG_VTNR=7
LC_PAPER=en_ZA.UTF-8
SSH_AGENT_PID=1998
LC_ADDRESS=en_ZA.UTF-8
XDG_SESSION_ID=c2
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/jan
SELINUX_INIT=YES
LC_MONETARY=en_ZA.UTF-8
CLUTTER_IM_MODULE=xim
GPG_AGENT_INFO=/run/user/1000/keyring-ihe348/gpg:0:1
TERM=xterm
VTE_VERSION=3409
SHELL=/bin/bash
SSH_AGENT_LAUNCHER=upstart
IGNOREEOF=0
WINDOWID=79692285
LC_NUMERIC=en_ZA.UTF-8
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1929
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-ihe348
GTK_MODULES=overlay-scrollbar
http_proxy=http://proxy.aims.ac.za:3128/
HISTFILESIZE=2000
USER=jan
LC_TELEPHONE=en_ZA.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
<email address hidden>
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring-ihe348/ssh
ftp_proxy=ftp://proxy.aims.ac.za:3128/
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
DESKTOP_SESSION=ubuntu
PATH=/home/jan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jan/bin/:/home/jan/android-sdk-linux/tools:/home/jan/android-sdk-linux/platform-tools
QT_QPA_PLATFORMTHEME=appmenu-qt5
LC_IDENTIFICATION=en_ZA.UTF-8
PWD=/home/jan
JOB=gnome-session
XMODIFIERS=@im=ibus
EDITOR=/usr/bin/vim
QUILT_PATCHES=debian/patches
GNOME_KEYRING_PID=1927
LANG=en_US.UTF-8
GDM_LANG=en_US
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
LC_MEASUREMENT=en_ZA.UTF-8
COMPIZ_CONFIG_PROFILE=ubuntu
IM_CONFIG_PHASE=1
PS1=$? \[\e[32;1m\]\u\[\e[0m\]@\[\e[33;1m\]\h\[\e[0m\]:\[\e[34;1m\]\w\[\e[32;1m\]$\[\e[0m\]
https_proxy=https://proxy.aims.ac.za:3128/
GDMSESSION=ubuntu
HISTCONTROL=ignoredups:ignorespace
SESSIONTYPE=gnome-session
SHLVL=1
HOME=/home/jan
XDG_SEAT=seat0
LANGUAGE=en_US:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
UPST...

Read more...

Revision history for this message
Jan Groenewald (jan-aims) wrote :

Screenshot of maximized terminal. Menu is not global.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

It's weird that you only get this on few apps, but it looks that the UBUNTU_MENUPROXY env variable is not exported there, try to launch the terminal with
  UBUNTU_MENUPROXY="1" gnome-terminal --disable-factory

Will it work?

Also, what you get doing:
  gsettings list-recursively com.canonical.unity-gtk-module

Revision history for this message
Jan Groenewald (jan-aims) wrote : Re: [Bug 1313353] Re: Not all apps follow Global Menu vs LIM setting

The problem persists:
0 jan@osprey:~$UBUNTU_MENUPROXY="1" gnome-terminal --disable-factory

(gnome-terminal:5404): GLib-GIO-CRITICAL **: g_settings_get: the format
string may not contain '&' (key 'monospace-font-name' from schema
'org.gnome.desktop.interface'). This call will probably stop working with a
future version of glib.
0 jan@osprey:~$gsettings list-recursively com.canonical.unity-gtk-module
No such schema 'com.canonical.unity-gtk-module'
1 jan@osprey:~$

On 17 May 2014 15:55, Marco Trevisan (Treviño) <mail@3v1n0.net> wrote:

> It's weird that you only get this on few apps, but it looks that the
> UBUNTU_MENUPROXY env variable is not exported there, try to launch the
> terminal with
> UBUNTU_MENUPROXY="1" gnome-terminal --disable-factory
>
> Will it work?
>
> Also, what you get doing:
> gsettings list-recursively com.canonical.unity-gtk-module
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1313353
>
> Title:
> Not all apps follow Global Menu vs LIM setting
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1313353/+subscriptions
>

--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za
 ^^-^^

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote : Re: Not all apps follow Global Menu vs LIM setting

Mh, so it looks you're missing the gtk module for that:
  sudo apt-get install unity-gtk3-module

Revision history for this message
Jan Groenewald (jan-aims) wrote : Re: [Bug 1313353] Re: Not all apps follow Global Menu vs LIM setting

Yes, installed that, and it is fixed after a reboot.
Strage that it was not installed after a do-release-upgrade from 12.04.
It seems to be Recommends:

0 jan@kontiki:~$apt-cache depends ubuntu-desktop|grep unity
  Depends: unity
  Depends: unity-control-center
  Depends: unity-greeter
  Depends: unity-settings-daemon
  Recommends: unity-webapps-common
  Recommends: xul-ext-unity
0 jan@kontiki:~$apt-cache depends unity|grep indicator
  Depends: libindicator3-7
  Recommends: indicator-appmenu
  Recommends: indicator-application
  Recommends: indicator-sound
  Recommends: indicator-bluetooth
  Recommends: indicator-datetime
  Recommends: indicator-keyboard
  Recommends: indicator-messages
  Recommends: indicator-printers
  Recommends: indicator-power
  Recommends: indicator-session
  Recommends: telepathy-indicator
0 jan@kontiki:~$apt-cache depends indicator-appmenu|grep gtk
  Depends: libdbusmenu-gtk3-4
  Depends: libgtk-3-0
    ubiquity-frontend-gtk
  Recommends: unity-gtk2-module
  Recommends: unity-gtk3-module
0 jan@kontiki:~$

Perhaps it should be Depends: somewhere?

Changed in unity (Ubuntu):
status: Incomplete → Invalid
summary: - Not all apps follow Global Menu vs LIM setting
+ Unity GTK module didn't get install when upgrading from 12.04
Revision history for this message
Kafui Odzangba Dake (odzangba) wrote :

I can confirm this bug. Fixed after installing unity-gtk3-module.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-gtk-module (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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