Supporting the quick terminal in GTK #4013
Replies: 3 comments
-
If I remember correctly, Hyprland has also implemented the GlobalShortcuts portal. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not helpful to solve the issue, but gnome users who need a workaround right now, check my https://extensions.gnome.org/extension/6063/toggler/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Superseded by #4624 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Upstream GTK is not currently supporting the Wayland protocol necessary for implementing the quick terminal. However, there is a 3rd party library which does: https://github.com/wmww/gtk4-layer-shell. I'm thinking we could use that to implement the quick terminal.
It's not a workflow that I use, so I'm not likely to put in the work. Plus, it doesn't work on GNOME (which is what I use), since it doesn't support the necessary protocol.
To implement the global keyboard shortcut, we need to use the
GlobalShortcuts
portal.I think someone using KDE is probably the best person to work on this. I'm not sure who else has implemented the portal in their backend. It would be good to add a D-Bus API to ghostty to toggle the quick terminal, so even environments which don't have the portal can effectively have a global shortcut to toggle it.
Beta Was this translation helpful? Give feedback.
All reactions