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
gsconnect: init at 20 #47059
gsconnect: init at 20 #47059
Conversation
Failure on aarch64-linux (full log) Attempted: gnomeExtensions.gsconnect Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: gnomeExtensions.gsconnect Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: gnomeExtensions.gsconnect Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: gnomeExtensions.gsconnect Partial log (click to expand)
|
I have actually got the extension to run, not work though. In my gnome session. With only the python change above. It shows up in the panel and conflicts on ports with kdeconnect. So I disabled kdeconnect for now. And I managed to list my device in kdeconnect on my phone. When I try to pair kdeconnect with gsconnect I get the following message in the log:
So somethings missing for the JS. |
Seems like
|
That is pretty weird: $ rg shared-library $(nix-build -A gnome3.folks)/share/gir-1.0/Folks-0.6.gir
$ rg shared-library $(nix-build -A atk.dev)/share/gir-1.0/Atk-1.0.gir
14: shared-library="/nix/store/qhx7xr563xwlabxvb2azrllj5xdm3zyh-atk-2.28.1/lib/libatk-1.0.so.0" Folks does not declare a library name in the GIR file. cc @hedning |
Nice fixes, now I have it running on a second box and manage to discover and connect my Phone. I can send commands to my phone like I tested sending a file from my phone with kdeconnect, that worked and a notification showed up in gnome giving me the option to open the directory or open the file. The mounting of files seems to work, though not integrated to so I could find how to make it do that through nautilus. But I could do that from the context menu in the gsettings application which open nautilus and let me browse the phone. Messaging seems to pop up as well. It seems to work to send SMS through it as well. So feature-wise, I think we're getting there. |
This should be the nautilus-python that we're missing: https://wiki.gnome.org/Projects/NautilusPython/ https://gitlab.gnome.org/GNOME/nautilus-python/ And building it looks really straightforward: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/nautilus-python |
Does the libfolks integration work for you with the From what I have seen before that, everything seems to work, including the connection status in the menu. I am connecting through Wi-Fi with the following firewall settings: networking.firewall.allowedTCPPortRanges = [ { from = 1714; to = 1764; }];
networking.firewall.allowedUDPPortRanges = [ { from = 1714; to = 1764; }]; |
You should be able to do Alt+F2 and enter the letter
The connection status works for me as well now, don't know why it didn't before.
I have those in place since before because I used kdeconnect in gnome for clipboard-sync etc. |
Just restarting GNOME Shell does not work for me, for some reason, the old service will be started. Also, I added some todos to the opening post. |
I assume that libfolks is supposed to do some kind of contact syncing based on this https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Packaging#dependencies But I'm not sure how to test this. I can see contacts when I open the thingy to send SMS messages. But I don't see any contacts in for example the gnome |
I've installed the firefox extension gsconnect and that doesn't connect either. So I'll add it to the todo as well. |
What if you reload the shell and then open the GSconnect settings, go to Service and press the |
Did you try
Will try that. |
Nope, I had not. But now I have and it seems to work. Thanks :) |
Nope, does not work. The old one is still running under |
Looks like By default folks actually ships with prebuilt gir files. I'm still not sure how they actually are generated, but it happens somewhere in the buildPhase if building from scratch. |
A similar behavior can be seen with So it looks like gobject introspection is quite broken in vala and we've just been «lucky» not to have run into it before (I guess there's not that many apps written in eg. pyhton or js that use these vala libraries). I guess we'll have to fix vala to get things to work out of the box :( This is probably outside the scope of this PR though, I'll create a separate issue. |
Caribou was missing as well, I added it. Also reported some errors: GSConnect/gnome-shell-extension-gsconnect#202 |
@jtojnar added |
fb4fcf1
to
dde3f29
Compare
@etu, apparently
@andyholmes 20-rc2 seems to work fine in the VM, will need someone to test it with real device. |
dde3f29
to
d2fb482
Compare
@jtojnar I have recently switched away from gnome to exwm... So I'm afraid that I'm not much help here for that anymore :/ I let the branch remain to not mess it up for others who may use it. |
I'm testing on hardware now (
|
Mousepad should be preempted on Wayland as long as the
Debugging is only on during the period Generate Support Log is active or if turned manually in the hidden development panel. |
Huh, the logging is gone after having used the generate support log once (I might've had debugging on from an earlier install or something 🤷♂️ ).
Yeah, I noticed that there were guards in the code for this, so seeing
|
Ah, found the problem. I'll tag v20-rc4 in a second then I go to bed :) |
d2fb482
to
4f04997
Compare
Been using this for a few days, I think it's ready for merge TBH. There's some really nice improvements over using kdeconnectd, eg. proper notification icons. |
Just to be sure. @GrahamcOfBorg build gnomeExtensions.gsconnect |
4f04997
to
e35acd7
Compare
Motivation for this change
It seems like a nice gnome extension that we all want 😉
I think this may be the 3rd or 4th known try to package this up for NixOS. And after submitting a ticket and waiting a bit they have refactored a lot of their extension to be more friendly for packaging as documented here: GSConnect/gnome-shell-extension-gsconnect#91 (comment)
Note, this is far from complete. The install phase is still missing and isn't working yet.I just wanted to publish my WIP to reduce overlapping efforts.cc @jtojnar
Things to do
environment.systemPackage
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)