Re: New system monitor extension

2011-05-23 Thread Giovanni Campagna
Il giorno dom, 22/05/2011 alle 15.35 -0700, Sriram Ramkrishna ha
scritto:
 
 
 On Sun, May 22, 2011 at 5:13 AM, Giovanni Campagna
 scampa.giova...@gmail.com wrote:
 Il giorno sab, 21/05/2011 alle 14.17 +0200, Florian Mounier ha
 scritto:
 
  Hi !
  I wrote a gnome shell extension displaying memory / swap /
 cpu usage
  in status bar.
  My code is far from perfect but I thought it might interest
 some of
  you.
  Code is available
  here:
 http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
  Any feedback is welcome.
  Best regards
 
 
 I'm afraid you're late. :)
 There is already a systemMonitor extension in
 gnome-shell-extension
 master, that shows CPU and memory using libgtop. Currently it
 adds an
 actor in the message tray; if you want to improve it to show a
 system
 status indicator, you should patch it and file a bug.
 
 Giovanni
 
 
 
 And libgtop is the way to go anyways.  I personally would like to see
 system monitor in the overview if possible.  I think that fits the
 design much better.  System monitor and weather are all tasks so to
 speak.  If you put it in the task bar you're breaking the design as
 that is where the system applets are.  Monitoring your computer is not
 a system task IMHO.  Frankly, I'm very protective what goes into that
 top bar now as I like keeping it minimalistic and distraction free.  A
 quick hot key will satisfy my curiosity whether the system is running
 well or not.

Well, the system monitor extensions (this, and the one in the repo) are
not for checking what is failing, and where, just for rapidly looking if
everything is running smoothly, while doing something different. In case
you actually and explicitly want to check, there's a fantastic app for
that.

Giovanni




signature.asc
Description: This is a digitally signed message part
___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


Re: New system monitor extension

2011-05-22 Thread Koppányi Tamás
seems like a very nice idea! i'd welcome a weather applet integrated with
the clock. in fact, it could be part of the base system too. also (and this
might just be me) right now when i open down the clock applet, half of
dropdown bubble is empty, since i don't keep my events and calendar in
evolution. it would be nice if there was a chance of choosing what to
display there, or it could be flipped to show detailed weather info, instead
of calendar events and tasks.
system monitor on the other hand would be perfectly fine and coherent, if it
was displayed as an icon in the top-right corner, where you could get a
detailed dropdown view on clicking it.



 Just thinking out loud, but it'd be nice to see alternative approaches
 to showing these things - system info, weather - than just re-creating
 applets. Has anyone thought of writing an extension that adds these
 somewhere else, like to the overview somehow? Or for weather, to the
 clock?
 --
 Adam Williamson
 Fedora QA Community Monkey
 IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
 http://www.happyassassin.net

 ___
 gnome-shell-list mailing list
 gnome-shell-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gnome-shell-list

___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


Re: New system monitor extension

2011-05-22 Thread Giovanni Campagna
Il giorno sab, 21/05/2011 alle 14.17 +0200, Florian Mounier ha scritto:
 Hi !
 I wrote a gnome shell extension displaying memory / swap / cpu usage
 in status bar.
 My code is far from perfect but I thought it might interest some of
 you.
 Code is available
 here: http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
 Any feedback is welcome.
 Best regards

I'm afraid you're late. :)
There is already a systemMonitor extension in gnome-shell-extension
master, that shows CPU and memory using libgtop. Currently it adds an
actor in the message tray; if you want to improve it to show a system
status indicator, you should patch it and file a bug.

Giovanni



signature.asc
Description: This is a digitally signed message part
___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


Re: New system monitor extension

2011-05-22 Thread Sriram Ramkrishna
On Sun, May 22, 2011 at 5:13 AM, Giovanni Campagna 
scampa.giova...@gmail.com wrote:

 Il giorno sab, 21/05/2011 alle 14.17 +0200, Florian Mounier ha scritto:
  Hi !
  I wrote a gnome shell extension displaying memory / swap / cpu usage
  in status bar.
  My code is far from perfect but I thought it might interest some of
  you.
  Code is available
  here: http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
  Any feedback is welcome.
  Best regards

 I'm afraid you're late. :)
 There is already a systemMonitor extension in gnome-shell-extension
 master, that shows CPU and memory using libgtop. Currently it adds an
 actor in the message tray; if you want to improve it to show a system
 status indicator, you should patch it and file a bug.

 Giovanni


And libgtop is the way to go anyways.  I personally would like to see system
monitor in the overview if possible.  I think that fits the design much
better.  System monitor and weather are all tasks so to speak.  If you put
it in the task bar you're breaking the design as that is where the system
applets are.  Monitoring your computer is not a system task IMHO.  Frankly,
I'm very protective what goes into that top bar now as I like keeping
it minimalistic and distraction free.  A quick hot key will satisfy
my curiosity whether the system is running well or not.

sri
___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


New system monitor extension

2011-05-21 Thread Florian Mounier
Hi !
I wrote a gnome shell extension displaying memory / swap / cpu usage in
status bar.
My code is far from perfect but I thought it might interest some of you.
Code is available here:
http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
Any feedback is welcome.
Best regards

--
Florian Mounier
___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


Re: New system monitor extension

2011-05-21 Thread Adam Williamson
On Sat, 2011-05-21 at 14:17 +0200, Florian Mounier wrote:
 Hi !
 I wrote a gnome shell extension displaying memory / swap / cpu usage
 in status bar.
 My code is far from perfect but I thought it might interest some of
 you.
 Code is available
 here: http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
 Any feedback is welcome.
 Best regards

Just thinking out loud, but it'd be nice to see alternative approaches
to showing these things - system info, weather - than just re-creating
applets. Has anyone thought of writing an extension that adds these
somewhere else, like to the overview somehow? Or for weather, to the
clock?
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list


Re: New system monitor extension

2011-05-21 Thread John Stowers
On Sat, 2011-05-21 at 14:17 +0200, Florian Mounier wrote:
 Hi !
 I wrote a gnome shell extension displaying memory / swap / cpu usage
 in status bar.
 My code is far from perfect but I thought it might interest some of
 you.
 Code is available
 here: http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
 Any feedback is welcome.

Cool extension.

Have you considered reading /proc/meminfo instead of calling 'free -m'
and reading /proc/stat instead of calling 'cat /proc/stat'?

It might be more efficient to use Gio to read these files directly
instead of spawing commands.

John


___
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list