Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385603 - =app-accessibility/caribou-0.4.0 autostart in every DE/WM
Summary: =app-accessibility/caribou-0.4.0 autostart in every DE/WM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 12:16 UTC by Enrico Tagliavini
Modified: 2011-10-04 19:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
workaround until a proper upstream fix is in place (caribou-fix-autostart.patch,391 bytes, patch)
2011-10-04 12:19 UTC, Enrico Tagliavini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Tagliavini 2011-10-04 12:16:35 UTC
The file /etc/xdg/autostart/caribou-autostart.desktop misses the OnlyShowIn entry. Because of this it will autostart on every freedesktop compilant DE/WM as mentioned here http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html#id2452149 . But other DEs might have their own accessibility suite (like KDE). I think the default behaviour should be to autostart just in gnome (or may be some other gtk related DEs which misses an accessibility suit)

Reproducible: Always

Steps to Reproduce:
1. emerge app-accessibility/caribou
2. login in with a DE != gnome

Actual Results:  
caribou is started (a dialog should appear asking if you want to enable gnome accessibility)

Expected Results:  
caribou should not autostart

I'll attach a trivial patch to autostart only in gnome by default (gnome actually checks if accessibility is enabled and prevents caribou to be started if the user preference is to not use accessibility, dunno why this doesn't happen when caribou is autostarted in kde)
Comment 1 Enrico Tagliavini 2011-10-04 12:19:36 UTC
Created attachment 288759 [details, diff]
workaround until a proper upstream fix is in place
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-04 17:37:29 UTC
Fixed in caribou-0.4.0-r1 in the overlay, thanks for reporting!

> commit dfb55bb379b1dba661797ed0912bb76722c0b196
> Author: Alexandre Rostovtsev <tetromino@gmail.com>
> Date:   Tue Oct 4 13:33:17 2011 -0400
> 
> app-accessibility/caribou: add OnlyShowIn to autostart file (#385603)
> 
> Thanks to Enrico Tagliavini <enrico.tagliavini@gmail.com> for reporting
> in bug #385603. Patch submitted upstream at
> https://bugzilla.gnome.org/show_bug.cgi?id=660901
Comment 3 Enrico Tagliavini 2011-10-04 19:25:54 UTC
Thank you very much for the quick fix :D