Xenialpup 7.5: Keyboard layout problem

Please post any bugs you have found
Post Reply
Message
Author
dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

Xenialpup 7.5: Keyboard layout problem

#1 Post 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"

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

How are you doing the keyboard setup?
You do what?
You see what?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post 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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

What can I say? It worked for me...

Sincere sympathies.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

xyz

i just type setxbmap in terminal, each session.

#7 Post by xyz »

i just type setxbmap in terminal, each session.
Te easiest way to do in fact.

DuMar
Posts: 79
Joined: Thu 28 Jan 2016, 15:18
Location: Apeldoorn, Netherlands

#8 Post by DuMar »

There is a script in /startup/disabled You just drag that to the startup folder.

Post Reply