After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740788 - Tell libexecdir to pkg-config for GDM
Tell libexecdir to pkg-config for GDM
Status: RESOLVED FIXED
Product: caribou
Classification: Applications
Component: default
0.4.x
Other Linux
: Normal major
: ---
Assigned To: caribou-maint
caribou-maint
Depends on:
Blocks:
 
 
Reported: 2014-11-26 22:11 UTC by Paul Menzel
Modified: 2015-03-03 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
data: drop caribou autostart file (1.74 KB, patch)
2015-03-03 13:24 UTC, Ray Strode [halfline]
none Details | Review

Description Paul Menzel 2014-11-26 22:11:40 UTC
Using Debian Sid/unstable with Caribou 0.14.5-1, I see the following in `/var/log/syslog`.

    $ zless /var/log/syslog | grep caribou
    Nov 26 07:07:04 myasrocke350m1 org.gnome.Caribou.Daemon[2475]: ** (caribou:3440): WARNING **: daemon.vala:186: can't hide keyboard: Verbindung ist geschlossen
    Nov 26 22:05:13 myasrocke350m1 gnome-session[2195]: gnome-session[2195]: WARNING: Could not parse desktop file caribou-autostart.desktop or it references a not found TryExec binary
    Nov 26 22:05:13 myasrocke350m1 gnome-session[2195]: WARNING: Could not parse desktop file caribou-autostart.desktop or it references a not found TryExec binary
    Nov 26 22:07:53 myasrocke350m1 org.gnome.Caribou.Daemon[2310]: ** (caribou:2871): WARNING **: daemon.vala:186: can't hide keyboard: Verbindung ist geschlossen

The same bug has been reported to the Arch Linux bug tracker [1]. I quote Matthias Dienstbier’s answer from there:

Mistake found here: https://git.gnome.org/browse/gdm/tree/data/autostart/caribou-autostart.desktop.in

[Desktop Entry]
Type=Application
Name=Caribou
Exec=@LIBEXECDIR@/caribou
AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
X-GNOME-AutoRestart=true

LIBEXECDIR is not shared between gdm and cribou. Gdm should have a configure option to set the correct path.
Or even better: caribou should tell its libexecdir to pkg-config so gdm can query it.

BTW: Debian Jessie has exactly the same bug and I'd vote for using /usr/libexec/ for all packages to avoid such breakages.

[1] https://bugs.archlinux.org/task/42804
Comment 1 Daiki Ueno 2014-11-26 23:53:36 UTC
It's okay to add libexecdir to the pkg-config file, but for this particular issue gdm could simply drop caribou-autostart.desktop?

These days caribou is launched by gnome-shell through D-Bus activation.  So, on Debian sid, even after:

  sudo rm /usr/share/gdm/greeter/autostart/caribou-autostart.desktop

I can still use the OSK on the greeter screen.

(I'm not completely sure that caribou can also drop the autostart file, since other desktop sessions e.g. gnome-flashback might need it.)
Comment 2 Paul Menzel 2014-11-28 06:51:50 UTC
Thank you for the quick reply.

Are there older GDM or GNOME Shell versions still needing `caribou-autostart.desktop` file?
Comment 3 Daiki Ueno 2014-11-28 07:51:13 UTC
The current release and the development series shouldn't need it.  More precisely:

 * gnome-shell >= 3.13.91
 * caribou >= 0.4.14

I think it's no problem go ahead and remove the file from gdm.
Comment 4 Ray Strode [halfline] 2015-03-03 13:24:41 UTC
Created attachment 298427 [details] [review]
data: drop caribou autostart file

It's no longer needed and it makes assumptions about
install location.
Comment 5 Ray Strode [halfline] 2015-03-03 13:24:56 UTC
Attachment 298427 [details] pushed as cb26554 - data: drop caribou autostart file