Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xdotool works in Firefox but not Brave #458

Open
Bout2GitIt opened this issue Apr 30, 2024 · 1 comment
Open

Xdotool works in Firefox but not Brave #458

Bout2GitIt opened this issue Apr 30, 2024 · 1 comment

Comments

@Bout2GitIt
Copy link

I've just started using Brave on Linux (distro info at bottom) and I can't get xdotool to work.

I usually use Firefox, and I've set it up so that I can open a new tab with the Mail key on my keyboard. Pressing my Mail key executes this command, opening a new tab.

xdotool getactivewindow key ctrl+t

But now I've switched to Brave browser, and that command no longer works. When I've got Brave open and I press my Mail key, nothing happens.

I've tried alternate commands:

xdotool key ctrl+t

and

xdotool getwindowfocus key ctrl+t

but no result. Does anyone know how to fix? What is Brave doing with its browser tabs/windows?

Thank you!

  • Desktop: Linux Mint Xfce 4.18.1
  • Distro: Linux Mint 21.3 Virginia
  • Ubuntu 22.04
@FabArd
Copy link

FabArd commented May 3, 2024

I'm also trying to send the shortcut ctrl+f (search) to Brave with ctrl+s (Emacs keyboard shortcut for search) and the following command:

xdotool key "ctrl+f"

does not work. It's exactly the same situation with Mousepad.

Reading the following issue :

#210

I found a solution that works for me:

xdotool sleep 0.100 key "ctrl+f"

Desktop: Xfce 4.18
Distro: Artix Linux 6.8.8-artix1-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants