Emote icon indicating copy to clipboard operation
Emote copied to clipboard

Global Shortcuts Portal Support

Open ddavef opened this issue 2 years ago • 6 comments

This would partly solve the issues with Wayland by allowing emote to register a shortcut for opening the emoji selection window.

ddavef avatar Mar 07 '23 13:03 ddavef

I don't believe there's any way of doing this programmatically in Wayland (stupid, I know...). At least the last time I looked, which admittedly was a year or two ago, the only way of doing it is this - https://github.com/tom-james-watson/Emote/wiki/Hotkey-In-Wayland

tom-james-watson avatar Mar 07 '23 14:03 tom-james-watson

Seems like this has been added to xdg-desktop-portal - https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.GlobalShortcuts. I'm not sure how that applies to this codebase, though, as it seems to be something related to flatpak. Honestly I think this app is going to just need to get rewritten from scratch to properly support flatpak and things like this.

tom-james-watson avatar Mar 07 '23 14:03 tom-james-watson

Looks like flatpak is actually happening (https://github.com/tom-james-watson/Emote/pull/89), so I think we should actually be able to do this over the next few months!

tom-james-watson avatar Apr 18 '23 21:04 tom-james-watson

Is it already possible to use the shortcut on Wayland ctrl + alt + e? I still not able to use it on NixOS with Gnome running on Wayland.

gil0mendes avatar Oct 22 '23 21:10 gil0mendes

Is it already possible to use the shortcut on Wayland ctrl + alt + e? I still not able to use it on NixOS with Gnome running on Wayland.

Have you followed https://github.com/tom-james-watson/Emote/wiki/Hotkey-In-Wayland?

tom-james-watson avatar Oct 22 '23 21:10 tom-james-watson

Oh, I missed that page 🤦 thanks, that worked perfectly.

gil0mendes avatar Oct 22 '23 21:10 gil0mendes