ashpd icon indicating copy to clipboard operation
ashpd copied to clipboard

Add globalshortcuts demo

Open dcz-self opened this issue 1 year ago • 4 comments

Tested on my GNOME work (not upstreamed yet): https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2485 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3343 https://gitlab.gnome.org/dcz/gsimpl

dcz-self avatar Jun 19 '24 08:06 dcz-self

I have a video, but github doesn't seem to accept it.

It's here instead: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/47#note_2144834

dcz-self avatar Jun 19 '24 08:06 dcz-self

I don't really know what's happening with the pipeline failure. It's not in globalshortcuts.

dcz-self avatar Jun 24 '24 17:06 dcz-self

I don't really know what's happening with the pipeline failure. It's not in globalshortcuts.

@dcz-self Pull in latest git & fix errors, it builds fine. in global_shortcuts.rs:

-      pub session: Arc<Mutex<Option<Session<'static>>>>,
+      pub session: Arc<Mutex<Option<Session<'static, GlobalShortcuts<'static>>>>>,

This seems to work other than it creating a new session instead of hooking into the existing one & missing metadata about the name and icon. (KDE) image

#231 related?

Covkie avatar Aug 28 '24 11:08 Covkie

Thanks for the interest. Sadly, meanwhile my funding ran out and I no longer have the time to continue this work. Feel free to take over.

dcz-self avatar Sep 04 '24 10:09 dcz-self

Rebased and merged the same version, we can land improvements with time. Especially with the next GNOME release including global shortcuts portal support. Thanks!

bilelmoussaoui avatar Feb 14 '25 17:02 bilelmoussaoui