Discussion:
[Grml] How to setup Xorg keyboard layout ?
Frédéric Boiteux
2011-09-01 11:53:08 UTC
Permalink
Hello,

I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ??b?po??.

I found how to setup the console layout, giving
??keyboard=dvorak-fr-bepo?? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ??fr?? Xorg layout (though it very
different from classical french Azerty) ; I can setup in a shell with :

setxkbmap fr bepo

and following grml's FAQ, I tried ??xkeyboard=bepo??,
??xkeyboard=fr(bepo) ? without luck.


Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?

Thanks,
Fred.
Darshaka Pathirana
2011-09-02 01:22:52 UTC
Permalink
Hi!
Post by Frédéric Boiteux
I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ? b?po ?.
I found how to setup the console layout, giving
? keyboard=dvorak-fr-bepo ? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ? fr ? Xorg layout (though it very
setxkbmap fr bepo
and following grml's FAQ, I tried ? xkeyboard=bepo ?,
? xkeyboard=fr(bepo) ? without luck.
Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
implemented:

[1] http://qr.cx/J1ri

One need to add a new bootoption (e.g. xkeyvariant) and introduce a new
variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.

After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.

With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".

I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)

HTH && HAND,
- Darsha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-bootoption-xkeyvariant-to-set-xkeyboard-varian.patch
Type: text/x-diff
Size: 1366 bytes
Desc: not available
URL: <http://lists.mur.at/pipermail/grml/attachments/20110902/fddeb1f2/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-keyboard-variant-if-set-as-bootoption.patch
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://lists.mur.at/pipermail/grml/attachments/20110902/fddeb1f2/attachment-0001.patch>
Frédéric Boiteux
2011-09-02 05:54:23 UTC
Permalink
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !

I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?


Fred.
Darshaka Pathirana
2011-09-06 17:00:01 UTC
Permalink
Post by Frédéric Boiteux
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !
I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?
Fred.
Darshaka Pathirana
2011-09-06 17:00:01 UTC
Permalink
Post by Frédéric Boiteux
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !
I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?
Fred.
Darshaka Pathirana
2011-09-06 17:00:01 UTC
Permalink
Post by Frédéric Boiteux
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !
I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?
Fred.
Frédéric Boiteux
2011-09-02 05:54:23 UTC
Permalink
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !

I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?


Fred.
Frédéric Boiteux
2011-09-02 05:54:23 UTC
Permalink
Le Fri, 02 Sep 2011 03:22:52 +0200,
Post by Darshaka Pathirana
Hi!
?
Post by Frédéric Boiteux
Could you tell me what syntax can we use in xkeyboard
definition, or how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
[1] http://qr.cx/J1ri
One need to add a new bootoption (e.g. xkeyvariant) and introduce a
new variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.
After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.
With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".
I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)
Thanks for your quick reply !

I don't know well grml yet, only tested the ISO, so I don't know what
to do with your patches yet :-)
Perhaps it could be simpler to add a new choice in the console menu
proposing different keyboard layouts ?


Fred.
Frédéric Boiteux
2011-09-01 11:53:08 UTC
Permalink
Hello,

I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ??b?po??.

I found how to setup the console layout, giving
??keyboard=dvorak-fr-bepo?? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ??fr?? Xorg layout (though it very
different from classical french Azerty) ; I can setup in a shell with :

setxkbmap fr bepo

and following grml's FAQ, I tried ??xkeyboard=bepo??,
??xkeyboard=fr(bepo) ? without luck.


Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?

Thanks,
Fred.
Darshaka Pathirana
2011-09-02 01:22:52 UTC
Permalink
Hi!
Post by Frédéric Boiteux
I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ? b?po ?.
I found how to setup the console layout, giving
? keyboard=dvorak-fr-bepo ? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ? fr ? Xorg layout (though it very
setxkbmap fr bepo
and following grml's FAQ, I tried ? xkeyboard=bepo ?,
? xkeyboard=fr(bepo) ? without luck.
Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
implemented:

[1] http://qr.cx/J1ri

One need to add a new bootoption (e.g. xkeyvariant) and introduce a new
variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.

After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.

With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".

I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)

HTH && HAND,
- Darsha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-bootoption-xkeyvariant-to-set-xkeyboard-varian.patch
Type: text/x-diff
Size: 1366 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20110902/fddeb1f2/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-keyboard-variant-if-set-as-bootoption.patch
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20110902/fddeb1f2/attachment-0005.patch>
Frédéric Boiteux
2011-09-01 11:53:08 UTC
Permalink
Hello,

I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ??b?po??.

I found how to setup the console layout, giving
??keyboard=dvorak-fr-bepo?? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ??fr?? Xorg layout (though it very
different from classical french Azerty) ; I can setup in a shell with :

setxkbmap fr bepo

and following grml's FAQ, I tried ??xkeyboard=bepo??,
??xkeyboard=fr(bepo) ? without luck.


Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?

Thanks,
Fred.
Darshaka Pathirana
2011-09-02 01:22:52 UTC
Permalink
Hi!
Post by Frédéric Boiteux
I'm trying to use the GRML iso image (with grml-rescueboot package)
on computers with a special keyboard layout, a french-targeted
dvorak-like layout called ? b?po ?.
I found how to setup the console layout, giving
? keyboard=dvorak-fr-bepo ? in CUSTOM_BOOTOPTIONS variable
of /etc/default/grml-rescueboot, but didn't found how to setup the Xorg
layout : it's a flavor/variant of ? fr ? Xorg layout (though it very
setxkbmap fr bepo
and following grml's FAQ, I tried ? xkeyboard=bepo ?,
? xkeyboard=fr(bepo) ? without luck.
Could you tell me what syntax can we use in xkeyboard definition, or
how to setup my B?po keyboard layout (if possible) ?
Hmm. Variants of keyboard layouts (currently) does not seem to be
implemented:

[1] http://qr.cx/J1ri

One need to add a new bootoption (e.g. xkeyvariant) and introduce a new
variable (e.g. XKEYVARIANT) in '/etc/grml/autoconfig.functions' to
write this into '/etc/sysconfig/keyboard'.

After that this variable needs to be parsed by 'grml_keyboard' in
'$HOME/.xinitrc.d' resp. '/etc/skel/.xinitrc.d'.

With these changes it should be possible to set "xkeyboard=fr
xkeyvariant=bepo".

I've attached two (untested) patches (against the files in grml
2011.05) to get an idea. Maybe it can be helpful or even useful.. ;)

HTH && HAND,
- Darsha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-bootoption-xkeyvariant-to-set-xkeyboard-varian.patch
Type: text/x-diff
Size: 1366 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20110902/fddeb1f2/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-keyboard-variant-if-set-as-bootoption.patch
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20110902/fddeb1f2/attachment-0007.patch>
Loading...