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. https://bugzilla.gnome.org/show_bug.cgi?id=744800
This commit is contained in:
parent
c4a775e94a
commit
5cddab3305
@ -652,6 +652,14 @@ const WindowManager = new Lang.Class({
|
||||
this._workspaceSwitcherPopup = null;
|
||||
this._tilePreview = null;
|
||||
|
||||
this.allowKeybinding('switch-to-session-1', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-2', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-3', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-4', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-5', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-6', Shell.ActionMode.ALL);
|
||||
this.allowKeybinding('switch-to-session-7', Shell.ActionMode.ALL);
|
||||
|
||||
this.setCustomKeybindingHandler('switch-to-workspace-left',
|
||||
Shell.ActionMode.NORMAL |
|
||||
Shell.ActionMode.OVERVIEW,
|
||||
|
Loading…
Reference in New Issue
Block a user