gw0kin / gnome2-globalmenu

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

Too much applet log goes into xsession-errors on some platforms.(XFCE!) #406

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gnome-globalmenu always have a huge log, i tried to use "export 
GLOBALMENU_GNOME_ARGS=--log-file=/dev/null" to disable the log.

it worked before, but this days i noticed the log is huge again.

PS: i always use the latest svn version...

Original issue reported on code.google.com by jarry...@gmail.com on 19 Apr 2009 at 2:10

GoogleCodeExporter commented 9 years ago
By default global menu doesn't produce any log files.
The last time my ~/.gnomenu.log was touched was in Jan 2009. I also use latest 
svn.

In the latesst svn the applet(GlobalMenu.PanelApplet makes a lot of noise for 
the new
Alt+<X>, new application name+icon handling.

Check your GLOBALMENU_GNOME_ARGS more carefully? It should be left empty.

Original comment by rainwood...@gmail.com on 19 Apr 2009 at 4:14

GoogleCodeExporter commented 9 years ago
you mean no need "export GLOBALMENU_GNOME_ARGS=--log-file=/dev/null" ?

i tried but still the log keep growing.

of course i logout and then login.

BTW, i use xfce4 and xfce4-panel plugin, all the log are all like this, i found 
them 
in .xsession-error not .gnome.log:

** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: menuitem.vala:81: maybe?
** Message: parser.vala:15: Parser consumed: 0.112408 for 19278 bytes
** Message: globalmenu.vala:23: grabbing key for 文件(_F):102
** Message: globalmenu.vala:23: grabbing key for 编辑(_E):101
** Message: globalmenu.vala:23: grabbing key for 视图(_V):118
** Message: globalmenu.vala:23: grabbing key for 转到(_G):103
** Message: globalmenu.vala:23: grabbing key for 帮助(_H):104
** Message: globalmenu.vala:23: grabbing key for /W167110888:16777215
** Message: globalmenu.vala:33: ungrabbing 104
** Message: globalmenu.vala:33: ungrabbing 118
** Message: globalmenu.vala:33: ungrabbing 103
** Message: globalmenu.vala:33: ungrabbing 102
** Message: globalmenu.vala:33: ungrabbing 101
** Message: globalmenu.vala:33: ungrabbing 16777215

Original comment by jarry...@gmail.com on 20 Apr 2009 at 4:03

GoogleCodeExporter commented 9 years ago
Yes they are from the applet. If they keeps go into your xerrors then it is a 
very
big issue to be solved before a productive release.

But I have to say that on my Fedora 10 GNOME desktop these messages doesn't go 
into
xsession-errors.log. What goes into xsession-errors should be something related 
to
the distribution/DE. Older GNOME on Fedora 9 was doing this though.

As the Applet produces g_messages instead of g_warning/g_message, I don't see 
any
reasons why your distributaion wants to forward them to xsession-ERRORS.

Original comment by rainwood...@gmail.com on 20 Apr 2009 at 7:28

GoogleCodeExporter commented 9 years ago
this problem appear recently, after solved the shotcut problem in xfce4. 

i am using slim + xfce4, use zenwalk login scripts "/etc/X11/Xsession"

Original comment by jarry...@gmail.com on 20 Apr 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Fixed in 2516.

Original comment by rainwood...@gmail.com on 24 Apr 2009 at 1:42

GoogleCodeExporter commented 9 years ago
seems it still have this problem. just the log change to 
/////
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: menuitem.vala:81: maybe?
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: menuitem.vala:81: maybe?
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: parser.vala:15: Parser 
consumed: 
0.007636 for 7759 bytes
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: globalmenu.vala:28: grabbing 
key 
for 文件(_F):102
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: globalmenu.vala:28: grabbing 
key 
for 编辑(_E):101
(GlobalMenu.XFCEPlugin:19482): libgnomenu-DEBUG: globalmenu.vala:28: grabbing 
key 
for 帮助(_H):104
////////

i found lines in login scripts. but if i don't have these lines, i will miss 
every 
applications log. hope it is prosible to disable the debug log while compile.

for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" 
"/tmp/xses-$USER"
do
        if ( cp /dev/null "$errfile" 2> /dev/null ) ; then
                chmod 600 "$errfile"
                exec > "$errfile" 2>&1
                break
        fi
done

Original comment by jarry...@gmail.com on 24 Apr 2009 at 9:33

GoogleCodeExporter commented 9 years ago
Oh! Sorry I forgot to fix this in the XFCE applet!

Too late too late. Scheduling for 0.7.6. (perhaps next week if Issue 408 is 
confirmed.)

Original comment by rainwood...@gmail.com on 24 Apr 2009 at 1:27

GoogleCodeExporter commented 9 years ago
晕。。

but i doesn't matter, because i am using SVN. hope can fix it as soon as 
possible.

Original comment by jarry...@gmail.com on 24 Apr 2009 at 2:17

GoogleCodeExporter commented 9 years ago
Please confirm if the issue is fixed in trunk rev2536. Thanks.

Original comment by rainwood...@gmail.com on 26 Apr 2009 at 1:05

GoogleCodeExporter commented 9 years ago
the log stoped growing now, thanks!

Original comment by jarry...@gmail.com on 26 Apr 2009 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by rainwood...@gmail.com on 27 Apr 2009 at 3:20

GoogleCodeExporter commented 9 years ago
Bad news, this issue shows again.

(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 104
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 118
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 103
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 102
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 101
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:44: 
ungrabbing 16777215
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for 文件(_F):102
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for 编辑(_E):101
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for 视图(_V):118
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for 转到(_G):103
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for 帮助(_H):104
(GlobalMenu.XFCEPlugin:17060): GlobalMenu:Server-DEBUG: mnemonickeys.vala:23: 
grabbing key for /W138429784:16777215

Original comment by jarry...@gmail.com on 22 Dec 2009 at 12:05

GoogleCodeExporter commented 9 years ago
Confirmed. My .xsession-errors continuously keeps growing with these messages.

Original comment by matsusuk...@gmail.com on 8 Feb 2010 at 4:30