mgedmin / indicator-netspeed

Stupid network speed indicator for Unity, inspired by the old netspeed GNOME applet
http://askubuntu.com/questions/30334/list-of-application-indicators/89889#89889
104 stars 48 forks source link

Ubuntu 14.10 Error #10

Open varlesh opened 9 years ago

varlesh commented 9 years ago

Indicator netspeed not runing:

$ indicator-netspeed

(indicator-netspeed:27762): GLib-GIO-ERROR **: Settings schema 'apps.indicators.netspeed' is not installed

But indicator-netspeed.gschema.xml installed on /usr/share/glib-2.0/schemas/. Compiling on Ubuntu 14.10 amd64 with Unity.

varlesh commented 9 years ago

Solved! Fix for Ubuntu 14.10: sudo apt-get install build-essential libgtop2-dev libgtk-3-dev libappindicator3-dev git-core git clone git://github.com/mgedmin/indicator-netspeed.git cd indicator-netspeed mv 'indicator-netspeed.gschema.xml' 'com.canonical.indicator.indicator-netspeed.gschema.xml' Open file make and edit:

CC=gcc
CFLAGS=-g -Wall -Wfatal-errors -std=c99 $(shell pkg-config --cflags --libs gtk+-3.0 appindicator3-0.1 libgtop-2.0)

all: indicator-netspeed

indicator-netspeed: indicator-netspeed.c
    $(CC) $< $(CFLAGS) -o $@

clean:
    rm -f *.o indicator-netspeed

install:
    install --mode=755 indicator-netspeed  /usr/bin/
    install com.canonical.indicator.indicator-netspeed.gschema.xml /usr/share/glib-2.0/schemas/
    glib-compile-schemas /usr/share/glib-2.0/schemas/

uninstall:
    rm /usr/bin/indicator-netspeed
    rm /usr/share/glib-2.0/schemas/com.canonical.indicator.indicator-netspeed.gschema.xml
    glib-compile-schemas /usr/share/glib-2.0/schemas/

make sudo make install

cdehury commented 3 years ago

Friends you can just open any browser in linux. Then open Netspeed and press "Start" button to test internet speed. It doesn't matter which Internet Service Provider it is.