After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664648 - hamster-cli should have a command to show current activity
hamster-cli should have a command to show current activity
Status: RESOLVED OBSOLETE
Product: hamster-applet
Classification: Deprecated
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on:
Blocks:
 
 
Reported: 2011-11-23 15:34 UTC by Benjamin Sigonneau
Modified: 2012-09-24 19:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
List current activity from hamster-cli (2.32 KB, patch)
2011-11-23 15:34 UTC, Benjamin Sigonneau
none Details | Review

Description Benjamin Sigonneau 2011-11-23 15:34:07 UTC
Created attachment 202005 [details] [review]
List current activity from hamster-cli

The CLI client should have a command that outputs current activity and its duration if any. This is useful to me for integrating hamster in xfce-panel using a generic monitor. This could be useful to other people using XFCE or any alternative panel (dzen, xmobar, whatever).

The attached patch adds a new "list-current" command that shows current activity and its duration if any; otherwise, it prints "No activity".
Comment 1 Toms Bauģis 2011-11-23 15:59:26 UTC
will check the patch. but regards the approach - i'd strongly suggest using dbus instead of relying on command line output
Comment 2 Toms Bauģis 2012-09-24 19:14:34 UTC
moved: https://github.com/projecthamster/hamster/issues/21