Page 1 of 1

Xenialpup 7.5: Keyboard layout problem

Posted: Sun 04 Feb 2018, 16:11
by dustedwax
Xenialpup 7.5, 32bit, frugal installation on a flash stick with a save file.

When system boots, previously set keyboard variant and settings load properly, but the keyboard layout (I use Bulgarian) doesn't loads to xorg.conf. Any ideas?

These are the xorg.conf settings when system boots:

Code: Select all

Option      "XkbLayout" "us" #xkeymap0
#Option      "XkbVariant" ",phonetic" #xkbvariant0
Option      "XkbOptions" "terminate:ctrl_alt_bksp,grp:alt_shift_toggle"
And this is how it should be:

Code: Select all

Option      "XkbLayout" "us,bg" #xkeymap0
#Option      "XkbVariant" ",phonetic" #xkbvariant0
Option      "XkbOptions" "terminate:ctrl_alt_bksp,grp:alt_shift_toggle"

Posted: Sun 04 Feb 2018, 16:39
by bigpup
How are you doing the keyboard setup?
You do what?
You see what?

Posted: Sun 04 Feb 2018, 19:54
by dustedwax
bigpup wrote:How are you doing the keyboard setup?
You do what?
You see what?
I use Mouse/Keyboard Wizard from "Menu > Setup"
1. Advanced configuration
2. Layouts > add > Bulgaria
3. Layout variant > Bulgarian (traditional phonetic)
4. Options tab > Group Shift/lock behavior > alt_shift_toggle
5. Yes - to apply changes

After these settings, keyboard layouts work perfectly. Then I do some other settings and make a save file when shutting down. Next time when I boot the system, Alt+Shift does change the keyboard layouts. I checked out the xorg.conf and I saw that additional layout "Bulgarian" is missing. The strange thing is that "Layout Variant" and "Options" are saved properly.
So every time system boots, I should use Mouse/Keyboard Wizard to add again Bulgarian layout.

Posted: Mon 05 Feb 2018, 01:40
by musher0
Hello dustedwax.

I had a similar problem with my qc keyboard. With the help of a friend on this forum
I solved it by writing a little script for /root/Startup. This little script loads my keyboard
at boot. It goes like this:

Code: Select all

#!/bin/sh
# /root/Startup/qc2.sh
####
setxkbmap -model pc105 -layout ca -variant fr
I think the parameters explain themselves?
-- The model of my keyboard is a 105 keys keyboard
-- The keyboard layout is ca (meaning:Canada)
-- The variant is fr (meaning: French-Canada)

Can you adapt / imitate this for your keyboard / language?

IHTH

Posted: Mon 05 Feb 2018, 04:23
by dustedwax
musher0 wrote:Hello dustedwax.
I had a similar problem with my qc keyboard. With the help of a friend on this forum
I solved it by writing a little script for /root/Startup.
Yeah, mate! I could do a work-around script, as well... But the bug still exists, and in addition it exists in every puppy linux I've ever tested.

For example: In tarhpup 6.0.5, keyboard layouts, variants and settings load properly to xorg.conf, but it seems they don't apply. You need to run Mouse/Keyboard Wizard every time system boots, go to Advanced Configuration and just click "Yes" to apply changes.
In xenialpup 7.5, keymap-set script (on /usr/sbin) is re-written. Now everything loads perfectly on boot except for previously set additional keyboard layout and I have to add it every time system boots using Mouse/Keyboard Wizard... Simple things complex... So the fun goes on...

Posted: Mon 05 Feb 2018, 06:11
by musher0
What can I say? It worked for me...

Sincere sympathies.

i just type setxbmap in terminal, each session.

Posted: Mon 19 Mar 2018, 06:24
by xyz
i just type setxbmap in terminal, each session.
Te easiest way to do in fact.

Posted: Sat 24 Mar 2018, 19:41
by DuMar
There is a script in /startup/disabled You just drag that to the startup folder.