[gnome-shell] gdm: allow user to switch VTs using ctrl-alt-f[1-7]
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gdm: allow user to switch VTs using ctrl-alt-f[1-7]
- Date: Thu, 19 Feb 2015 19:51:22 +0000 (UTC)
commit 5cddab3305fa746fe8814909112fa74bd8d32d16
Author: Ray Strode <rstrode redhat com>
Date: Thu Feb 19 14:39:26 2015 -0500
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
js/ui/windowManager.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 5e6bdb5..45edf3a 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]