Switching Keyboard layouts

Switching keyboard layouts

In KDE every time I have to configure keyboard layout after logout even it's saved by default it doesn't even start when screen boots or when I login

Problems

  • Shortcut key works but doesn't switch the keyboard layout
  • Keyboard layout widget also does the same just shows the single layout
  • Following command not working
    $ systemsettings msm_keyboard
    

Temporary works [Manual works]

To activate the keyboard layout popup on system tray

  • Jump directly to keyboard settings using

    $ systemsettings kcm_keyboard
    
  • Then set whatever you want, If all settings are saved by default click on spare layout enable it then disable and apply it to popup the keyboard layout on system tray

Measures taken

  • Enabled the entry keyboard layout in system tray
  • Selected entry keyboard layout to shown always

But the entry keyboard layout didn't popup after the boot or after login

Temporary solution

  • Majically TTY activate the keyboard layout entry in system tray

  • Make a login script as

    #!/bin/bash
    sudo chvt 2
    sudo chvt 1
    

Any other best suggestion any one can suggest :slight_smile:

Some additional Informations

Garuda inxi


 ā•­ā”€[email protected] in ~ took 1ms
 ā•°ā”€Ī» garuda-inxi 
System:
  Kernel: 5.16.11-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=28b9bda0-b454-461f-9c95-d6e1a406bed4 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
    vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: H61M-CS v: Rev X.0x
    serial: <superuser required> BIOS: American Megatrends v: 0402
    date: 02/28/2014
CPU:
  Info: model: Intel Pentium G2030 bits: 64 type: MCP arch: Ivy Bridge
    family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB
    desc: 1x3 MiB
  Speed (MHz): avg: 2891 high: 2959 min/max: 1600/3000 scaling:
    driver: intel_cpufreq governor: performance cores: 1: 2823 2: 2959
    bogomips: 11972
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
    vendor: ASUSTeK driver: i915 v: kernel ports: active: VGA-1
    empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:0152 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
    s-diag: 414mm (16.3")
  Monitor-1: VGA1 mapped: VGA-1 model: LG (GoldStar) 16M35 serial: <filter>
    built: 2014 res: 1366x768 hz: 60 dpi: 102 gamma: 1.2
    size: 340x190mm (13.4x7.5") diag: 395mm (15.5") ratio: 16:9 modes:
    max: 1366x768 min: 640x480
  OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1)
    v: 4.2 Mesa 21.3.7 compat-v: 3.0 direct render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1c20 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.11-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.47 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 177.28 GiB (38.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000AZRX-00L4HB0 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 128 GiB size: 128 GiB (100.00%) used: 26.95 GiB (21.1%)
    fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-2: /home raw-size: 128 GiB size: 128 GiB (100.00%)
    used: 26.95 GiB (21.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-3: /var/log raw-size: 128 GiB size: 128 GiB (100.00%)
    used: 26.95 GiB (21.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
  ID-4: /var/tmp raw-size: 128 GiB size: 128 GiB (100.00%)
    used: 26.95 GiB (21.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.71 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 182 Uptime: 58m wakeups: 0 Memory: 3.71 GiB
  used: 2.01 GiB (54.2%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1815 lib: 375 Shell: fish
  v: 3.3.1 running-in: konsole inxi: 3.3.13
Garuda (2.5.5-1):
head: cannot open '/var/log/pacman.log' for reading: No such file or directory
  System install date:     
  Last full system update: 2022-03-11
  Is partially upgraded:   Yes
  Relevant software:       NetworkManager
  Windows dual boot:       <superuser required>
  Snapshots:               Snapper
  Failed units:            preload.service systemd-guest-user.service 

 ā•­ā”€[email protected] in ~ took 4s
 ā•°ā”€Ī» inxi
CPU: dual core Intel Pentium G2030 (-MCP-) speed/min/max: 2909/1600/3000 MHz
Kernel: 5.16.11-zen1-1-zen x86_64 Up: 58m Mem: 2050.2/3802.1 MiB (53.9%)
Storage: 465.76 GiB (38.1% used) Procs: 181 Shell: fish inxi: 3.3.13

Commands on Terminal

 ā•­ā”€[email protected] in ~ took 25ms
 ā•°ā”€Ī» systemsettings msm_keyboard
Icon theme "adwaita" not found.
Icon theme "ubuntu-mono" not found.
Icon theme "yaru" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
kf.coreaddons: "Could not load plugin from kcm_kwindecoration: The shared library was not found."
Using fontconfig file: "/home/calculus_learner/.fonts.conf"
kf.coreaddons: "Could not load plugin from kcm_kwin_effects: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kwin_virtualdesktops: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_screenlocker: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kwinrules: The shared library was not found."
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.coreaddons: "Could not load plugin from kcm_fcitx5: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kaccounts: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kscreen: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_pulseaudio: The shared library was not found."
QFSFileEngine::open: No file name specified
kf.coreaddons.desktopparser: Error: Failed to open  ""
QFileDevice::seek: IODevice is not open
QFSFileEngine::open: No file name specified
kf.coreaddons.desktopparser: Error: Failed to open  ""
QFileDevice::seek: IODevice is not open
^CāŽ                                                                                             
 ā•­ā”€[email protected] in ~ took 4s
[šŸ§±] Ɨ systemsettings kcm_keyboard
Icon theme "adwaita" not found.
Icon theme "ubuntu-mono" not found.
Icon theme "yaru" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
kf.coreaddons: "Could not load plugin from kcm_kwindecoration: The shared library was not found."
Using fontconfig file: "/home/calculus_learner/.fonts.conf"
kf.coreaddons: "Could not load plugin from kcm_kwin_effects: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kwin_virtualdesktops: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_screenlocker: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kwinrules: The shared library was not found."
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.coreaddons: "Could not load plugin from kcm_fcitx5: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kaccounts: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_kscreen: The shared library was not found."
kf.coreaddons: "Could not load plugin from kcm_pulseaudio: The shared library was not found."
QFSFileEngine::open: No file name specified
kf.coreaddons.desktopparser: Error: Failed to open  ""
QFileDevice::seek: IODevice is not open
QFSFileEngine::open: No file name specified
kf.coreaddons.desktopparser: Error: Failed to open  ""
QFileDevice::seek: IODevice is not open
kf.configwidgets: A widget named ' "kcfg_osdKbdLayoutChangedEnabled" ' was found but there is no setting named ' "osdKbdLayoutChangedEnabled" '
kf.configwidgets: A widget named ' "kcfg_repeatRate" ' was found but there is no setting named ' "repeatRate" '
kf.configwidgets: A widget named ' "kcfg_repeatDelay" ' was found but there is no setting named ' "repeatDelay" '
kf.configwidgets: A widget named ' "kcfg_resetOldXkbOptions" ' was found but there is no setting named ' "resetOldXkbOptions" '
kf.configwidgets: A widget named ' "kcfg_configureLayouts" ' was found but there is no setting named ' "configureLayouts" '
kf.configwidgets: A widget named ' "kcfg_repeatRate" ' was found but there is no setting named ' "repeatRate" '
kf.configwidgets: A widget named ' "kcfg_repeatDelay" ' was found but there is no setting named ' "repeatDelay" '
qml: The item SubCategoryPage_QMLTYPE_83(0x55dd01528ef0) is already in the PageRow
^CāŽ    

I'm back on PC now, I will send one screen shot

View Screenshot

Change English layout as first layout :wink:

2 Likes

" English layout should be first "
That makes scene because passwords are typed in English :thinking:

My Layout order

English US
Kannada Phonetic
Sanskrit Phonetic

Still those widget won't pop up in this case

Better to run the script for the short time I think

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.