elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

Use user's xkb options #658

Closed lenemter closed 1 year ago

lenemter commented 1 year ago

Xkb options are responsible for "switch layout" shortcut, Compose key and Caps Lock behavior.

Requires https://github.com/elementary/settings-daemon/pull/67

Fixes #541

Marukesu commented 1 year ago

i think we should use the InputSources property provided in the org.freedesktop.Accounts.User interface and remove the related keys in the pantehon and settings daemon interfaces (why we duplicate the keyboard layout info?).

zeebok commented 1 year ago

Maybe I am misunderstanding this PR or testing in VM is causing odd behavior, but the keyboard shortcuts such as compose key and switch layout do not work. At least when set to Caps Lock, that key's behavior remains default.

lenemter commented 1 year ago

@zeebok Make sure you installed settings-daemon from git. Also, there is some bug with git version, it no longer autostarts for me after installing, so launch it manually from terminal. Hope it will make it work for you

lenemter commented 1 year ago

@Marukesu I think this is out of scope of this PR. Can you file a new issue about duplicating keyboard info? Also, where do you find about this InputSources in org.freedesktop.Accounts.User. I tried to google anything, but found nothing about this.