Page 1 of 1

session startup - keyboard switcher - mx23

Posted: Wed Oct 04, 2023 12:11 am
by phykris
In the whiskermenu under "session and startup" - "Application autostart"
I see that "keyboard switcher" is enabled. Do you see this too? (1)
"keyboard-switcher" refers to a script called "fbxkb-start", which I believe is something from mx-linux
The script is supposed to start an application called fbxkb, only if multiple keyboards are installed
But in my installation fbxkb is never started and I believe that is because the "fbxkb-start" script is missing in my installation.
If fbxkb does not get started the keyboard switching oicon never appears in the systray area of the panel.
When I start a terminal and type fbxkb-start it says "command not found"

What do you see when you type: "fbxkb-start" in a terminal? (2)
What do you see when you type type "which fbxkb-start" in a terminal? (3)

I would like to know if I somehow messed up my installation or if this is a bug.
Would somebody mind checking (1) (2) and (3)?
PS. my workaround is to simply always start fbxkb under "session and startup" and not the script (fbxkb-start).

Re: session startup - keyboard switcher - mx23

Posted: Wed Oct 04, 2023 12:32 am
by phykris
Basically I am missing the file
/usr/local/bin/fbxkb-start
Does anyone using MX-23 have this file?

Re: session startup - keyboard switcher - mx23

Posted: Wed Oct 04, 2023 1:57 am
by phykris
There is a comment on MX23-RC3 in this forum in which Dolphin Oracle says they switched from kbxkb to gxkb. But there's no gxbk anywhere on my MX-23 system.
The file responsible for starting gxkb is supposed to be /usr/local/bin/kbd.sh which is called from within .config/autostart/kbd.desktop
And again there's no file called /usr/local/bin/kbd.sh on my system
So, either I have found a bug related to this switch, or the my system got messed up.

Re: session startup - keyboard switcher - mx23  [Solved]

Posted: Wed Oct 04, 2023 3:31 am
by phykris
Ok, I solved the problem. I think there was something wrong with my specific installation. I am not sure though.
1. I copied kbd.sh and gxkb and gxkb-start and gxkb_start.sh from the squashfs file system of an mx-linux-iso to my file system in /usr/bin
2. I removed the kbd.desktop keyboardswitcher.desktop from ~/.config/autostart/
3. They I selected to kdb and keyboard switcher in the "sessions and startup" menu

Now everything works fine and my system uses gxkb as MX23 it is supposed to.
But honestly I think fbxkb was easier to use as you could switch layout with a single click, while now you've to choose from a menu.

Re: session startup - keyboard switcher - mx23

Posted: Wed Oct 04, 2023 7:38 am
by dolphin_oracle
fbxkb would crash when a keyboard layout did not have a flag, and it was written such that adding flags was difficult. gxkb doesn't have either problem. it can deal with missing flags, and its relatively easy to add flags (we've added a bunch).