Xfce Forum

Sub domains
 

You are not logged in.

#26 2021-08-22 18:19:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] shortcuts doesn't work

Anti virus wrote:

solved => when I got into keyboard layout,I put English first,then my language
Was this a bug?

Possibly this bug?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#27 2021-08-25 02:16:33

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: [SOLVED] shortcuts doesn't work

for security with X there is the ~/.Xauthority file and the xauth command.  i assume xdotool has to establish authenticity and authority over the X protocol connection (limited by xhost) like any other X app must.  but is that good enough?

i did read this in the xdotool man page:

Sending keystrokes to a specific window uses a different API than simply typing to the active window. If you specify 'xdotool type --window 12345 hello' xdotool will generate key events and send them directly to window 12345. However, X11 servers will set a special flag on all events generated in this way (see XEvent.xany.send_event in X11's manual). Many programs observe this flag and reject these events.

i think that answers what i saw happen.

Offline

#28 2021-08-26 16:20:19

Anti virus
Member
Registered: 2021-08-15
Posts: 17

Re: [SOLVED] shortcuts doesn't work

Thank you all

Offline

#29 2021-11-18 05:43:51

nPHYN1T3
Member
Registered: 2020-01-07
Posts: 31

Re: [SOLVED] shortcuts doesn't work

I was having this issue too. At first it seemed like only the inputs would be ignored when I was on XScreen 0.1 or 0.2 but then it started ignoring them on 0.0. I tried the xdotool key Ctrl+Alt+t on XS 0.1 and nothing happened then I did a xfsettingsd --replace and everything started working again for a short while. Sadly I've added a cronjob to constantly run xfsettingsd --replace &.

Last edited by nPHYN1T3 (2021-11-18 11:27:01)

Offline

#30 2022-12-05 10:36:39

jgv77145
Member
Registered: 2022-12-05
Posts: 2

Re: [SOLVED] shortcuts doesn't work

Have the same problem, but solutions above didn't help to me.
But when I try to reproduce with additional USB keyboard plugged to my laptop the issue is not reproduced.
It's very strangle, because pressing of single keys on original laptop keyboard works as expected, but some shortcuts are swallowed.

Last edited by jgv77145 (2022-12-05 10:36:59)

Offline

#31 2022-12-05 10:58:41

jgv77145
Member
Registered: 2022-12-05
Posts: 2

Re: [SOLVED] shortcuts doesn't work

I found the cause. The problem was caused by "ibus" package. It is installed as dependency to other package (zoom application). I have 2 languages in my environment. By default ibus loaded with non EN language, it to switch it to EN language the problem is not reproduced on laptop keyboard also.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 536.02 KiB (Peak: 536.87 KiB) ]