Xfce Forum

Sub domains
 

You are not logged in.

#1 Yesterday 06:44:53

chang-zhao
Member
Registered: 2023-11-20
Posts: 48
LinuxFirefox 143.0

xdotool seems to produce Alt-F5 instead of F5

Until yesterday I used scripts involving things like

xdotool key F5

(e.g. to refresh Thunar window).

Now these have stopped working.

I try "xdotool key F1" in terminal, and it gets me Desktop context menu, as if Alt-F1 was pressed.

Likewise, "xdotool key F2" gives Application finder, as if Alt-F2 was pressed.

I guess that might have something to do with having upgraded system components, perhaps

upgraded xkeyboard-config (2.45-1 -> 2.46-1)

My keyboard model is "Generic 104-key PC".

Advice?

Thank you in advance.

Offline

#2 Yesterday 11:03:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,280
LinuxFirefox 143.0

Re: xdotool seems to produce Alt-F5 instead of F5

I'm seeing the same. Downgrading xkeyboard-config and re-logging in makes it work again. A bug report should be filed against xkeyboard-config.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 Yesterday 11:27:37

chang-zhao
Member
Registered: 2023-11-20
Posts: 48
LinuxFirefox 143.0

Re: xdotool seems to produce Alt-F5 instead of F5

ToZ wrote:

I'm seeing the same. Downgrading xkeyboard-config and re-logging in makes it work again. A bug report should be filed against xkeyboard-config.

Thanks!
Bug report:

https://gitlab.freedesktop.org/xkeyboar … issues/554

Offline

#4 Yesterday 12:21:10

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,280
LinuxFirefox 143.0

Re: xdotool seems to produce Alt-F5 instead of F5

Nice. I've given it a thumbs up. Looks like they want you to fill in a template.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 Yesterday 22:48:17

chang-zhao
Member
Registered: 2023-11-20
Posts: 48
LinuxFirefox 143.0

Re: xdotool seems to produce Alt-F5 instead of F5

ToZ wrote:

Nice. I've given it a thumbs up. Looks like they want you to fill in a template.

I believe the case was too simple and straightforward to use the standard template. Anyway, they answered, but the answer leaves me a bit confused:

If the key works when pressed normally, then it is an issue with xdotool or the rest of the X11 ecosystem, not this project.

I guess the bug report should go to xdotool now...

Would you like to do that?

GitHub doesn't let me login, demanding 2FA which would require a mobile phone... hmm

Last edited by chang-zhao (Yesterday 22:54:48)

Offline

#6 Today 01:03:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,280
LinuxFirefox 143.0

Re: xdotool seems to produce Alt-F5 instead of F5

I don't understand how it can't be something in xkeyboard-config. Downgrading the package makes it work again. Something has changed there. Has to be a cascading effect. Let me see if I can have a closer look.

be interesting to see if anyone else notices it.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 549.93 KiB (Peak: 550.77 KiB) ]