If you are using *buntu/Mint etc (and maybe other distros) you could try
this: -
*Public Sub Form_Open()**
**Dim sKBFile As String[] = Split(File.Load("/etc/default/keyboard"),
gb.NewLine)**
**Dim sLine As String **
**
**For Each sLine In sKBFile**
** If sLine Begins "XKBLAYOUT" Then **Print
I did not notice, and perhaps you didn't either Charlie, that this is the
DEPRECATED Gambas list.
The new (User) list registration is at https://lists.gambas-basic.org/listinfo
___
Lee
On 10/2/18 8:08 AM, Charlie Ogier wrote:
> If you are using *buntu/Mint etc (and maybe other distros) you co
Lee, I subscribed to the list you mentioned but should I repeate the same
thread there or what?
Charlie, thanks for your answer but it didn't exactly did what I want
I'm using Ubuntu
the code you put gave me this result: XKBLAYOUT=us,ara
what I need to get is the current keyboard layout
maybe I