The keys are in gsettings, at org.gnome.desktop.screensaver. To have Onboard 
show up when unlocking the screen they need to be set to
embedded-keyboard-command = 'onboard --xid'
embedded-keyboard-enabled = True

The lightdm greeter (unity-greeter) has  "onboard --xid" hard-coded into
the greeter code. I believe there's nothing to configure (yet).

Onboard can set the screen-saver keys on user action, as Francesco wrote above, 
or automatically and silently on startup (since 0.96.1).
The latter requires to have 
xembed-onboard = True
in onboard-defaults.conf. 'xembed-onboard' is the key behind the checkbox in 
preferences. Basically this enables the toggle by default. Francesco has added 
this to the patch for the Ubuntu package.

This is not a 100% solution though. If Onboard has never been run before, it 
won't show up in the unlock screen either. 
Also, if any other on-screen keyboard has set itself to be the unlock keyboard, 
Onboard won't stay silent, but pop up one of two message boxes asking the user 
what to do. It's a bit like the default web browser setting. it wouldn't be 
polite to set it silently in this case.

For testing, you could do
gsettings reset-recursively apps.onboard
gsettings reset-recursively org.gnome.desktop.screensaver
then run (Ubuntu's) onboard once and lock the screen -> it should show the 
keyboard

Or, to simulate some other app grabbing the unlock keys 
gsettings set org.gnome.desktop.screensaver embedded-keyboard-command 
'some-other-osk'
running onboard should then pop up a message box to either overwrite the 
setting or disable the checkbox in Onboard's preferences.

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

Title:
  onboard doesn't show on lock screen in 11.10 beta 2

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

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

Reply via email to