imsory / gnome2-globalmenu

Automatically exported from code.google.com/p/gnome2-globalmenu
GNU General Public License v2.0
0 stars 0 forks source link

Thunar error. #579

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, I'm using Xubuntu 9.10 aka Karmic Koala with 0.7.9 version of 
globalmenu and there is a problem with some apps, ie Thunar. I was 
struggling with getting it to work, but adding this line 
GTK_MODULES=globalmenu-plugin to ~/.config/xfce4/xinitrc solved the problem. 
After this I could see menu in app and menu on panel so according to 
instruction I've added this line /usr/bin/globalmenu-settings show-local-
menu FALSE to my starting scripts, and it work for most apps, but not for 
thunar, I can see so called local menu but there is no single letter in 
global menu. I've attached a screenshot. With Terminal and Pidgin there is 
no problem, Nautilus also works. Dunno, any suggestions? Thanks in advance. 

Original issue reported on code.google.com by arialis...@gmail.com on 3 Feb 2010 at 10:10

Attachments:

GoogleCodeExporter commented 8 years ago
I found another app that don't work. It's ristretto - xfce image viewer. It 
seems 
globalmenu have problems with default xfce's apps.

Original comment by arialis...@gmail.com on 4 Feb 2010 at 4:48

GoogleCodeExporter commented 8 years ago
Lol, really, I just turned my computer on and I see no local menu in thunar and 
ristretto, only thing that i did was unistalling nautilus and gnome session.

Original comment by arialis...@gmail.com on 5 Feb 2010 at 2:36

GoogleCodeExporter commented 8 years ago
I was too fast, it deosn't work again. Pretty strange. Didn't change anything 
in 
system. Any ideas guys?

Original comment by arialis...@gmail.com on 5 Feb 2010 at 8:38

GoogleCodeExporter commented 8 years ago
The reason for this si that Xfce spawns Thunar --daemon ech startup, there is 
race condition, so if the export GTK_MODULES is called prior to the launch of 
Tunar --daemon you dont have a workign global menu bar. you can workaround this 
by using an alias for thunar (e.g. GTK_MODULES=... Thunar) or a more hackish 
approach: rename Thunar to Thunar.real and make a shellscript called Thunar in 
/usr/bin with the followinf contents:

#!/bin/sh
GTK_MODULES=globalmenu-gnome Thunar.real $@

Original comment by bernd.pr...@gmail.com on 20 Jun 2010 at 5:26