Code Monkey home page Code Monkey logo

wingpanel-indicator-sys-monitor's Introduction

Wingpanel System Monitor Indicator

I recommend to switch to the new implementation of this indicator as I do not plan on working on this one anymore.

Screenshot Screenshot

Building and Installation

You'll need the following dependencies:

libglib2.0-dev
libgtop2-dev
libgranite-dev
libgtk-3-dev
libwingpanel-2.0-dev
meson
valac

Elementary

sudo apt install libgtop2-dev libgranite-dev libgtk-3-dev libwingpanel-2.0-dev meson valac

Run meson to configure the build environment and then ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install

sudo ninja install

Arch Linux

Arch Linux users can find Wingpanel Indicator Sys Monitor under the name wingpanel-indicator-sys-monitor-git in the AUR:

aurman -S wingpanel-indicator-sys-monitor-git

Notes

  • Special thanks for @RyanDam for the graph implementation!

wingpanel-indicator-sys-monitor's People

Contributors

btd1337 avatar muriloventuroso avatar plugarut avatar ryandam avatar sadarealam avatar sqll avatar vjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wingpanel-indicator-sys-monitor's Issues

14.04

Hi, is this able to run on 14.04? I tried to install the dependencies, and got

E: Unable to locate package libwingpanel-2.0-dev
E: Couldn't find any package by regex 'libwingpanel-2.0-dev'
E: Unable to locate package meson

Thanks!

i don't want to see b/s

Kb/s and Mb/s is all i want to see.
if data are too low than 1 Kb/s then you can just show 0b/s.
please give a option to toggle this option on.

image
i don't need them b/s

Ship a matching binary

AppCenter has noticed you do not ship a /usr/bin/com.github.plugarut.wingpanel-indicator-sys-monitor binary file.
Please ensure your binary is named com.github.plugarut.wingpanel-indicator-sys-monitor and placed in /usr/bin
during the build process.

If you need help with this issue please stop by the gitter channel.

Affects: 1.3.0 release

Show bits per second instead of bytes per second

Hi,

Would it be possible to optionally show speed in bits instead of bytes? Meaning, show speed like "bps", "Kbps" and "Mbps" so that it matches up with what ISPs advertise as their speeds?

Thanks!

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Source is not correct. It should be "com.github.plugarut.wingpanel-indicator-sys-monitor"
  • Package is not correct. It should be "com.github.plugarut.wingpanel-indicator-sys-monitor"

If you need help with this issue please stop by the gitter channel.

Affects: 1.2.0 release

Draw a `symbolic` icon

The indicator should have a more specific symbolic icon, now computer-symbolic is used.

syslog spam

Getting the following logs repeating in /var/log/syslog:

Apr 24 17:51:09 zenbird wingpanel[1757]: sys_monitor_widgets_popover_widget_update_swap_info: assertion 'self != NULL' failed
Apr 24 17:51:09 zenbird wingpanel[1757]: sys_monitor_widgets_popover_widget_update_freq_info: assertion 'self != NULL' failed
Apr 24 17:51:09 zenbird wingpanel[1757]: sys_monitor_widgets_popover_widget_update_uptime_info: assertion 'self != NULL' failed
Apr 24 17:51:09 zenbird wingpanel[1757]: sys_monitor_widgets_popover_widget_update_net_speed: assertion 'self != NULL' failed

Failed to build with liftoff

AppCenter failed to build with liftoff.

Build Log
dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.plugarut.wingpanel-indicator-sys-monitor
dpkg-buildpackage: source version 1.2.2
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by PlugaruT <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

If you need help with this issue please stop by the gitter channel.

Affects: 1.2.2 release

Build failure (missing dependency wingpanel-2.0)

I tried installing this on a Juno system but got an error when running meson build:

$ git clone https://github.com/PlugaruT/wingpanel-indicator-sys-monitor.git
$ cd wingpanel-indicator-sys-monitor;
$ sudo apt install libgtop2-dev libgranite-dev libgtk-3-dev libwingpanel-2.0-dev meson valac
$ meson build --prefix=/usr

The output of the meson build command was:

The Meson build system
Version: 0.49.2
Source dir: /home/waldyrious/repos/wingpanel-indicator-sys-monitor
Build dir: /home/waldyrious/repos/wingpanel-indicator-sys-monitor/build
Build type: native build
Project name: com.github.plugarut.wingpanel-indicator-sys-monitor
Project version: undefined
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Native Vala compiler: valac (valac 0.40.18)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /home/waldyrious/.linuxbrew/bin/pkg-config (0.29.2)
Found CMake: /home/waldyrious/.linuxbrew/bin/cmake (3.15.5)
Dependency wingpanel-2.0 found: NO (tried pkgconfig and cmake)

meson.build:10:0: ERROR:  Dependency "wingpanel-2.0" not found, tried pkgconfig and cmake

A full log can be found at /home/waldyrious/repos/wingpanel-indicator-sys-monitor/build/meson-logs/meson-log.txt

Maybe the list of dependencies in the README is not complete?

Missing changelog information

AppCenter had some issues with your GitHub release changelog. We tried to fix
them as best we can, but you should make note about fixing them for your next
release.

  • Missing list of changes

Please format your GitHub release
body with a list of changes. AppCenter will use this to fill in all the needed
changelog information.

If you need help with this issue please stop by the gitter channel.

Affects: 1.3.1 release

Add `.desktop` file

Add a desktop file to make possible to launch indicator from app launcher

Wingpanel 3.0

A new version of wingpanel is on the way, deprecating a number of things.

I gave a shot at compiling your indicator against the new library, but it failed with many deprecation warnings and a missing member:

The Meson build system
Version: 0.57.2
Source dir: /build/wingpanel-indicator-sys-monitor-git/src/wingpanel-indicator-sys-monitor
Build dir: /build/wingpanel-indicator-sys-monitor-git/src/wingpanel-indicator-sys-monitor/_build
Build type: native build
Project name: com.github.plugarut.wingpanel-indicator-sys-monitor
Project version: undefined
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.52.2)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency wingpanel found: YES 3.0.0
Run-time dependency glib-2.0 found: YES 2.68.1
Run-time dependency gobject-2.0 found: YES 2.68.1
Run-time dependency granite found: YES 6.0.0
Run-time dependency gtk+-3.0 found: YES 3.24.28
Run-time dependency libgtop-2.0 found: YES 2.40.0
Program meson/post_install.py found: YES (/usr/bin/python /build/wingpanel-indicator-sys-monitor-git/src/wingpanel-indicator-sys-monitor/meson/post_install.py)
Build targets in project: 4

Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `_build'
[1/16] Compiling Vala source ../src/Indicator.vala ../src/Services/BackgroundManager.vala ../src/Services/CPU.vala ../src/Services/Net.vala ../src/Services/Memory.vala ../src/Services/System.vala ../src/Services/Utils.vala ../src/Services/Settings.vala ../src/Widgets/PopoverWidget.vala ../src/Widgets/MainView.vala ../src/Widgets/MainViewRow.vala ../src/Widgets/SettingsView.vala ../src/Widgets/DisplayWidget.vala ../src/Widgets/SysGraph.vala
FAILED: com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Indicator.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/BackgroundManager.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/CPU.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/Net.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/Memory.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/System.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/Utils.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Services/Settings.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/PopoverWidget.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/MainView.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/MainViewRow.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/SettingsView.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/DisplayWidget.c com.github.plugarut.wingpanel-indicator-sys-monitor.so.p/src/Widgets/SysGraph.c com.github.plugarut.wingpanel-indicator-sys-monitor.h com.github.plugarut.wingpanel-indicator-sys-monitor.vapi 
valac -C --debug --debug --vapidir /build/wingpanel-indicator-sys-monitor-git/src/wingpanel-indicator-sys-monitor/vapi --pkg wingpanel --pkg libgtop-2.0 --pkg gtk+-3.0 --pkg granite --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory com.github.plugarut.wingpanel-indicator-sys-monitor.so.p --basedir ../ --library com.github.plugarut.wingpanel-indicator-sys-monitor --header com.github.plugarut.wingpanel-indicator-sys-monitor.h --vapi ../com.github.plugarut.wingpanel-indicator-sys-monitor.vapi --vapidir=/build/wingpanel-indicator-sys-monitor-git/src/wingpanel-indicator-sys-monitor/vapi/ ../src/Indicator.vala ../src/Services/BackgroundManager.vala ../src/Services/CPU.vala ../src/Services/Net.vala ../src/Services/Memory.vala ../src/Services/System.vala ../src/Services/Utils.vala ../src/Services/Settings.vala ../src/Widgets/PopoverWidget.vala ../src/Widgets/MainView.vala ../src/Widgets/MainViewRow.vala ../src/Widgets/SettingsView.vala ../src/Widgets/DisplayWidget.vala ../src/Widgets/SysGraph.vala
../src/Widgets/SysGraph.vala:79.5-79.30: warning: SysMonitor.Widgets.SysLineGraph.current_percent hides inherited property `SysMonitor.Widgets.SysGraph.current_percent'. Use the `new' keyword if hiding was intentional
    public int current_percent {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/Widgets/SettingsView.vala:23.5-23.52: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:24.5-24.52: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:25.5-25.56: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:26.5-26.53: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:27.5-27.54: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:28.5-28.53: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:29.5-29.59: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:40.31-40.54: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:41.31-41.54: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:42.35-42.58: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:43.32-43.55: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:44.33-44.56: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:45.32-45.55: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/SettingsView.vala:46.38-46.61: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/PopoverWidget.vala:59.35-59.61: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator
../src/Widgets/PopoverWidget.vala:59.13-59.27: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator
../src/Widgets/PopoverWidget.vala:62.33-62.59: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator
../src/Widgets/PopoverWidget.vala:62.13-62.25: warning: `Wingpanel.Widgets.Separator' has been deprecated since 3.0.0. Use Gtk.Separator
../src/Widgets/SysGraph.vala:64.9-64.22: warning: Switch does not handle `MAXIMIZED', `LIGHT', `TRANSLUCENT_LIGHT' of enum `SysMonitor.Services.BackgroundState'
        switch (state) {
        ^^^^^^^^^^^^^^
../src/Indicator.vala:36.13-36.43: error: Property `display_name' not found in `SysMonitor.Indicator'
            display_name: _ ("Sys-Monitor"),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 20 warning(s)
ninja: build stopped: subcommand failed.

I'd love to keep using your indicator; maybe open a new branch to develop libwingpanel 3.0 support?

Add fan speed information

Hey...very nice app. I started using today. I was using psensor, but with elementaryOs juno he cant display info in wingpanel (dont know why).
If possible, can you add fan speed monitor (rpm). Very useful info.
Thanks.

Failed to build with liftoff

AppCenter failed to build with liftoff.

Build Log
dpkg-checkbuilddeps: error: syntax error in debian/control at line 17: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.plugarut.wingpanel-indicator-sys-monitor
dpkg-buildpackage: source version 1.2.0
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by PlugaruT <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 17: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

If you need help with this issue please stop by the gitter channel.

Affects: 1.2.0 release

No Transparency

It removes the transparency feature of wingpanel. Any way to fix that?

How to delete

Hello. Please add info how to delete wingpanel-indicator-sys-monitor from the system.
Thank you.

Failed to build with liftoff

AppCenter failed to build with liftoff.

Build Log
dpkg-checkbuilddeps: error: syntax error in debian/control at line 17: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.plugarut.wingpanel-indicator-sys-monitor
dpkg-buildpackage: source version 1.2.1
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by PlugaruT <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 17: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

If you need help with this issue please stop by the gitter channel.

Affects: 1.2.1 release

Ship a matching binary

AppCenter has noticed you do not ship a /usr/bin/com.github.plugarut.wingpanel-indicator-sys-monitor binary file.
Please ensure your binary is named com.github.plugarut.wingpanel-indicator-sys-monitor and placed in /usr/bin
during the build process.

If you need help with this issue please stop by the gitter channel.

Affects: 1.3.1 release

Fix deprecateds

Please fix this deprecateds

[1/12] Compiling Vala source ../src/Indicato...View.vala ../src/Widgets/DisplayWidget.vala.
../src/Widgets/SettingsView.vala:19.9-19.32: warning: Wingpanel.Widgets.Switch.switched has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active
../src/Widgets/SettingsView.vala:21.37-21.62: warning: Wingpanel.Widgets.Switch.get_active has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active
../src/Widgets/SettingsView.vala:24.9-24.32: warning: Wingpanel.Widgets.Switch.switched has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active
../src/Widgets/SettingsView.vala:26.37-26.62: warning: Wingpanel.Widgets.Switch.get_active has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active
../src/Widgets/SettingsView.vala:29.9-29.33: warning: Wingpanel.Widgets.Switch.switched has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active
../src/Widgets/SettingsView.vala:31.38-31.64: warning: Wingpanel.Widgets.Switch.get_active has been deprecated since 2.0.5. Use Wingpanel.Widgets.Switch.active

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.