Re: [Gambas-user] How to Change Keyboard Layout

2018-10-02 Thread Charlie Ogier
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

Re: [Gambas-user] How to Change Keyboard Layout

2018-10-02 Thread T Lee Davidson
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

Re: [Gambas-user] How to Change Keyboard Layout

2018-10-02 Thread Wael M via Gambas-user
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