Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install and test from source? #28

Open
ctrueden opened this issue Dec 7, 2020 · 4 comments
Open

How to install and test from source? #28

ctrueden opened this issue Dec 7, 2020 · 4 comments

Comments

@ctrueden
Copy link

ctrueden commented Dec 7, 2020

I'm interested in helping move this extension forward, but I don't know how to install it from source. Could you offer some brief instructions? Since I'm on Ubuntu 20.04, I'd like to help finish the ubuntu-focal branch (is it functional yet?).

@pdostal
Copy link
Collaborator

pdostal commented Dec 10, 2020

The version in ubuntu-focal is written in Python so the interpreter should be enough.
I'm sorry for such short answer but I don't use Ubuntu nor Debian on desktop so I don't know more.

@ctrueden
Copy link
Author

I cloned the source, then created a conda environment with Python 3.8.6, pygobject and python-xlib packages. Running python mousewheelzoom.py launches without complaint, but no combination of modifier keys plus mouse wheel seems to do anything. There does not seem to be any interaction with GNOME's usual accessibility zoom feature (super+alt+8 to toggle the zoom feature, then super+alt+= or super+alt+- to zoom in and out, respectively).

I tried reading about how to install GNOME extensions but it's opaque to me how dropping this repository into ~/.local/share/gnome-shell/extensions could possibly do anything... there is no metadata.json for one thing, and even if there were, I don't see how it would link the Python script to any sort of execution by the GNOME extensions framework.

I guess I'm just too much of a noob to help here, without pointers to the proper documentation.

@pdostal pdostal reopened this Dec 19, 2020
@pdostal
Copy link
Collaborator

pdostal commented Dec 19, 2020

I don't think you are noob and if so then we both are.

Regarding your research: You do everythink correct - the Gnome API changed.

We need to change the code.

@stuaxo
Copy link

stuaxo commented Mar 3, 2021

** (process:130350): CRITICAL **: 01:56:42.640: file mousewheelzoom.vala: line 73: uncaught error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface ?org.gnome.Magnifier? on object at path /org/gnome/Magnifier (g-dbus-error-quark, 19)

It looks like it was using the gnome magnifier and contacting it over dbus, any info on the changes to gnome magnifier ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants