Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Robert Schindler, le dim. 27 janv. 2019 00:06:08 +0100, a ecrit:
> But GNOME now uses Wayland by default. So the only solution
> is disabling Wayland and switching back to Xorg, right?

Yes. Wayland is really bringing many accessibility issues anyway.

> Is there any replacement for xkbcomp under Wayland that Orca could
> use instead to manipulate the keyboard?

I don't know.

And that's just one of the items on the list of things to be fixed for
orca on Wayland.

> Or is Xorg going to be a requirement for Orca users for the
> foreseeable future?

It is.

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Samuel Thibault wrote:
> AIUI gnome is pushing to wayland...

Disabled it via /etc/gdm3/daemon.conf. What a relief! Thank you very
much for sorting this out with me.

So to conclude this:

Orca needs xkbcomp, which doesn't work under Wayland at all, as well as
xmodmap etc. But GNOME now uses Wayland by default. So the only solution
is disabling Wayland and switching back to Xorg, right? Is there any
replacement for xkbcomp under Wayland that Orca could use instead to
manipulate the keyboard? Or is Xorg going to be a requirement for Orca
users for the foreseeable future?

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Robert Schindler, le sam. 26 janv. 2019 23:41:26 +0100, a ecrit:
> Samuel Thibault wrote:
> > Yes but setxkbmap is saying otherwise, so I believe gnome is somehow
> > getting in the way.
> > 
> > BTW, this isn't running under Wayland, is it perhaps?  There are a lot
> > of issues with it.
> 
> It seems to...
> 
> -- BEGIN --
> # ps aux|grep -i wayland
> roschi1558  0.0  0.0 162324   528 tty2 Ssl+ Jan20   0:00 
> /usr/lib/gdm3/gdm-wayland-session /usr/bin/gnome-session
> roschi1625  0.0  1.6 561508 66440 tty2 Sl+  Jan20   6:17 
> /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 
> -displayfd 6
> # env | grep -i wayland
> WAYLAND_DISPLAY=wayland-0
> XDG_SESSION_TYPE=wayland
> -- END --
> 
> But it must have switched to wayland automatically during upgrade from
> stable to testing. Was that intended?

AIUI gnome is pushing to wayland...

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Samuel Thibault wrote:
> Yes but setxkbmap is saying otherwise, so I believe gnome is somehow
> getting in the way.
> 
> BTW, this isn't running under Wayland, is it perhaps?  There are a lot
> of issues with it.

It seems to...

-- BEGIN --
# ps aux|grep -i wayland
roschi1558  0.0  0.0 162324   528 tty2 Ssl+ Jan20   0:00 
/usr/lib/gdm3/gdm-wayland-session /usr/bin/gnome-session
roschi1625  0.0  1.6 561508 66440 tty2 Sl+  Jan20   6:17 
/usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 
-displayfd 6
# env | grep -i wayland
WAYLAND_DISPLAY=wayland-0
XDG_SESSION_TYPE=wayland
-- END --

But it must have switched to wayland automatically during upgrade from
stable to testing. Was that intended?

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Robert Schindler, le sam. 26 janv. 2019 23:30:48 +0100, a ecrit:
> Samuel Thibault wrote:
> > And is your keyboard layout really US as reported by setxkbmap?
> 
> No, it's German as shown in /etc/default/keyboard,

Yes but setxkbmap is saying otherwise, so I believe gnome is somehow
getting in the way.

BTW, this isn't running under Wayland, is it perhaps?  There are a lot
of issues with it.

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Samuel Thibault wrote:
> And is your keyboard layout really US as reported by setxkbmap?

No, it's German as shown in /etc/default/keyboard, but I didn't set that
manually anywhere after initial Debian installation.

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Robert Schindler, le sam. 26 janv. 2019 23:17:09 +0100, a ecrit:
> Samuel Thibault wrote:
> > Uh, these do not match. Which desktop are you using? Is that perhaps
> > tinkering with the keyboard configuration?
> 
> Hmm, I'm using GNOME 3 (gnome-shell) with gdm, as installed by
> task-gnome-desktop.

And is your keyboard layout really US as reported by setxkbmap?

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Samuel Thibault wrote:
> Uh, these do not match. Which desktop are you using? Is that perhaps
> tinkering with the keyboard configuration?

Hmm, I'm using GNOME 3 (gnome-shell) with gdm, as installed by
task-gnome-desktop.

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Hello,

Samuel Thibault wrote:
> Ah, that is most probably very related indeed. Orca can't tinker with
> the keyboard mapping if xkbcomp can't work.  You could send the output
> of
> 
> setxkbmap -print

-- BEGIN --
xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwerty)" };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc+us+inet(evdev)" };
xkb_geometry  { include "pc(pc105)" };
};
-- END --

> and the content of /etc/default/keyboard?

-- BEGIN --
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
-- END --

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Robert Schindler, le sam. 26 janv. 2019 22:54:08 +0100, a ecrit:
> Samuel Thibault wrote:
> > Ah, that is most probably very related indeed. Orca can't tinker with
> > the keyboard mapping if xkbcomp can't work.  You could send the output
> > of
> > 
> > setxkbmap -print
> 
> -- BEGIN --
> xkb_keymap {
>   xkb_keycodes  { include "evdev+aliases(qwerty)" };
>   xkb_types { include "complete"  };
>   xkb_compat{ include "complete"  };
>   xkb_symbols   { include "pc+us+inet(evdev)" };
>   xkb_geometry  { include "pc(pc105)" };
> };
> -- END --
> 
> > and the content of /etc/default/keyboard?
> 
> -- BEGIN --
> # KEYBOARD CONFIGURATION FILE
> 
> # Consult the keyboard(5) manual page.
> 
> XKBMODEL="pc105"
> XKBLAYOUT="de"
> XKBVARIANT=""
> XKBOPTIONS=""
> 
> BACKSPACE="guess"

Uh, these do not match. Which desktop are you using? Is that perhaps
tinkering with the keyboard configuration?

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Samuel Thibault
Hello,

Robert Schindler, le sam. 26 janv. 2019 21:43:42 +0100, a ecrit:
> I just tried compiling the latest upstream version of Orca from git master
> (38f170751, version 3.31.90pre). The issue still exists there.
> 
> What I noticed is this warning when Orca starts:
> 
> Warning:  Could not load keyboard geometry for :0
>   BadName (named color or font does not exist)
>   Resulting keymap file will not describe geometry
> 
> The exact same warning is printed when running:
> 
> xkbcomp $DISPLAY -
> 
> Don't know whether that's related or not.

Ah, that is most probably very related indeed. Orca can't tinker with
the keyboard mapping if xkbcomp can't work.  You could send the output
of

setxkbmap -print

and the content of /etc/default/keyboard?

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-26 Thread Robert Schindler
Hello,

I just tried compiling the latest upstream version of Orca from git master
(38f170751, version 3.31.90pre). The issue still exists there.

What I noticed is this warning when Orca starts:

Warning:  Could not load keyboard geometry for :0
  BadName (named color or font does not exist)
  Resulting keymap file will not describe geometry

The exact same warning is printed when running:

xkbcomp $DISPLAY -

Don't know whether that's related or not.

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-21 Thread Robert Schindler
Hello,

Samuel Thibault wrote:
> Thanks! Just to make sure, is this while Orca is running?

Yes, it is.

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-21 Thread Samuel Thibault
Hello,

Robert Schindler, le jeu. 17 janv. 2019 07:48:01 +0100, a ecrit:
> Is attached.

Thanks! Just to make sure, is this while Orca is running?

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-17 Thread Robert Schindler
I copied complete OS over to another laptop model, same behaviour there.

Best regards
Robert


signature.asc
Description: PGP signature


Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-16 Thread Robert Schindler
Hi Samuel,

First, I have to say that I switched keycodes 66 and 118 by editing
/usr/share/X11/xkb/keycodes/evdev and switched the Orca modifier to
Insert, which gives me an environment I can work with again, although
it's a nasty workaround.

So just beware that 66 (CAPS) and 118 (INS) have been switched, nothing
else.

Samuel Thibault wrote:
> Could you post the output of
> 
> xkbcomp $DISPLAY -

Is attached.

Best regards
Robert
xkb_keymap {
xkb_keycodes "(unnamed)" {
minimum = 8;
maximum = 255;
  = 9;
 = 10;
 = 11;
 = 12;
 = 13;
 = 14;
 = 15;
 = 16;
 = 17;
 = 18;
 = 19;
 = 20;
 = 21;
 = 22;
  = 23;
 = 24;
 = 25;
 = 26;
 = 27;
 = 28;
 = 29;
 = 30;
 = 31;
 = 32;
 = 33;
 = 34;
 = 35;
 = 36;
 = 37;
 = 38;
 = 39;
 = 40;
 = 41;
 = 42;
 = 43;
 = 44;
 = 45;
 = 46;
 = 47;
 = 48;
 = 49;
 = 50;
 = 51;
 = 52;
 = 53;
 = 54;
 = 55;
 = 56;
 = 57;
 = 58;
 = 59;
 = 60;
 = 61;
 = 62;
 = 63;
 = 64;
 = 65;
  = 66;
 = 67;
 = 68;
 = 69;
 = 70;
 = 71;
 = 72;
 = 73;
 = 74;
 = 75;
 = 76;
 = 77;
 = 78;
  = 79;
  = 80;
  = 81;
 = 82;
  = 83;
  = 84;
  = 85;
 = 86;
  = 87;
  = 88;
  = 89;
  = 90;
 = 91;
 = 92;
 = 94;
 = 95;
 = 96;
 = 97;
 = 98;
 = 99;
 = 100;
 = 101;
 = 102;
 = 103;
 = 104;
 = 105;
 = 106;
 = 107;
 = 108;
 = 109;
 = 110;
   = 111;
 = 112;
 = 113;
 = 114;
  = 115;
 = 116;
 = 117;
 = 118;
 = 119;
 = 120;
 = 121;
 = 122;
 = 123;
 = 124;
 = 125;
 = 126;
 = 127;
 = 128;
 = 129;
 = 130;
 = 131;
 = 132;
 = 133;
 = 134;
 = 135;
 = 136;
 = 137;
 = 138;
 = 139;
 = 140;
 = 141;
 = 142;
 = 143;
 = 144;
  = 145;
 = 146;
 = 147;
 = 148;
 = 149;
 = 150;
 = 151;
 = 152;
 = 153;
 = 154;
 = 155;
 = 156;
 = 157;
 = 158;
 = 159;
 = 160;
 = 161;
 = 162;
 = 163;
 = 164;
 = 165;
 = 166;
 = 167;
 = 168;
 = 169;
 = 170;
 = 171;
 = 172;
 = 173;
 = 174;
 = 175;
 = 176;
 = 177;
 = 178;
 = 179;
 = 180;
 = 181;
 = 182;
 = 183;
 = 184;
 = 185;
 = 186;
 = 187;
 = 188;
 = 189;
 = 190;
 = 191;
 = 192;
 = 193;
 = 194;
 = 195;
 = 196;
 = 197;
 = 198;
 = 199;
 = 200;
 = 201;
 = 202;
 = 203;
  = 204;
 = 205;
 = 206;
 = 207;
 = 208;
 = 209;
 = 210;
 = 211;
 = 212;
 = 213;
 = 214;
 = 215;
 = 216;
 = 217;
 = 218;
 = 219;
 = 220;
 = 221;
 = 222;
 = 223;
 = 224;
 = 225;
 = 226;
 = 227;
 = 228;
 = 229;
 = 230;
 = 231;
 = 232;
 = 233;
 = 234;
 = 235;
 = 236;
 = 237;
 = 238;
 = 239;
 = 240;
 = 241;
 = 242;
 = 243;
 = 244;
 = 245;
 = 246;
 = 247;
 = 248;
 = 249;
 = 250;
 = 251;
 = 252;
 = 253;
indicator 1 = "Caps Lock";
indicator 2 = "Num Lock";
indicator 3 = "Scroll Lock";
indicator 4 = "Compose";
indicator 5 = "Kana";
indicator 6 = "Sleep";
indicator 7 = "Suspend";
indicator 8 = "Mute";
indicator 9 = "Misc";
indicator 10 = "Mail";
indicator 11 = "Charging";
indicator 12 = "Shift Lock";
indicator 13 = "Group 2";
indicator 14 = "Mouse Keys";
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
alias  = ;
};

xkb_types "(unnamed)" {

virtual_modifiers 
NumLock,Alt,LevelThree,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr,Meta,Super,Hyper,Kana_Lock;

type "ONE_LEVEL" {
modifiers= none;
level_name[Level1]= "Any";
};
type "TWO_LEVEL" {
modifiers= Shift;
map[Shift]= Level2;
level_name[Level1]= "Base";
level_name[Level2]= "Shift";
};
type "ALPHABETIC" {
modifiers= Shift+Lock;
map[Shift]= Level2;
map[Lock]= Level2;
level_name[Level1]= "Base";
level_name[Level2]= "Caps";
};
type "KEYPAD" {
modifiers= Shift+NumLock;
map[Shift]= Level2;
map[NumLock]= Level2;
level_name[

Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-16 Thread Samuel Thibault
Hello,

Robert Schindler, le mar. 15 janv. 2019 18:06:34 +0100, a ecrit:
> I'm using the laptop layout with CapsLock key as Orca modifier.
> Since upgrading from stretch to buster (verified with Orca 3.30 and 3.31),
> CAPSLock is toggled when pressing, even when executinG AN Orca command,
> such as CapsLock + S. Previously, pressing the key alone had no effect.

Could you post the output of

xkbcomp $DISPLAY -

?

Samuel



Bug#919411: orca: CapsLock isn't disabled though being used as Orca modifier

2019-01-15 Thread Robert Schindler
Package: orca
Version: 3.31.4-1
Severity: important
Tags: a11y

Dear Maintainer,

I'm using the laptop layout with CapsLock key as Orca modifier.
Since upgrading from stretch to buster (verified with Orca 3.30 and 3.31),
CAPSLock is toggled when pressing, even when executinG AN Orca command,
such as CapsLock + S. Previously, pressing the key alone had no effect.

I already tried disabling the CapsLock key via gnome-tweaks,
which leads to it ceasing to work completely, even as Orca key.

The insert key seems not to be affected. When chosen as Orca modifier,
it works as expected and only toggles when pressed twice (or sometimes
even three times - don't know why).

Best regards
Robert


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages orca depends on:
ii  gir1.2-glib-2.01.58.3-2
ii  gir1.2-gtk-3.0 3.24.3-1
ii  gir1.2-pango-1.0   1.42.4-6
ii  gir1.2-wnck-3.03.30.0-2
ii  gsettings-desktop-schemas  3.28.1-1
ii  python33.7.1-3
ii  python3-brlapi 5.6-8+b1
ii  python3-cairo  1.16.2-1+b1
ii  python3-gi 3.30.4-1
ii  python3-louis  3.8.0-2
ii  python3-pyatspi2.30.0+dfsg-2
ii  python3-speechd0.8.8-9
ii  speech-dispatcher  0.8.8-9

Versions of packages orca recommends:
ii  python3-gst-1.0  1.14.4-1+b1
ii  xbrlapi  5.6-8+b1

orca suggests no packages.

-- no debconf information