GithubHelp home page GithubHelp logo

Support GNOME 3.20 about gnome-public-ip-extension HOT 21 OPEN

dg- avatar dg- commented on August 11, 2024 1
Support GNOME 3.20

from gnome-public-ip-extension.

Comments (21)

zapashcanon avatar zapashcanon commented on August 11, 2024 1

In metadata.json, replace line 2:
"shell-version": ["3.14","3.16","3.18"],
by:
"shell-version": ["3.14","3.16","3.18", "3.20"],
and it should work I think. ;)

from gnome-public-ip-extension.

phocean avatar phocean commented on August 11, 2024

Normally, starting with Gnome 3.22, version check is going to be dropped. Good news, no need to worry about it anymore.

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

still not installed on Gnome 3.22.1

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

@Kaaveh-MD, how did you install the extension ?

What OS are you using ? Maybe they changed the default behavior of gnome (>=) 3.22, so you should try:

gsettings set org.gnome.shell disable-extension-version-validation true

And after installing it, did you enable it (with gnome-tweak-tool or any other tool) ?

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

I enter gsettings set org.gnome.shell disable-extension-version-validation true in terminal. Then
installed from https://extensions.gnome.org/extension/1004/public-ip-address/ and click install but noting happened! even in tweak tool - Extensions section
I'm using Kali 2016.2 with Gnome Shell 3.22.1

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

I think it's related to gnome or to the extension website then. I already had this issue on many extensions.

Try to do the following:

git clone https://github.com/growing/gnome-public-ip-extension.git
cd gnome-public-ip-extension/
mkdir -p ~/.local/share/gnome-shell/extensions/[email protected]
cp -r convenience.js extension.js metadata.json prefs.js stylesheet.css icons/ ~/.local/share/gnome-shell/extensions/[email protected]

Then restart gnome-shell and see if the extension is available in tweak-tools.

This solution is not perfect as you'll still have to compile schemas to get the extension working. But, I think your issue is not specific to the extension.

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Still not working for me ...

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

I just wrote a Makefile to install the extension, please, see here and try it, should be ok.

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Still not working ... When I make ,print:
fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). rm -rf /root/.local/share/gnome-shell/extensions/[email protected] mkdir -p /root/.local/share/gnome-shell/extensions/[email protected] cp -r /home/kaaveh/Desktop/gnome-public-ip-extension-makefile/build/* /root/.local/share/gnome-shell/extensions/[email protected]

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

How did you get the source code ?
You must switch to the Makefile branch using: git checkout makefile once you're in the directory.

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

I downloaded an archive.
Can you explain after cd to extracted archive folder, what command I must use?

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024
git clone https://github.com/zapashcanon/gnome-public-ip-extension.git
cd gnome-public-ip-extension
git fetch origin
git checkout makefile
make

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Unfortunately not working for me...

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

What's not working exactly ?

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Sorry 😅
Actually extension not installed.

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

Did you try to restart gnome-shell after doing it ?

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Yes I do. I also have problem to install caffeine from extensions.gnome.org until I try this:
git clone git://github.com/eonpatapon/gnome-shell-extension-caffeine.git cd gnome-shell-extension-caffeine ./update-locale.sh glib-compile-schemas --strict [email protected]/schemas/ [email protected]/schemas cp -r [email protected] ~/.local/share/gnome-shell/extensions

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

Could you try again:

git clone https://github.com/zapashcanon/gnome-public-ip-extension.git
cd gnome-public-ip-extension
git fetch origin
git checkout makefile
make

And show me the whole output ?

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

root@dhcp:/home/kaaveh# git clone https://github.com/zapashcanon/gnome-public-ip-extension.git Cloning into 'gnome-public-ip-extension'... remote: Counting objects: 605, done. remote: Compressing objects: 100% (12/12), done. remote: Total 605 (delta 1), reused 0 (delta 0), pack-reused 593 Receiving objects: 100% (605/605), 280.68 KiB | 73.00 KiB/s, done. Resolving deltas: 100% (43/43), done. root@dhcp:/home/kaaveh# cd gnome-public-ip-extension root@dhcp:/home/kaaveh/gnome-public-ip-extension# git fetch origin root@dhcp:/home/kaaveh/gnome-public-ip-extension# git checkout makefile Branch makefile set up to track remote branch makefile from origin. Switched to a new branch 'makefile' root@dhcp:/home/kaaveh/gnome-public-ip-extension# make mkdir -p /home/kaaveh/gnome-public-ip-extension/build cp -r /home/kaaveh/gnome-public-ip-extension/[email protected]/* /home/kaaveh/gnome-public-ip-extension/README.md /home/kaaveh/gnome-public-ip-extension/build glib-compile-schemas /home/kaaveh/gnome-public-ip-extension/build/schemas/ sed -i 's/"version": -1/"version": "e64b319af988dda80c8859245760dd0332e9a602"/' /home/kaaveh/gnome-public-ip-extension/build/metadata.json; rm -rf /root/.local/share/gnome-shell/extensions/[email protected] mkdir -p /root/.local/share/gnome-shell/extensions/[email protected] cp -r /home/kaaveh/gnome-public-ip-extension/build/* /root/.local/share/gnome-shell/extensions/[email protected] root@dhcp:/home/kaaveh/gnome-public-ip-extension#

from gnome-public-ip-extension.

zapashcanon avatar zapashcanon commented on August 11, 2024

You don't have to run any of this command as root. The extension is installed to the current user $(HOME), so, when you run as root, it goes in the wrong folder. That's why you don't see it in tweak-tool.

Do it again but with your personal user and it'll be fine.

from gnome-public-ip-extension.

 avatar commented on August 11, 2024

Ops! .... Sorry for that. Now it's installed on my system.
Tnx a lot

from gnome-public-ip-extension.

Related Issues (10)

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.