GNOME Bugzilla – Bug 744800
VT switch doesn't work on gdm-3.15.90
Last modified: 2015-03-02 17:06:11 UTC
Since switching to a wayland based gdm greeter, vt switch doesn't work anymore from gdm. Works from gnome-shell wayland session though.
Looks like the keybindings need to be whitelisted. They work in a normal session because of this code: // There's little sense in implementing a keybinding in mutter and• // not having it work in NORMAL mode; handle this case generically• // so we don't have to explicitly allow all builtin keybindings in• // NORMAL mode.• if (Main.actionMode == Shell.ActionMode.NORMAL &&• binding.is_builtin())• return false;•
Created attachment 297312 [details] [review] gdm: allow user to switch VTs using ctrl-alt-f[1-7] Users currently can't switch VTs while at the login screen. This commit fixes that, by adding the relevant keybindings to the login screen's allowed keybindings list.
Review of attachment 297312 [details] [review]: You should make this ActionMode.ALL instead. Users should be able to VT switch at any time.
yup, makes sense. i cargoculted the wrong bits
Created attachment 297313 [details] [review] gdm: allow user to switch VTs using ctrl-alt-f[1-7] Users currently can't switch VTs while at the login screen. This commit fixes that, by adding the relevant keybindings to the login screen's allowed keybindings list.
Attachment 297313 [details] pushed as 5cddab3 - gdm: allow user to switch VTs using ctrl-alt-f[1-7]
(i wonder why we only go up to 7 instead of 12?)
Feel free to add the rest of the keybindings. I imagine it was simply laziness.
Created attachment 297337 [details] [review] wayland: add keybindings for VT8-VT12 We currently only support switching to 1-7. This commit brings us parity with X, and let's us switch to all 12.
Created attachment 297338 [details] [review] gdm: allow user to switch VTs 8 through 12 mutter now supports keybindings for VTs 8 through 12. This commit makes them work from the login screen.
Attachment 297338 [details] pushed as a71ab9a - gdm: allow user to switch VTs 8 through 12
Attachment 297337 [details] pushed as 96b202c - wayland: add keybindings for VT8-VT12
*** Bug 745413 has been marked as a duplicate of this bug. ***