api to onboard

Asked by tom schuring on 2013-07-02

Is there an api to onboard to switch layouts dynamically ?

i would like to change the layout when the user clicks in a numeric entryfield (to a numberic keyboard) and back to alpha when it's a text entrybox.

or should i
   killall onboard
and
   onboard --layout="/usr/share/onboard/layouts/Numeric-Pad.onboard"

instead ? any suggestions welcome, because this solution seems a bit dirty to me.
thanks,
tom

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu onboard Edit question
Assignee:
No assignee Edit question
Last query:
2013-07-02
Last reply:
2013-07-02

If you set a keyboard shortcut to switch layouts as if it were a real keyboard is it honoured?

If not then I suggest you write 2 scripts to switch between the configs so you can run those to switch using an icon (could even make a .desktop file in /usr/share/applications for both and it will appear in Dash (I assume you're usin Unity))

Can you help with this problem?

Provide an answer of your own, or ask tom schuring for more information if necessary.

To post a message you must log in.