on xenial help sign in
add an alternative lock screen shortcut

request by ted

commitf3e7bd012010712c9e8f8bf8421bd1f76e3dd935 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 13 Dec 2016, 22:18 (10 years ago) parentd9a9d4c
1 file changed+5
qml/Components/Dialogs.qml+5
qml/Components/Dialogs.qml+5
@@ -121,6 +121,11 @@ Item {
121121 onTriggered: LightDMService.greeter.showGreeter()
122122 }
123123
124+ GlobalShortcut { // lock screen
125+ shortcut: Qt.MetaModifier|Qt.Key_L
126+ onTriggered: LightDMService.greeter.showGreeter()
127+ }
128+
124129 QtObject {
125130 id: d // private stuff
126131 objectName: "dialogsPrivate"