So, I figured out what it was. . . the file was fine and onboard is
working fine, but with some unexpected and desired results.  I had
created a ubuntu shortcut file named NextGen in the same directory from
which I was running my program.  This seemed to cause onboard to use
that file instead of the keyboard layouts in
~/.local/share/onboard/layouts.

It seems that onboard has a three stage lookup process for where to find
the layout file it is being asked to load:  1) local directory, 2) users
custom layouts, or 3) global layouts location.  The problem it seems I
uncovered is that when you have another file with the same name as a
custom layout name in your local directory, it tries to load from the
local directory even if the other files aren't there (no svg files).
Also, my local file had no .onboard suffix and onboard still tried to
load it.

This should probably be a pretty low priority, but I would recommend you
move to a stricter name comparison and look for the .onboard suffix to
make sure that the local file really is an onboard configuration file
and not just an unfortunately named file.

I will remember to look at onboard -ddebug next time I have a problem as
well as this again would have solved my problem much quicker by telling
me which file it was loading.  Thanks for the tip!

For now, I am going to just rename the custom layout name to something
much more specific like NextGenKeyboardLayout that will never be
duplicated and go on my way.

Thanks so much for the response, other than this problem I have been
very satisfied with onboard, especially after updating from 0.97 to
0.99.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1249493

Title:
  onboard keyboard crashes when started in node.js running custom layout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1249493/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to