Mageia Bugzilla – Attachment 6148 Details for
Bug 13866
Accessibility option in gdm login (gnome3) onscreen keyboard breaks login - black screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to prevent users from enabling the onscreen keyboard in gdm
disable-gdm-onscreen-keyboard.patch (text/plain), 872 bytes, created by
Martin Whitaker
on 2015-03-27 23:22:58 CET
(
hide
)
Description:
Patch to prevent users from enabling the onscreen keyboard in gdm
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2015-03-27 23:22:58 CET
Size:
872 bytes
patch
obsolete
>--- a/js/ui/status/accessibility.js 2014-12-11 14:34:38.000000000 +0000 >+++ b/js/ui/status/accessibility.js 2015-03-27 21:18:49.328007122 +0000 >@@ -4,6 +4,7 @@ > const Gio = imports.gi.Gio; > const GLib = imports.gi.GLib; > const Lang = imports.lang; >+const Main = imports.ui.main; > const Mainloop = imports.mainloop; > const St = imports.gi.St; > >@@ -67,7 +68,9 @@ > > let screenKeyboard = this._buildItem(_("Screen Keyboard"), APPLICATIONS_SCHEMA, > 'screen-keyboard-enabled'); >- this.menu.addMenuItem(screenKeyboard); >+ // temporary fix to avoid crash in gdm >+ if (Main.sessionMode.currentMode != 'gdm') >+ this.menu.addMenuItem(screenKeyboard); > > let visualBell = this._buildItem(_("Visual Alerts"), WM_SCHEMA, KEY_VISUAL_BELL); > this.menu.addMenuItem(visualBell);
--- a/js/ui/status/accessibility.js 2014-12-11 14:34:38.000000000 +0000 +++ b/js/ui/status/accessibility.js 2015-03-27 21:18:49.328007122 +0000 @@ -4,6 +4,7 @@ const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const Lang = imports.lang; +const Main = imports.ui.main; const Mainloop = imports.mainloop; const St = imports.gi.St; @@ -67,7 +68,9 @@ let screenKeyboard = this._buildItem(_("Screen Keyboard"), APPLICATIONS_SCHEMA, 'screen-keyboard-enabled'); - this.menu.addMenuItem(screenKeyboard); + // temporary fix to avoid crash in gdm + if (Main.sessionMode.currentMode != 'gdm') + this.menu.addMenuItem(screenKeyboard); let visualBell = this._buildItem(_("Visual Alerts"), WM_SCHEMA, KEY_VISUAL_BELL); this.menu.addMenuItem(visualBell);
View Attachment As Raw
Actions:
View
Attachments on
bug 13866
:
5333
|
6147
| 6148 |
6149
|
6150
|
6151
|
6152