on-screen keyboard requires expert knowledge to launch in 14.10 Final Beta

Bug #1376764 reported by Christoph Reichenbach
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
High
Unassigned
onboard (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Activating the on-screen keyboard in the settings menu has no effect.
Trying to manually execute /usr/bin/onboard via pointing-and-clicking opens up gedit (i.e., it's not recognised as an executable).
No other keyboard input is available for the device in question, so further tests via command line (such as confirming that `python /usr/bin/onboard' starts onboard normally) are not feasible.
Thus, 14.10 final beta is bootable but completely unusable on some tablet devices (Surface Pro 3 here).

(Filing against `onboard' because this might be an `onboard' installation issue.)

Tags: utopic

Related branches

Revision history for this message
Francesco Fumanti (frafu) wrote :

Could you give me the result of the following command in the terminal?

ls -l /usr/bin | grep -i onboard

Revision history for this message
Francesco Fumanti (frafu) wrote :

Maybe another approach, if you do not have any means at all to type anything: Could you please navigate with nautilus to the folder /usr/bin and check whether the following two files have their executable bit set?

The problem you describe seems to indicate that the executable bit on the onboard file is disabled. But I don't have any idea at the moment about how to enable the executable bit without typing anything. Even if you use the gui to remove and reinstall Onboard, the system requires you normally to enter an administrator password. (I don't know, whether it is possible to install Ubuntu in a way where the administrator does not have a password.)

Revision history for this message
Christoph Reichenbach (creichen) wrote :

Going by GUI here, due to the lack of keyboard. I'm not sure which two files you meant, but /usr/bin/onboard and /usr/bin/python* all are a+x.
I can start some programs from nautilus (such as xterm) just fine, but python programs always fire up gedit.

I'm fine with that behaviour of nautilus, to be clear, but at the very least the `On Screen Keyboard' setting under `Universal Access' ought to activate the on-screen keyboard. Unfortunately I don't have a keyboarded desktop utopic-unicorn in reach to check this against.

Revision history for this message
Francesco Fumanti (frafu) wrote :

It seems that your nautilus is set to run it in gedit.

You might try the following: Go to the Edit menu of a nautilus window and choose Preferences. In the Behaviour tab, set the option "Executable text files" to "Ask each time."

This should solve your problem, as it will ask you whether you would like to run it, when you try to open /usr/bin/onboard.

Revision history for this message
marmuta (marmuta) wrote :

Onboard has a desktop file for manual launch too. Try to locate its icon in dash, then drag it to the launcher bar for easier access. There might be an easier way, but I switched to the application lens, set the filter to local applications, expanded the list and scrolled down.

Revision history for this message
marmuta (marmuta) wrote :

Can confirm, Onboard doesn't start right away when it is enabled in system settings. However, once that setting is checked, Onboard does seem to start up at login. Does that happen for you too, Christoph?

The problem seems to be that Onboard exits voluntarily because it thinks it is running in GNOME Shell. The autostart desktop file has "--not-show-in=GNOME" and that checks for the existence of the D-Bus name "org.gnome.Shell". That worked up to Trusty, but now in Utopic that name exists in Unity too...

Changed in onboard (Ubuntu):
status: New → Confirmed
Changed in onboard:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Christoph Reichenbach (creichen) wrote :

Thanks for the quick and competent help!
Starting via dash worked fine, and I can now use the live image to repair my previous installation (which came from a slightly older Ubuntu).

The `it works after installing' approach may be correct but doesn't help when using the live image (hence I can't test), so I'd like to request that the `obvious' way to start onboard, i.e., via `Universal Access', be fixed for _at least for live_, so that future users don't run into the same issue.
(Feel free to change the bug title to `on-screen keyboard difficult to activate without expert knowledge', if that helps).

summary: - on-screen keyboard not available in 14.10 Final Beta
+ on-screen keyboard requires expert knowledge to launch in 14.10 Final
+ Beta
Revision history for this message
marmuta (marmuta) wrote :

Thanks, Christoph, I wasn't aware that your were testing.
There's a fix in trunk now, but that one touches source code. For Utopic we could possibly modify onboard-autostart.desktop only. Might have a better chance to get approved at this late point in time. I'll discuss this with Francesco.

Changed in onboard:
status: Confirmed → Fix Committed
Revision history for this message
kyt (952456204-6) wrote :

Bug #1389465 It also exists in Ubuntukylin

Revision history for this message
Francesco Fumanti (frafu) wrote :

I have uploaded a snapshot of trunk containing a fix for this bug to our Snapshots PPA for utopic:
https://launchpad.net/~onboard/+archive/ubuntu/snapshots

Changed in onboard (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package onboard - 1.0.0-0ubuntu5

---------------
onboard (1.0.0-0ubuntu5) vivid; urgency=medium

  * Request for sponsorship (LP: #1378739)
  * debian/patches:
    - Add fix_autostart.patch (LP: #1376764)
 -- Francesco Fumanti <email address hidden> Wed, 08 Oct 2014 21:52:03 +0200

Changed in onboard (Ubuntu):
status: Confirmed → Fix Released
Changed in onboard:
status: Fix Committed → Fix Released
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Hi,
I found this problem also occurs on Trusty. No effects when enabling "On Screen Keyboard" in Universal Access panel which is in unity-control-center.

Although comment #6 mentioned that it works in Trusty, but I found that the "org.gnome.Shell" actually exits in dbus..

I tried applying the patch (revno:1818 in trunk), and it can fix the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.