Bug #7898

Fix keyboard layout in GNOME session

Added by alant 2014-09-14 09:56:51 . Updated 2014-10-02 14:08:35 .

Status:
Resolved
Priority:
High
Assignee:
alant
Category:
Target version:
Start date:
2014-09-14
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Keyboard layout in not set in GNOME session as it should be by tails-configure-keyboard


Subtasks


Related issues

Related to Tails - Bug #7997: English layout listed twice in the GNOME Shell keyboard selector widget Resolved 2014-10-02
Related to Tails - Bug #8065: No more keyboard switching applet in Jessie Resolved 2014-10-11
Blocked by Tails - Feature #7311: Investigate using GNOME Shell for Jessie Resolved 2014-06-11

History

#1 Updated by alant 2014-09-14 10:08:28

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

gnome-control-center sets locale through DBus on the system bus: org.freedesktop.locale1 /org/freedesktop/locale1 SetX11Keyboard.

#2 Updated by alant 2014-09-14 16:14:56

  • Assignee set to alant
  • % Done changed from 10 to 20

It should be fixed in feature/jessie. To be tested.

#3 Updated by intrigeri 2014-09-14 21:41:23

Please quote variables in shell scripts. Otherwise, it all looks black magic to me, but not too scary, and I’m happy if it works :)

#4 Updated by alant 2014-09-15 14:52:48

> Please quote variables in shell scripts.

Done.

> Otherwise, it all looks black magic to me, but not too scary, and I’m happy if it works :)

See documentation of DBus schema /org/gnome/desktop/input-sources/sources if interested.

#5 Updated by intrigeri 2014-09-22 15:38:40

  • % Done changed from 20 to 50

alant wrote:
> It should be fixed in feature/jessie. To be tested.

It works for me (English, French, German), but there’s no applet to switch between the chosen layout and the US one, while the US one is properly configured as the second layout in the GNOME preferences. Is it a limitation of GNOME Flashback, or missing bits / misconfiguration on our side? Maybe we need to install the gkbd-capplet package (long shot at random)?

#6 Updated by intrigeri 2014-09-22 15:44:22

  • Target version set to Tails_2.0

#7 Updated by intrigeri 2014-09-22 15:44:51

  • Priority changed from Normal to High

(Like parent ticket.)

#8 Updated by alant 2014-09-23 04:42:39

> It works for me (English, French, German), but there’s no applet to switch between the chosen layout and the US one, while the US one is properly configured as the second layout in the GNOME preferences. Is it a limitation of GNOME Flashback, or missing bits / misconfiguration on our side? Maybe we need to install the gkbd-capplet package (long shot at random)?

I think that’s another issue that we shouldn’t try to fix before being sure wether we use gnome-shell or flashback.

#9 Updated by intrigeri 2014-10-02 09:22:36

  • blocked by Feature #7311: Investigate using GNOME Shell for Jessie added

#10 Updated by intrigeri 2014-10-02 09:23:07

alant wrote:
> I think that’s another issue that we shouldn’t try to fix before being sure wether we use gnome-shell or flashback.

Indeed, with GNOME Classic it works fine.

#11 Updated by intrigeri 2014-10-02 14:07:06

  • related to Bug #7997: English layout listed twice in the GNOME Shell keyboard selector widget added

#12 Updated by intrigeri 2014-10-02 14:08:35

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

With GNOME Shell, the correct layout is applied, and one can easily switch (once in the session) between the US layout and the one chosen in the Greeter, so calling this fixed. What’s left to fix (a regression that was possibly introduced when fixing this very bug) is Bug #7997.

#13 Updated by sajolida 2014-10-12 01:19:34

  • related to Bug #8065: No more keyboard switching applet in Jessie added