! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
add support for "genmon" in 'xfce4-panel --plugin-event'
Status:
RESOLVED: FIXED
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description dahut 2014-03-07 15:39:25 CET
http://docs.xfce.org/xfce/xfce4-panel/launcher#plugin_events
Adding an option to command line "xfce4-panel --plugin-event" to refresh genmon icon without having to wait for it's period.

http://docs.xfce.org/xfce/xfce4-panel/launcher#plugin_events
Comment 1 Landry Breuil editbugs 2014-11-23 21:42:51 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 2 Jan Hutař 2015-03-10 21:38:49 CET
Workaround I'm using:

  # If we have genmon plugin running, restart it, so we do not need
  # to wait for next refresh period
  # FIXME: Some check if that is "our" genmon plugin would be nice :-)
  genmon_pid=$( pgrep --full '.*/usr/lib64/xfce4/panel/plugins/libgenmon.so.*' )
  if echo "$genmon_pid" | grep --quiet '^[0-9]*$'; then
    /usr/bin/kill -s USR1 $genmon_pid
  fi
Comment 3 ToZ editbugs 2016-06-05 19:00:21 CEST
Created attachment 6697 
Add remote-event refresh plugin functionability

Attached is a patch that adds the ability to refresh genmon using xfce4-panel's remote-event functionality. To refresh:

"xfce4-panel --plugin-event=genmon-X:refresh:bool:true"
    where genmon-X is the genmon widget id (e.g. genmon-7)
Comment 4 Landry Breuil editbugs 2016-06-05 21:08:16 CEST
Nice work ToZ, works fine here !
Pushed to master in http://git.xfce.org/panel-plugins/xfce4-genmon-plugin/commit/?id=76bd6d78220ca0c5af7beaa6700a271459d6806b

Do you want to take maintainership of genmon plugin ?
Comment 5 Landry Breuil editbugs 2016-06-05 21:08:44 CEST
And marking bug as fixed
Comment 6 ToZ editbugs 2016-06-06 01:27:55 CEST
Landry,
If there is no current maintainer of the genmon plugin, then yes, I would like take over the maintainership. I've sent you an email with the request.
Thanks

Bug #10734

Reported by:
dahut
Reported on: 2014-03-07
Last modified on: 2016-06-06

People

Assignee:
Xfce-Goodies Maintainers
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information