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

How do you paste using xdotool? #369

Open
kaihendry opened this issue Nov 17, 2021 · 1 comment
Open

How do you paste using xdotool? #369

kaihendry opened this issue Nov 17, 2021 · 1 comment

Comments

@kaihendry
Copy link

I'm trying to bind Mod+v to pasting, to replicate C+v functionality, but in a MacOS style upon my Archlinux machine.

Googling around suggesting that I need something like xdotool key --clearmodifiers "ctrl+v" but that doesn't work for me with 3.20211022.1 of xdotool.

What am I missing please?

@FascinatedBox
Copy link

I think you might have some luck if you specify a window for key. I don't believe you need to specify a window for key, but I've found it often has silly idea of what window to send a key to. Does xdotool getwindowfocus key --clearmodifiers ctrl+v work any better?

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