session startup - keyboard switcher - mx23  [Solved]

Message
Author
phykris
Posts: 28
Joined: Sat Apr 06, 2019 3:59 am

session startup - keyboard switcher - mx23

#1 Post 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).

phykris
Posts: 28
Joined: Sat Apr 06, 2019 3:59 am

Re: session startup - keyboard switcher - mx23

#2 Post by phykris »

Basically I am missing the file
/usr/local/bin/fbxkb-start
Does anyone using MX-23 have this file?

phykris
Posts: 28
Joined: Sat Apr 06, 2019 3:59 am

Re: session startup - keyboard switcher - mx23

#3 Post 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.

phykris
Posts: 28
Joined: Sat Apr 06, 2019 3:59 am

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

#4 Post 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.

User avatar
dolphin_oracle
Developer
Posts: 22095
Joined: Sun Dec 16, 2007 12:17 pm

Re: session startup - keyboard switcher - mx23

#5 Post 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).
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Software / Configuration”