Can't change keyboard layout in Xfce

  • Done
  • quality assurance status badge
Details
3 participants
  • ???
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
important
M
M
Maxim Cournoyer wrote on 20 May 2021 23:22
(name . bug-guix)(address . bug-guix@gnu.org)
87h7ixxfqs.fsf@gmail.com
Hello,

In a VM image such as the one we offer for download here:
or manually built with

$ guix system image --image-size=20G -t qcow2 gnu/system/examples/vm-image.tmpl

it is not possible to switch the keyboard layout (it sticks to the
default English US one) via the provided GUI (xfce4-keyboard-settings).

Looking at dbus-monitor, we can see that it sends the following D-Bus
messages to xfconf, the configuration manager of Xfce:

Toggle snippet (20 lines)
method call time=1621544143.298985 sender=:1.31 -> destination=:1.3 serial=21 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=SetProperty
string "keyboard-layout"
string "/Default/XkbLayout"
variant string "us,ara,et"
method call time=1621544143.299068 sender=:1.31 -> destination=:1.3 serial=22 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=SetProperty
string "keyboard-layout"
string "/Default/XkbVariant"
variant string "dvorak,,"
method return time=1621544143.299121 sender=:1.3 -> destination=:1.31 serial=425 reply_serial=21
signal time=1621544143.299139 sender=:1.3 -> destination=(null destination) serial=426 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=PropertyChanged
string "keyboard-layout"
string "/Default/XkbLayout"
variant string "us,ara,et"
method return time=1621544143.299192 sender=:1.3 -> destination=:1.31 serial=427 reply_serial=22
signal time=1621544143.299209 sender=:1.3 -> destination=(null destination) serial=428 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=PropertyChanged
string "keyboard-layout"
string "/Default/XkbVariant"
variant string "dvorak,,"

There doesn't seem to be a problem up to this point.

We'd need to continue the investigation with what xfconf does following
the received D-Bus messages.

Thanks,

Maxim
L
L
Ludovic Courtès wrote on 29 May 2021 23:03
control message for bug #48549
(address . control@debbugs.gnu.org)
87a6od5k31.fsf@gnu.org
severity 48549 important
quit
?
Re: bug#48549: Can't change keyboard layout in Xfce
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 48549-done@debbugs.gnu.org)
878r9z2yoy.fsf@envs.net
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (12 lines)
> Hello,
>
> In a VM image such as the one we offer for download here:
> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.3.0.x86_64-linux.qcow2
> or manually built with
>
> $ guix system image --image-size=20G -t qcow2 gnu/system/examples/vm-image.tmpl
>
> it is not possible to switch the keyboard layout (it sticks to the
> default English US one) via the provided GUI (xfce4-keyboard-settings).


Hello, i find that select the layout won't make it active, but you have
to move it to the top row. Closing now, as it does works..


Thanks.
Closed
M
M
Maxim Cournoyer wrote on 26 Aug 2023 18:21
(name . ???)(address . iyzsong@envs.net)(address . 48549-done@debbugs.gnu.org)
87a5udojtn.fsf@gmail.com
Hello,

??? <iyzsong@envs.net> writes:

Toggle quote (17 lines)
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Hello,
>>
>> In a VM image such as the one we offer for download here:
>> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.3.0.x86_64-linux.qcow2
>> or manually built with
>>
>> $ guix system image --image-size=20G -t qcow2 gnu/system/examples/vm-image.tmpl
>>
>> it is not possible to switch the keyboard layout (it sticks to the
>> default English US one) via the provided GUI (xfce4-keyboard-settings).
>
>
> Hello, i find that select the layout won't make it active, but you have
> to move it to the top row. Closing now, as it does works..

And is this is how it is intended to behave (the same on other GNU/Linux
distributions, say?).

Thanks for trying it out!

--
Thanks,
Maxim
Closed
?
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 48549-done@debbugs.gnu.org)
875y51xqsi.fsf@envs.net
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (26 lines)
> Hello,
>
> ??? <iyzsong@envs.net> writes:
>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>>> Hello,
>>>
>>> In a VM image such as the one we offer for download here:
>>> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.3.0.x86_64-linux.qcow2
>>> or manually built with
>>>
>>> $ guix system image --image-size=20G -t qcow2 gnu/system/examples/vm-image.tmpl
>>>
>>> it is not possible to switch the keyboard layout (it sticks to the
>>> default English US one) via the provided GUI (xfce4-keyboard-settings).
>>
>>
>> Hello, i find that select the layout won't make it active, but you have
>> to move it to the top row. Closing now, as it does works..
>
> And is this is how it is intended to behave (the same on other GNU/Linux
> distributions, say?).
>
> Thanks for trying it out!

Yes, it also behave the same on ArchLinux, the "Keyboard Layouts" panel
plugin is more easier to use..
Closed
M
M
Maxim Cournoyer wrote on 27 Aug 2023 03:16
(name . ???)(address . iyzsong@envs.net)(address . 48549-done@debbugs.gnu.org)
87msydmgif.fsf@gmail.com
Hi,

??? <iyzsong@envs.net> writes:

Toggle quote (31 lines)
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Hello,
>>
>> ??? <iyzsong@envs.net> writes:
>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>>
>>>> Hello,
>>>>
>>>> In a VM image such as the one we offer for download here:
>>>> https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.3.0.x86_64-linux.qcow2
>>>> or manually built with
>>>>
>>>> $ guix system image --image-size=20G -t qcow2 gnu/system/examples/vm-image.tmpl
>>>>
>>>> it is not possible to switch the keyboard layout (it sticks to the
>>>> default English US one) via the provided GUI (xfce4-keyboard-settings).
>>>
>>>
>>> Hello, i find that select the layout won't make it active, but you have
>>> to move it to the top row. Closing now, as it does works..
>>
>> And is this is how it is intended to behave (the same on other GNU/Linux
>> distributions, say?).
>>
>> Thanks for trying it out!
>
> Yes, it also behave the same on ArchLinux, the "Keyboard Layouts" panel
> plugin is more easier to use..

I see, thanks for confirming.

--
Thanks,
Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 48549@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 48549
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch