Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-10-29 08:49:08

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

No output of genmon-plugin after update to 4.0... Sometimes.

Hi community,

I faced some issue after updating it from 3 to 4.0.

Sometimes my plugins' output doesn't displayed, see these three screenshots (sometimes all is ok):
2017-10-29_check_route.sh.png
2017-10-29_check_temp.sh.png
2017-10-29_weather.sh.png

However, there is no doubt that plugins always work properly, see their output:

chisel:[/home/slayer]% bin/check_route.sh 
<txt> </txt> <img>/home/slayer/bin/green.png</img> <tool>192.168.5.5</tool><click>/home/slayer/bin/vpn.sh off</click>
chisel:[/home/slayer]% 

chisel:[/home/slayer]% bin/check_temp.sh 
<tool>58°</tool> <bar>-7.50</bar>
chisel:[/home/slayer]% 

chisel:[/home/slayer]% bin/weather.sh
<txt>19SW11 12</txt>
<txtclick>dillo -f -g 710x414 http://weather.slayer.tk/barcelona.fore.png</txtclick>
<tool>2017-10-29 09:00 +03:00 20 knots 225° 11°C
2017-10-29 12:00 +03:00 23 knots 218° 12°C
2017-10-29 15:00 +03:00 26 knots 211° 13°C
2017-10-29 18:00 +03:00 30 knots 221° 13°C</tool>
chisel:[/home/slayer]% 

There were no issue before upgrade.

Now my versions are (updated using FreeBSD port system):

libxfce4gui-4.10.0_5
libxfce4menu-4.12.1_1
libxfce4util-4.12.1
xfce4-desktop-4.12.4
xfce4-genmon-plugin-4.0.0
xfce4-panel-4.12.1
xfce4-session-4.12.1_4
xfce4-settings-4.12.1 

To identify an issue, I've set PANEL_DEBUG=1

Please have a look at the xfce4-panel log (with issue present):

chisel:[/home/slayer/.config/xfce4]% xfce4-panel -q
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
chisel:[/home/slayer/.config/xfce4]% xfce4-panel &
[1] 22491
chisel:[/home/slayer/.config/xfce4]% xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
xfce4-panel(module-factory): reading /usr/local/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x29cf1098: rgba colormap=0x29cabde0, compositing=true
xfce4-panel(base-window): 0x29cf1098: rgba colormap=0x29cabde0, compositing=true
xfce4-panel(display-layout): 0x29cf1098: display=:0.0{comp=true}, screen-0[0x29cc60b8]=[1280,800] (LVDS=[0,0;1280,800])
xfce4-panel(positioning): 0x29cf1098: screen=0x29cc60b8, monitors=1, output-name=(null), span-monitors=false, base=0,0
xfce4-panel(positioning): 0x29cf1098: working-area: screen=0x29cc60b8, x=0, y=0, w=1280, h=800
xfce4-panel(struts): 0x29cf1098: top=31, start_x=0, end_x=1279
xfce4-panel(module): new item (type=object-type, name=applicationsmenu, id=1)
xfce4-panel(module): new item (type=object-type, name=launcher, id=5)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=15)
xfce4-panel(module): new item (type=object-type, name=pager, id=4)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=6)
xfce4-panel(external): systray-6: child spawned; pid=22492, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/2
xfce4-panel(module): new item (type=external-wrapper, name=xkb, id=2)
xfce4-panel(external): xkb-2: child spawned; pid=22493, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/7
xfce4-panel(module): new item (type=external-wrapper, name=battery, id=7)
xfce4-panel(external): battery-7: child spawned; pid=22494, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/8
xfce4-panel(module): new item (type=external-wrapper, name=mixer, id=8)
xfce4-panel(systray): registered manager on screen 0
xfce4-panel(external): mixer-8: child spawned; pid=22495, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/9
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=9)
xfce4-panel(external): genmon-9: child spawned; pid=22496, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/10
xfce4-panel(module): new item (type=external-wrapper, name=xfce4-mount-plugin, id=10)
xfce4-panel(external): xfce4-mount-plugin-10: child spawned; pid=22497, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/12
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=12)
xfce4-panel(external): genmon-12: child spawned; pid=22498, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/13
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=13)
xfce4-panel(external): genmon-13: child spawned; pid=22499, argc=8
xfce4-panel(module): new item (type=object-type, name=clock, id=11)
xfce4-panel(module): new item (type=object-type, name=launcher, id=16)
xfce4-panel(external): systray-6: child is embedded; 5 properties in queue
xfce4-panel(external): mixer-8: child is embedded; 5 properties in queue
xfce4-panel(external): battery-7: child is embedded; 5 properties in queue
(wrapper-2.0:22496): Gtk-WARNING **: Theme parsing error: <data>:1:13: Not using units is deprecated. Assuming 'px'.
xfce4-panel(external): genmon-9: child is embedded; 5 properties in queue
(wrapper-2.0:22496): Gtk-WARNING **: Theme parsing error: <data>:1:24: Not using units is deprecated. Assuming 'px'.
(wrapper-2.0:22496): Gtk-WARNING **: Theme parsing error: <data>:1:21: Expected a string.
(wrapper-2.0:22494): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26
xfce4-panel(external): xfce4-mount-plugin-10: child is embedded; 5 properties in queue
(wrapper-2.0:22499): Gtk-WARNING **: Theme parsing error: <data>:1:13: Not using units is deprecated. Assuming 'px'.
(wrapper-2.0:22499): Gtk-WARNING **: Theme parsing error: <data>:1:24: Not using units is deprecated. Assuming 'px'.
xfce4-panel(external): genmon-13: child is embedded; 5 properties in queue
xfce4-panel(external): genmon-12: child is embedded; 5 properties in queue
xfce4-panel(external): xkb-2: child is embedded; 5 properties in queue
(wrapper-2.0:22498): Gtk-WARNING **: Theme parsing error: <data>:1:13: Not using units is deprecated. Assuming 'px'.
(wrapper-2.0:22498): Gtk-WARNING **: Theme parsing error: <data>:1:24: Not using units is deprecated. Assuming 'px'.
(wrapper-2.0:22493): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkButton)

I see no sign of issue in this log, however.


Could you guys please advise me on identifying this issue?

Thanks in advance.

UPD: sometimes plugins are displayed properly, see:
2017-10-29_displayed-properly.png

Last edited by Slayer (2017-10-29 08:59:36)

Offline

#2 2017-10-29 10:06:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hello and welcome.

What version of gtk3 are you running on your freebsd system?

Unfortunately, I don't have a freebsd system to test and see for myself. There is nothing obvious in the debug output. I use the genmon plugin extensively and have never noticed this issue (though I have never used it on a bsd system).

Can you try creating a second user account and adding them there to see if you can replicate the issue?

Also, when they don't appear, does running the following command make them re-appear?

xfce4-panel --plugin-event=genmon-X:refresh:bool:true

...where “genmon-X” is the widget name of the particular genmon instance. To get this name, go to the panel properties screen and on the Items tab, hover your mouse over the genmon plugin to get it's internal name.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-10-30 06:23:59

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi ToZ,

Thank you for your reply.

Gtk3 is gtk3-3.22.15_1.

Previously, I didn't see any issue for several years on several machines with several FreeBSD version, at least five years on this machine I use currently. The reason to upgrade is <txtclick> option introduced in 4.0.0.

I've created second user and added three same plugins to it's panel. No issue.

However, yesterday I was unable to reproduce an issue with my user too. The problem is that issue may appear at the random time, today, tomorrow etc.

Thus, I was yet unable to test "xfce4-panel --plugin-event=genmon-9:refresh:bool:true" command.

What I did previously was:

1. Open the properties dialog for the non-appearing plugin, change something like font, close properties dialog. No luck.

2. Add another genmon item to the same panel with the same script. It works.

I will update you when my genmon items disappear again.

Offline

#4 2017-11-01 14:10:41

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi again ToZ,

I've just reproduced an issue, see no bar, only vertical line were my check_temp.sh plugin's output should be:
2017-11-01_check_tmp.sh.png

I've issued refresh events to all my plugins - no luck:

chisel:[/home/slayer]% xfce4-panel --plugin-event=genmon-13:refresh:bool:true
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
chisel:[/home/slayer]% xfce4-panel --plugin-event=genmon-12:refresh:bool:true
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
chisel:[/home/slayer]% xfce4-panel --plugin-event=genmon-9:refresh:bool:true
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)

After restarting X server, plugin's output appeared again.

What should I do next to identify this issue?

Last edited by Slayer (2017-11-01 14:14:54)

Offline

#5 2017-11-01 15:29:07

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Update.

Next reboot, other plugin disappeared.

Trying to refresh it:

chisel:[/home/slayer/.config/xfce4/panel]% xfce4-panel --plugin-event=genmon-13:refresh:bool:true
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)

No luck.

Restarting panel:

chisel:[/home/slayer/.config/xfce4/panel]% xfce4-panel -r
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)

All plugins appeared as they should.

Offline

#6 2017-11-03 04:45:14

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi all,

Just an update - today I've noticed that xkb-plugin disappeared.

% xfce4-panel --plugin-event=xkb-plugin-2:refresh:bool:true
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)

No effect.

% xfce4-panel -r
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)

It works.

So, it looks like not the genmon-plugin is in chagre for such behaviour.

Offline

#7 2017-11-03 09:59:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Try this to see if we can get some debug information for when it happens.

Create the file /usr/local/bin/xfce4-panel with the following content:

#!/bin/sh
PANEL_DEBUG=1 /usr/bin/xfce4-panel $@ > /tmp/xfce4-panel.log 2>&1

...and make the file executable.

The next time that you have a plugin not appear on start, post back the contents of /tmp/xfce4-panel.log.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2017-11-05 17:22:24

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi ToZ,

I've wrote similar script. Once after restarting xfce4-panel whith "xfce4-panel -q" and "xfce4-panel &"
three genmon plugins disappeared.

Please see an output:

2017-11-05 19:29:24
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
2017-11-05 19:29:29
xfce4-panel(main): version 4.12.1 on gtk+ 2.24.31 (2.24.31), glib 2.50.2 (2.50.2)
xfce4-panel(module-factory): reading /usr/local/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x29cf0098: rgba colormap=0x29cabde0, compositing=true
xfce4-panel(base-window): 0x29cf0098: rgba colormap=0x29cabde0, compositing=true
xfce4-panel(display-layout): 0x29cf0098: display=:0.0{comp=true}, screen-0[0x29cc60b8]=[1280,800] (LVDS=[0,0;1280,800])
xfce4-panel(positioning): 0x29cf0098: screen=0x29cc60b8, monitors=1, output-name=(null), span-monitors=false, base=0,0
xfce4-panel(positioning): 0x29cf0098: working-area: screen=0x29cc60b8, x=0, y=0, w=1280, h=800
xfce4-panel(struts): 0x29cf0098: top=31, start_x=0, end_x=1279
xfce4-panel(module): new item (type=object-type, name=applicationsmenu, id=1)
xfce4-panel(module): new item (type=object-type, name=launcher, id=5)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=15)
xfce4-panel(module): new item (type=object-type, name=pager, id=4)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=6)
xfce4-panel(external): systray-6: child spawned; pid=57138, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/2
xfce4-panel(module): new item (type=external-wrapper, name=xkb, id=2)
xfce4-panel(external): xkb-2: child spawned; pid=57139, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/7
xfce4-panel(module): new item (type=external-wrapper, name=battery, id=7)
xfce4-panel(systray): registered manager on screen 0
xfce4-panel(external): battery-7: child spawned; pid=57140, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/8
xfce4-panel(module): new item (type=external-wrapper, name=mixer, id=8)
xfce4-panel(external): mixer-8: child spawned; pid=57141, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/9
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=9)
xfce4-panel(external): genmon-9: child spawned; pid=57142, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/10
xfce4-panel(module): new item (type=external-wrapper, name=xfce4-mount-plugin, id=10)
xfce4-panel(external): xfce4-mount-plugin-10: child spawned; pid=57143, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/12
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=12)
xfce4-panel(external): genmon-12: child spawned; pid=57144, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/13
xfce4-panel(module): new item (type=external-wrapper, name=genmon, id=13)
xfce4-panel(external): genmon-13: child spawned; pid=57145, argc=8
xfce4-panel(module): new item (type=object-type, name=clock, id=11)
xfce4-panel(module): new item (type=object-type, name=launcher, id=16)
xfce4-panel(external): systray-6: child is embedded; 5 properties in queue
xfce4-panel(external): xkb-2: child is embedded; 5 properties in queue
xfce4-panel(external): xfce4-mount-plugin-10: child is embedded; 5 properties in queue
xfce4-panel(external): mixer-8: child is embedded; 5 properties in queue
xfce4-panel(external): battery-7: child is embedded; 5 properties in queue
xfce4-panel(external): genmon-13: child is embedded; 5 properties in queue
xfce4-panel(external): genmon-9: child is embedded; 5 properties in queue

(wrapper-2.0:57142): Gtk-WARNING **: Theme parsing error: <data>:1:21: Expected a string.
xfce4-panel(external): genmon-12: child is embedded; 5 properties in queue

(wrapper-2.0:57140): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26

(wrapper-2.0:57139): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkButton)

Relevant process tree branch is now looking like this:

-+= 57135 slayer /bin/sh /usr/local/bin/xfce4-panel
 \-+- 57137 slayer /usr/local/bin/xfce4-panel.bin
   |--- 57138 slayer /usr/local/lib/xfce4/panel/wrapper-1.0 /usr/local/lib/xfce4/panel/plugins/libsystray.so 6 14680104
   |--- 57139 slayer /usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libxkb.so 2 14680105
   |--- 57140 slayer /usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libbattery.so 7 14680106
   |--- 57141 slayer /usr/local/lib/xfce4/panel/wrapper-1.0 /usr/local/lib/xfce4/panel/plugins/libmixer.so 8 14680107
   |--- 57142 slayer /usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libgenmon.so 9 14680108
   |--- 57143 slayer /usr/local/lib/xfce4/panel/wrapper-1.0 /usr/local/lib/xfce4/panel/plugins/libmount.so 10 14680109
   |--- 57144 slayer /usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libgenmon.so 12 14680110
   \--- 57145 slayer /usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libgenmon.so 13 14680111

By the way, this time restarting panel with "xfce4-panel -r" doesn't work, no items' output.

Is there any more step can I do to identify an issue?

Offline

#9 2017-11-06 02:38:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Of all the plugins that you are running, is the genmon plugin the only GTK3 plugin?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2017-11-06 06:26:52

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi ToZ,

I'm not pretty sure, see the '*gtk*' shared libraries they are using:

% pkg info | grep plugin | grep xfce4
xfce4-battery-plugin-1.1.0     Battery monitor panel plugin for Xfce4
xfce4-genmon-plugin-4.0.1      Generic Monitor Xfce4 panel plugin
xfce4-mount-plugin-0.6.7_4     Mount and umount utility for the Xfce4 panel
xfce4-screenshooter-plugin-1.8.2_2 Application and panel plugin to take screenshots
xfce4-xkb-plugin-0.8.1         Keyboard layout switching plugin for the Xfce panel

% pkg info xfce4-battery-plugin | grep gtk
    libgtk-3.so.0
% pkg info xfce4-genmon-plugin | grep gtk
    libgtk-3.so.0
% pkg info xfce4-mount-plugin | grep gtk
    libgtk-x11-2.0.so.0
% pkg info xfce4-screenshooter-plugin | grep gtk
    libgtk-x11-2.0.so.0
% pkg info xfce4-xkb-plugin | grep gtk
    libgtk-3.so.0

It looks like mount-plugin is Gtk2 while other plugins are Gtk3.

Offline

#11 2017-11-06 10:58:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Unfortunately, there is nothing in the debug files that helps identify the issue. The plugins work - they just don't appear. You could try running xfce4-panel through strace or gdb to see if anything shows up, but that might be a fruitless exercise.

The other thing you could try is to install and run the newer gtk3 version of xfce4-panel. Perhaps it would solve the issue? It will run the older gtk2 plugins as well.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#12 2017-11-06 12:00:36

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi ToZ,

Thank you very much for you reply.

I don't know if there is any Gtk3 version of xfce4-panel, my port already has "GTK3" option enabled.

However, quering "% ldd /usr/local/bin/xfce4-panel | grep gtk" shows only
    "libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0", no sign of Gtk3 here:

% ldd /usr/local/bin/xfce4-panel
/usr/local/bin/xfce4-panel:
	libxfce4panel-1.0.so.4 => /usr/local/lib/libxfce4panel-1.0.so.4 (0x280b6000)
	libexo-1.so.0 => /usr/local/lib/libexo-1.so.0 (0x280c9000)
	libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x2810d000)
	libxfce4ui-1.so.0 => /usr/local/lib/libxfce4ui-1.so.0 (0x28110000)
	libxfce4util.so.7 => /usr/local/lib/libxfce4util.so.7 (0x28121000)
	libxfconf-0.so.2 => /usr/local/lib/libxfconf-0.so.2 (0x2812d000)
	libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0x2813e000)
	libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x2815f000)
	libX11.so.6 => /usr/local/lib/libX11.so.6 (0x281a3000)
	libwnck-1.so.22 => /usr/local/lib/libwnck-1.so.22 (0x282bd000)
	libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0x282fc000)
	libgdk-x11-2.0.so.0 => /usr/local/lib/libgdk-x11-2.0.so.0 (0x286f1000)
	libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x2878f000)
	libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x287b4000)
	libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x288c4000)
	libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0x288e5000)
	libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x2892c000)
	libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x2896c000)
	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28a65000)
	libm.so.5 => /lib/libm.so.5 (0x28a6e000)
	libthr.so.3 => /lib/libthr.so.3 (0x28a95000)
	libc.so.7 => /lib/libc.so.7 (0x28ab6000)
	libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0x28c2c000)
	libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 (0x28c37000)
	libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0x28d8b000)
	libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x28d9e000)
	libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x28ddd000)
	libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28e73000)
	libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28e7a000)
	libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x28e90000)
	libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x28f84000)
	libstartup-notification-1.so.0 => /usr/local/lib/libstartup-notification-1.so.0 (0x28fff000)
	libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x29007000)
	libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x29009000)
	libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x2900c000)
	libXRes.so.1 => /usr/local/lib/libXRes.so.1 (0x2902c000)
	libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x2902e000)
	libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x29036000)
	libXi.so.6 => /usr/local/lib/libXi.so.6 (0x29039000)
	libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x29047000)
	libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x29059000)
	libXext.so.6 => /usr/local/lib/libXext.so.6 (0x29063000)
	libXcomposite.so.1 => /usr/local/lib/libXcomposite.so.1 (0x29072000)
	libXdamage.so.1 => /usr/local/lib/libXdamage.so.1 (0x29075000)
	libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x29078000)
	libpixman-1.so.0 => /usr/local/lib/libpixman-1.so.0 (0x2907d000)
	libEGL.so.1 => /usr/local/lib/libEGL.so.1 (0x29128000)
	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x2914d000)
	libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0x29180000)
	libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0x29183000)
	libz.so.6 => /lib/libz.so.6 (0x2918d000)
	libGL.so.1 => /usr/local/lib/libGL.so.1 (0x291a1000)
	libffi.so.6 => /usr/local/lib/libffi.so.6 (0x29200000)
	libharfbuzz.so.0 => /usr/local/lib/libharfbuzz.so.0 (0x29207000)
	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x29280000)
	libbz2.so.4 => /usr/lib/libbz2.so.4 (0x292a4000)
	libxcb-util.so.1 => /usr/local/lib/libxcb-util.so.1 (0x292b4000)
	libX11-xcb.so.1 => /usr/local/lib/libX11-xcb.so.1 (0x292b8000)
	libelf.so.1 => /usr/lib/libelf.so.1 (0x292ba000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x292d0000)
	libXau.so.6 => /usr/local/lib/libXau.so.6 (0x292dc000)
	libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x292df000)
	libxcb-dri2.so.0 => /usr/local/lib/libxcb-dri2.so.0 (0x292e4000)
	libxcb-dri3.so.0 => /usr/local/lib/libxcb-dri3.so.0 (0x292e8000)
	libxcb-xfixes.so.0 => /usr/local/lib/libxcb-xfixes.so.0 (0x292eb000)
	libxcb-present.so.0 => /usr/local/lib/libxcb-present.so.0 (0x292f1000)
	libxcb-sync.so.1 => /usr/local/lib/libxcb-sync.so.1 (0x292f4000)
	libxshmfence.so.1 => /usr/local/lib/libxshmfence.so.1 (0x292f9000)
	libgbm.so.1 => /usr/local/lib/libgbm.so.1 (0x292fb000)
	libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x29306000)
	libglapi.so.0 => /usr/local/lib/libglapi.so.0 (0x29314000)
	libxcb-glx.so.0 => /usr/local/lib/libxcb-glx.so.0 (0x2933b000)
	libXxf86vm.so.1 => /usr/local/lib/libXxf86vm.so.1 (0x29350000)
	libgraphite2.so.3 => /usr/local/lib/libgraphite2.so.3 (0x29355000)
	libc++.so.1 => /usr/lib/libc++.so.1 (0x29386000)
	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x29434000)

I've also notice that my panel was updated month ago; I've reinstalled it today just in case.

I'll update you on any plugin appearance fluctuation.

Offline

#13 2017-11-06 15:33:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Slayer wrote:

I don't know if there is any Gtk3 version of xfce4-panel, my port already has "GTK3" option enabled.

xfce4-panel supports both gtk2 and gtk3 plugins. However, in the development branches (4.13x) and in the git tree, it has been migrated to use the gtk3 toolkit (though it still continues to support gtk2 plugins).

However, quering "% ldd /usr/local/bin/xfce4-panel | grep gtk" shows only
    "libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0", no sign of Gtk3 here:

This version is built on the gtk2 toolkit.

I've also notice that my panel was updated month ago; I've reinstalled it today just in case.

Check to see if the gtk3 version is available in the ports.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#14 2018-02-19 18:44:12

Slayer
Member
From: Amsterdam
Registered: 2017-10-29
Posts: 9

Re: No output of genmon-plugin after update to 4.0... Sometimes.

Hi All!

Just for the record. I was unable to identify an issue. Sometimes some plugins just display nothing.
The only way to restore was 'xfce4-panel -r'. However, this way leading some side-effect like disappearing some icons from the tray.

After some tests I found that killing corresponding 'wrapper-2.0' process restores the output. I've searched it's source code but unfortunately was unable to find a way to debug it.

So, to simplify the killing procedure, I wrote a script:

#!/bin/sh
procs=`ps ww | grep libgenmon | grep -v grep | awk '{print $1" "$7}'`
echo "$procs" | while read pid num
do
prog=`cat $HOME/.config/xfce4/panel/genmon-$num.rc | grep Command | cut -d'=' -f2`
echo -e $pid "\t" $prog
done

which produce out like this:

1327      bin/check_route.sh
1329      bin/check_temp.sh
1330      bin/weather.sh
1331      bin/plugin-check-mail.sh

Then I was able to kill the corresponding process. I then added a 'kill' command to the loop so it now kills all four 'wrapper-2.0' processes.

However, sometimes not only genmon-plugin disappears, but other which uses 'wrapper-2.0' too, like mount-plugin on this pictue (see the vertical line instead of the drive icon to the right of the green square):
2018-02-19_no-mount-plugin.png

Therefore, I have modified my script so it now kills all the 'wrapper-2.0' processes. This action restores all my plugins' output.

Offline

Board footer

Powered by FluxBB