Add globalshortcuts demo
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
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
I don't really know what's happening with the pipeline failure. It's not in globalshortcuts.
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)
#231 related?
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.
Rebased and merged the same version, we can land improvements with time. Especially with the next GNOME release including global shortcuts portal support. Thanks!