Article 6QT9M Xfce setting default keyboard layout with xfce4-xkb-plugin

Xfce setting default keyboard layout with xfce4-xkb-plugin

by
lzhiren
from LinuxQuestions.org on (#6QT9M)
EDIT: Upon further testing I've found that it will always prioritize US (QWERTY) if it is in the layout list regardless of order. If I remove QWERTY from the list and leave only the other two layouts, the default will end up being whichever layout is first on the list.

Hey all, I'm using xfce 4.18 on slackware64-current. Currently trying to get my keyboard layout situation set up and downloaded xfce4-xkb-plugin. I use 3 different keyboard layouts and switching works fine, however when I log in or open a new window it seems to randomly pick a layout to use. Once I switch a few times it seems to work until I log out and log in again but it's annoying to have to switch multiple times.

It should be noted that I do not have this issue in KDE Plasma 5 so I think it's an issue specifically with the xfce4-xkb-plugin

Expected behavior is for a default layout to be selected and not be changed until I choose to.

According to the documentation there should be a radio button for default layout in the settings, however these screenshots seem to be outdated as the UI for the plugin no longer looks like this.

I have heard that all settings are now handled through Code:~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xmlHere is my keyboard-layout.xml

Code:<?xml version="1.0" encoding="UTF-8"?>

<channel name="keyboard-layout" version="1.0">
<property name="Default" type="empty">
<property name="XkbDisable" type="bool" value="false"/>
<property name="XkbOptions" type="empty">
<property name="Group" type="string" value="grp:win_space_toggle"/>
<property name="Compose" type="string" value=""/>
</property>
<property name="XkbLayout" type="string" value="met,dv,us"/>
<property name="XkbVariant" type="string" value=",,"/>
<property name="XkbModel" type="string" value="pc105"/>
</property>
</channel>Unsure if there is a setting to choose what the default is, I expect it to just choose the first one on the list of layouts but that is obviously not happening. Any help would be appreciated, thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments