It is currently Sun Sep 23, 2018 4:00 pm
All times are UTC + 8 hours

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

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

Postby father.mande » Sun Oct 11, 2015 11:02 pm

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 :
asxkb.png
icon
asxkb.png (8.42 KiB) Viewed 3880 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.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 539
Joined: Sat Sep 12, 2015 2:55 am

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

Postby damien599901 » Mon Oct 12, 2015 2:34 am

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
damien599901
 
Posts: 551
Joined: Mon Dec 30, 2013 2:53 am

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

Postby father.mande » Thu Nov 19, 2015 6:46 pm

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.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 539
Joined: Sat Sep 12, 2015 2:55 am

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

Postby MikeG.6.5 » Fri Nov 20, 2015 12:14 pm

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....
MikeG.6.5
 
Posts: 910
Joined: Fri May 15, 2015 1:56 am

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

Postby father.mande » Sun Nov 29, 2015 11:06 pm

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.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 539
Joined: Sat Sep 12, 2015 2:55 am

Return to Foreign Keyboard Layout

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron