Re: What program is capturing key press on root window of X?

2019-07-18 Thread Mark Fletcher
On Fri, Jul 19, 2019 at 0:26 Brad Sawatzky  wrote:

> On Thu, 18 Jul 2019, Harry Putnam wrote:
>
> [ . . . ]
> > Somewhere in the last few months my Debian OS has acquired an input
> > box on upper right of base window (in X) that appears to grab any key
> > presses aimed at the base window and print them in that small input
> > window.


What you are describing sounds to me like a non-English-language character
composer. Eg Japanese uses such to compose kanji characters from components
typed one by one on the keyboard. Chinese uses one too, and so do many
other languages, especially languages that need double-byte characters.

Have you, or could something have, installed any foreign languages
recently?

Mark


Re: What program is capturing key press on root window of X?

2019-07-18 Thread Brad Sawatzky
On Thu, 18 Jul 2019, Harry Putnam wrote:

[ . . . ]
> Somewhere in the last few months my Debian OS has acquired an input
> box on upper right of base window (in X) that appears to grab any key
> presses aimed at the base window and print them in that small input
> window.
[ . . . ]
> I wasn't able to tell which program it is by examining the autostart
> programs ... can anyone tell me what that is that is running so I can
> turn it off?

Look in the Settings for your windowing environment for keyboard
shortcuts.  Sometimes they are under a 'Keyboard' entry, sometimes
under 'Window Manager', etc.   I generally have to unbind some default
settings in those config screens so I can rebind those key combos under
xbindkeys.

HTH,
-- Brad



Re: What program is capturing key press on root window of X?

2019-07-18 Thread Nicolas George
Harry Putnam (12019-07-18):
> Somewhere in the last few months my Debian OS has acquired an input
> box on upper right of base window (in X) that appears to grab any key
> presses aimed at the base window and print them in that small input
> window.
> 
> Since I have run the `xbindkeys' program (An keybinding program that
> takes its intput from key presses in base window and calls programs
> thru a control script ~/.xbindkeys.scm), this new key grabbing program
> that seems to run at startup is ruining that whole process.
> 
> I wasn't able to tell which program it is by examining the autostart
> programs ... can anyone tell me what that is that is running so I can
> turn it off?

If you can see a window, then xprop may be able to tell you more about
its owner, if it is polite.

You can also get the list of all grabs with:

xdotool key XF86LogGrabInfo

(or any equivalent way of pressing an unusual key) and reading
/var/log/Xorg.0.log.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


What program is capturing key press on root window of X?

2019-07-18 Thread Harry Putnam
cat /etc/os-release

  PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
  NAME="Debian GNU/Linux"
  VERSION_ID="9"
  VERSION="9 (stretch)"
  ID=debian
  (running LXDE desktop)
  

Somewhere in the last few months my Debian OS has acquired an input
box on upper right of base window (in X) that appears to grab any key
presses aimed at the base window and print them in that small input
window.

Since I have run the `xbindkeys' program (An keybinding program that
takes its intput from key presses in base window and calls programs
thru a control script ~/.xbindkeys.scm), this new key grabbing program
that seems to run at startup is ruining that whole process.

I wasn't able to tell which program it is by examining the autostart
programs ... can anyone tell me what that is that is running so I can
turn it off?