Code Monkey home page Code Monkey logo

Comments (18)

yuyichao avatar yuyichao commented on July 17, 2024 1

you need /usr/lib/girepository-1.0/GTop-2.0.typelib (or your prefix might be different)

from gnome-shell-system-monitor-applet.

yuyichao avatar yuyichao commented on July 17, 2024

at least it is in the official source package.

from gnome-shell-system-monitor-applet.

paradoxxxzero avatar paradoxxxzero commented on July 17, 2024

Hum strange. I assumed everyone using gnome shell would have it since it's required everywhere. Perhap's girepository files aren't. Speaking of which, what's you version of gjs ?

from gnome-shell-system-monitor-applet.

yuyichao avatar yuyichao commented on July 17, 2024

I have searched in pkgs.org (by files) and it is indeed not in any packages not gi nor gtop

from gnome-shell-system-monitor-applet.

BLXCryptor avatar BLXCryptor commented on July 17, 2024

Thanks guys, you were right.
My gjs version is 0.7.14-6.fc15 arch x86_64.
Now what I did to fix it was to download it for ubuntu (http://pkgs.org/download/ubuntu-11.04/ubuntu-main-amd64/gir1.2-gtop-2.0_2.28.3-0ubuntu1_amd64.deb.html)
Extract the file and place it on the /usr/lib64/girepository-1.0/GTop-2.0.typelib.
After that I did a alt+f2 and typed r and pressed enter and everything worked.

Unfortunately I am not sure why the file does not exist in the first place in fedora...

Thanks again,

from gnome-shell-system-monitor-applet.

mkdizajn avatar mkdizajn commented on July 17, 2024

Thanks BLXCryptor, you did helped me.. I did downloaded that same package and that solved problem with no starting up :)

from gnome-shell-system-monitor-applet.

webvictim avatar webvictim commented on July 17, 2024

Mine's still not working - I've downloaded and extracted the file from the above Ubuntu package into /usr/lib/girepository-1.0/GTop-2.0.typelib but still getting the same error in Looking Glass when restarting gnome-shell.

Wracking my brains on this one, nothing I seem to try works...

from gnome-shell-system-monitor-applet.

d4be4st avatar d4be4st commented on July 17, 2024

Mine doesn't work also, installed gtop trough yum, but there ain't no typlelib of gtop in /girepository

from gnome-shell-system-monitor-applet.

yuyichao avatar yuyichao commented on July 17, 2024

@webvictim have you installed gtop and gi?
@d4be4st have you tried to install typelib file from deb package?

from gnome-shell-system-monitor-applet.

d4be4st avatar d4be4st commented on July 17, 2024

yeah, wokrs now

wasn't looking hard enough for typelib in pacakge -.-

from gnome-shell-system-monitor-applet.

webvictim avatar webvictim commented on July 17, 2024

@yuyichao: I can't find anything in yum search for gi, gtop is installed. All other gi packages seem to be found okay by extensions...

from gnome-shell-system-monitor-applet.

reighnman avatar reighnman commented on July 17, 2024

Had this same issue on F15 using the latest from the repo. At first I thought it was from an error which I later found trying to use the install script (why ru_RU I'm not sure, I noticed en_US is missing now under /po):

/home/jaredo/git_projects/gnome-shell-system-monitor-applet/po/ru_RU/system-monitor-applet.po:172: duplicate message definition...
/home/jaredo/git_projects/gnome-shell-system-monitor-applet/po/ru_RU/system-monitor-applet.po:101: ...this is the location of the first definition
/home/jaredo/git_projects/gnome-shell-system-monitor-applet/po/ru_RU/system-monitor-applet.po:175: duplicate message definition...
/home/jaredo/git_projects/gnome-shell-system-monitor-applet/po/ru_RU/system-monitor-applet.po:104: ...this is the location of the first definition
msgfmt: found 2 fatal errors

After checking lg, I saw an error about not finding GTop and eventually found this post, which manually extracting it from the deb package worked perfectly:

wget http://archive.ubuntu.com/ubuntu/pool/main/libg/libgtop2/gir1.2-gtop-2.0_2.28.3-0ubuntu1_amd64.deb
ar vx gir1.2-gtop-2.0_2.28.3-0ubuntu1_amd64.deb
tar -xvzf data.tar.gz
cp ./usr/lib/girepository-1.0/GTop-2.0.typelib //usr/lib64/girepository-1.0/
alt+f2 / r

Works great, finally :)

from gnome-shell-system-monitor-applet.

yuyichao avatar yuyichao commented on July 17, 2024

@reighnman The install script simply install mo for all the languages so that's y you can see the error message related to ru_RU. en_US was there simply because the old stupid way I use tooltip need it. It is removed since I am using a new and more reliable way now.

There is indeed duplication in ru_RU translation and I have fixed it in my repo, THX.

@webvictim Sorry I have no idea what is the name of the package on fedora, but if the error you get in lg is still "cannot find gtop ~~~" or something like this, I think the problem is still some missing files related to gi. (yeah, gi should have been installed because it should be a dependency of gnome-shell)

Does any other fedora user have any idea what packages this extension depends on?

from gnome-shell-system-monitor-applet.

webvictim avatar webvictim commented on July 17, 2024

@yuyichao I think reighnman may have answered it - I'm running F15 x86_64 but have been copying the files to /usr/lib/girepository-1.0/ rather than /usr/lib64/girepository-1.0/ - the test machine is at work so I'll give it a try tomorrow!

from gnome-shell-system-monitor-applet.

webvictim avatar webvictim commented on July 17, 2024

@yuyichao That was it, putting the file in /usr/lib64 instead fixed the problem. Thanks for your help. Sometimes I think I shouldn't be let near Linux...

from gnome-shell-system-monitor-applet.

didierm avatar didierm commented on July 17, 2024

Fixed in Fedora's libgtop2-2.28.3-2.fc15 .

from gnome-shell-system-monitor-applet.

paradoxxxzero avatar paradoxxxzero commented on July 17, 2024

Nice

from gnome-shell-system-monitor-applet.

prkos avatar prkos commented on July 17, 2024

In case someone needs it here's where rpm of libgtop2-2.28.3-2.fc15 can be downloaded

http://koji.fedoraproject.org/koji/buildinfo?buildID=259071

from gnome-shell-system-monitor-applet.

Related Issues (20)

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.