[APKG Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Moderator: Lillian.W@AST

Post Reply
User avatar
father.mande
Posts: 1808
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[APKG Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Post by father.mande »

Hi,

THis is "more " a FIX than an application ... :D

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 ...
The attachment asxkb.png is no longer available
[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:/ #
YOU know value for layout and variant (optional) do ( ex. with fr variant latin9 ) :
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:/ #
apply to running xorg (so you can test IMMEDIATELY in asportal / application)
value RETURNED by Xorg are displayed ...

Code: Select all

root@AS5002TaPhil:/ # astxkb apply
rules:      base
model:      pc105
layout:     fr
variant:    latin9
root@AS5002TaPhil:/ #
You don't know exactly the value ... so list ALL keyboard layout supported, or list ALL variant supported, list ALL variant for your language (the 1 and 2 MUST be use with grep or any tools to filter the output ...
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:/ #
Status (reading the xorg active configuration on display :0)

Code: Select all

root@AS5002TaPhil:/ # astxkb status
rules:      base
model:      pc105
layout:     fr
variant:    latin9
root@AS5002TaPhil:/
What is you configuration saved to be used at boot ...

Code: Select all

root@AS5002TaPhil:/ # astxkb config
[xkb]
layout = fr
variant = latin9
root@AS5002TaPhil:/ 
Reset the configuration to default :

Code: Select all

root@AS5002TaPhil:/ # astxkb reset
 keymap is US now
root@AS5002TaPhil:/ #
[Downlaod]

For x86_64 system :
icon
icon
asxkb.png (8.42 KiB) Viewed 12656 times
For x86 (32 bits) system :
The attachment asxkb_1.2_i386.apk.zip is no longer available
Have fun.
Philippe.
Last edited by father.mande on Sun Nov 29, 2015 11:04 pm, edited 2 times in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKQ Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Post by damien599901 »

we have a new great 3rd party apps developer with us.
Great !!!
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Post by father.mande »

Hi,

Due to change on structure (lib, link disappearing, etc.) with Xorg update 10.14.7.R11 this APKG don't work on this new version

I new version will be available soon ... just having to finalize the tests ...

If Asustor want to have some community application ... it can be good to inform integrator/developer when so large change will be done ... thanks for later ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: [APKG Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Post by MikeG.6.5 »

This is NOT at all surprising that Asustor removed a dependency library from the OS. It's happened at least 2 other times in the last year or so.

Why should someone go through the hassles of developing something just to have the OS break it a few weeks/months later....

Would it be because the app takes the NAS out of the small niche Asustor envisions, perhaps? Instead of opening some of them up to the true potential they could have.

It's damned frustrating....
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Asxkb] Foreign Keyboard layout Mgnt. for Xorg (64 & 32 bits) AS202TE and AS5002T

Post by father.mande »

Hi,

Post ONE have been updated ... to version 1.2

This version support change of PATH and File structure for new 10.1.4.7.R11 Xorg ... normally support also the "old" version ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Foreign Keyboard Layout”