xdotool
linux
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xdotool
-
autoclicker with multiple locations
Have a look at this: https://github.com/jordansissel/xdotool
-
AMD Ryzen 7 7800X3D: Windows 11 vs. Ubuntu 23.04 Linux Performance
Maybe not AHK exactly, but it essentially does the same: xdotool
-
[Lua] How to set the --geometry parameter in a Lua script?
Use an external tool, like xdotool.
-
gtk-rs: can't get window ID with command inside connect_show or connect_realize
In a gtk-rs application, I'm running a xdotool command to get the id of the application's window. I'm running the command in a connect_show closure (after the window has been shown):
-
My (challenging) experience building a window switcher for Ubuntu
Eventually, I needed to find the ID of windows, move them, and bring them to the front—I realized I couldn't do that with gtk-rs. I needed to interact with the window manager (X11 server). So from inside my application, I ran commands that called xdotool.
-
I cannot take it any longer, please, help!
You might be able to use audacity in the background by setting up an application launcher in the gnome panel that executes xdotool, which can send keyboard signals (like R for record) to running applications: https://github.com/jordansissel/xdotool
-
Focusing/switching X11 windows with a Rust crate
Right now, I'm focusing (switching) X11 windows with a shell command (xdotool) from inside my Rust program:
-
X Window System Basics
Maybe xdotool [0] is what you're looking for.
[0] https://github.com/jordansissel/xdotool/
- Some help writing C extensions
-
Ask HN: What's Your Proudest Hack?
I often create screen recordings for my classes, but it's very boring and time consuming. I'm a perfectionist, and if I mistype a command I prefer to re-record everything. Moreover, every time one of the tools used in the videos gets a significant update, I feel compelled to redo the video.
I have started using xdotool [1] to create bash scripts that send mouse clicks and keystrokes to apps. Interleaving calls to xdotool with the "sleep" command [2] produce a convincing effect. If I need to redo a video to fix typos or after a program update, I just fix the bash script and restart the recording.
Alas, the only thing that is missing in my videos is the sound of keyboard clicks… But nothing is perfect!
[1] https://github.com/jordansissel/xdotool
[2] https://en.wikipedia.org/wiki/Sleep_(command)
linux
-
Linux Mint Working on Wayland Support
It's actually incredibly useful to have apps like window managers or apps that rely on manipulating user input like xcape read another apps data. In fact such are still possible just 10x as complicated as they now involve writing awful little programs in some combination of c and yaml instead of a dead simple single line shell invocation of a program.
See https://gitlab.com/interception/linux/tools
The fact that this can work at all seems to suggest that its just as possible for malicious code running as user to compromise your security and the only thing actually broken is useful apps.
-
Issue with interception-tools
After updating my system after a while, i found Interception-tools to not working . It fails on a dependency on libyaml-cpp.so.0.7
-
<ESC> substitution
You can try to use https://gitlab.com/interception/linux/tools/-/tree/master
- Mapping Caps-Lock to Esc is life changing
-
What's a very simple config change that you can't live without?
Having both is a game-changer. Depends on your OS. On Mac, I use Karabiner. Linux I used use caps2esc and on Windows I use a custom AutoHotKey.
-
Emacs-written novel on the German bestseller list
Before that I had used interception tools for key rebindings, which relied on the udevmon service to intercept keypress events, and thus even works in a TTY terminal, not requiring a window manager. I use vim keybindings in Emacs and for that I found it useful to rebind ESC to CTRL if tapped, but it still acts as CTRL when held (now I have implemented that in my keyboard firmware).
-
newbie doubt here
In addition to using ctrl+a as prefix... some of us remap capslock to ctrl so then the two buttons are right next to each other and easy to press with one motion. (This then makes it possible to have that key be ctrl when pressed in combo with another key or esc when pressed on its own.)
-
Mapping Alt+hjkl to arrow keys (sway, wayland)
i use both X and Wayland and i also have a lot of key switching going on. So to have a universal config that works under both protocols i have to go lower than the display server protocols. I looked around for such a thing and finally found the interception tool
-
How to swap Caps Lock and Ctrl?
Do you know about https://gitlab.com/interception/linux/plugins/caps2esc? It makes it ctrl when held in combo with another key or esc when pressed on its own w/o other key (I loved it before ergodox) and there are some related plugins there for other keyboard customizations as well.
-
TUTORIAL: Making Caps do both Control and Esc like Caps2Esc, but with only hyprland+ydotool
Caps2Esc is a very useful input remapping utility: it turns the Caps key into either Esc or Control depending on how it's used: - if the Caps key is released before another key is pressed, it emits Esc - If the Caps key is used in chording mode, like by pressing Caps and C, it emits Control, to send Control-C
What are some alternatives?
ydotool - Generic command-line automation tool (no X!)
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
keyd - A key remapping daemon for linux.
wtype - xdotool type for wayland
kinto - Mac-style shortcut keys for Linux & Windows.
archweb - Arch Linux website code
xcape - Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
i3-vim-focus - Vim plugin for seamless navigation between i3 and vim
Mailspring-Libre - (archived) Mailspring Libre build – aiming at removing Mailspring's dependecy on a central server
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
QuickLook - Bring macOS “Quick Look” feature to Windows