THis is "more " a FIX than an application ...
Asxkb for Asustor X86_64 and i386 using Xorg help you to :
===== Manage dynamically (and at boot automatically) to set FOREIGN KEYBOARD LAYOUT for all application running under Xorg (asportal include)
UPDATE to 1.2 to match new Xorg version architecture (10.14.7.R11)
Ex. You use with asportal, Chrome a French keyboard with a variant (latin9 for ex.) ... one solution is to modify the xorg.conf as any expert can do ... the adding solution, here with asxkb, is to do it by simple command in a console ONE time if you use the same
Dynamically ... so you can test multiple LAYOUT to select the best for you ... [Name - Version]
asxkb 1.0
UPDATE
askxbk 1.2 ... support new x86 xorg 10.14.7.R11 architecture (change libraries and paths)
[Models supported]
ALL x86_64 supporting Xorg / Asportal
ALL x86 (i386) system supporting Xorg
[Prerequisite]
xorg ... tested only with ADM 2.5 RA73 on AS5002T and AS202TE
[How-to]
Open a console (ssh) login as root or admin
type astxkb to have the help ... don't forget the t between as and xkb
Code: Select all
root@AS5002TaPhil:/ # astxkb
Usage : /usr/local/bin/astxkb start|apply ... use to load keymap at boot or immediately
/usr/local/bin/astxkb set layout [variant] ... set the layout & variant (if supply) in xkb.conf
.................... ... NOT APPLY just set value for future use ... please apply if it's for now
.................... ... NO control on value provide here before
/usr/local/bin/astxkb list layout ... list all available layout
/usr/local/bin/astxkb list variant ... list all variant
/usr/local/bin/astxkb list varfor XX ... list variant for specific XX layout
/usr/local/bin/astxkb reset ... return to us no variant
/usr/local/bin/astxkb config ... list xkb.conf value
/usr/local/bin/astxkb status ... query Xorg to display keyboard_model/driver/layout/variant in use
/usr/local/bin/astxkb usage ... this help
root@AS5002TaPhil:/ #
set the value (to save for next boot)
... no return = no error BUT value are NOT checked ...
Code: Select all
root@AS5002TaPhil:/ # astxkb set fr latin9
root@AS5002TaPhil:/ #
value RETURNED by Xorg are displayed ...
Code: Select all
root@AS5002TaPhil:/ # astxkb apply
rules: base
model: pc105
layout: fr
variant: latin9
root@AS5002TaPhil:/ #
on AS5002T ... 92 Layout and 375 variant ... so be prudent ...
ex. search all variant for Swiss : ch keyboard layout
Code: Select all
root@AS5002TaPhil:/ # astxkb list varfor ch
Variant for layout ch
legacy ch: Legacy
de_nodeadkeys ch: German, eliminate dead keys
de_sundeadkeys ch: German, Sun dead keys
fr ch: French
fr_nodeadkeys ch: French, eliminate dead keys
fr_sundeadkeys ch: French, Sun dead keys
fr_mac ch: French (Macintosh)
de_mac ch: German (Macintosh)
root@AS5002TaPhil:/ #
Code: Select all
root@AS5002TaPhil:/ # astxkb status
rules: base
model: pc105
layout: fr
variant: latin9
root@AS5002TaPhil:/
Code: Select all
root@AS5002TaPhil:/ # astxkb config
[xkb]
layout = fr
variant = latin9
root@AS5002TaPhil:/
Code: Select all
root@AS5002TaPhil:/ # astxkb reset
keymap is US now
root@AS5002TaPhil:/ #
For x86_64 system : For x86 (32 bits) system : Have fun.
Philippe.