xdotool
espanso
Our great sponsors
xdotool | espanso | |
---|---|---|
38 | 231 | |
3,016 | 9,115 | |
- | 2.8% | |
4.1 | 8.3 | |
9 days ago | 5 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
- 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!
espanso
-
You don't have to type faster to type faster
If you want a standalone cross platform text expander I currently enjoy using Espanso[1]
[1]: https://espanso.org/
-
Espanso: Because Who Actually Likes Typing Out Their Emails?
# espanso match file # For a complete introduction, visit the official docs at: https://espanso.org/docs/ # You can use this file to define the base matches (aka snippets) # that will be available in every application when using espanso. # Matches are substitution rules: when you type the "trigger" string # it gets replaced by the "replace" string. matches: # signatures - trigger: ";n" replace: "Nikola" - trigger: ";b" replace: "Brežnjak" - trigger: ";li" replace: "https://www.linkedin.com/in/nikola-bre%C5%BEnjak-892b9a24/" - trigger: ";sn" replace: "Kind regards,\nNikola Brežnjak\nhttp://www.nikola-breznjak.com/blog" - trigger: ";web" replace: "http://www.nikola-breznjak.com/" - trigger: ";em" replace: "[email protected]" ## git - trigger: ";ga" replace: "git add ." - trigger: ";gb" replace: "git branch" - trigger: ";gc" replace: "git commit -m " - trigger: ";gd" replace: "git diff --color " - trigger: ";gf" replace: "git fetch --all" - trigger: ";gi" replace: "find . -name '.DS_Store' -type f -delete" - trigger: ";gl" replace: "git log" - trigger: ";gp" replace: "git push origin main" - trigger: ";gs" replace: "git status" - trigger: ";gt" replace: "git remote -v" - trigger: ";gu" replace: "git pull origin main" ## blog - trigger: ";bimp" replace: "https://nikola-breznjak.com/blog/books/want-improve-read-books/" - trigger: ";brem" replace: "https://nikola-breznjak.com/blog/miscellaneou/make-remote-developer/" ## emojis - trigger: ";eew" replace: "⚠️" - trigger: ";eet" replace: "🤔" - trigger: ";eeb" replace: "💰" - trigger: ";eem" replace: "💪" - trigger: ";eetm" replace: "™" - trigger: ";eeh" replace: "❤️" - trigger: ";eeu" replace: "👍" - trigger: ";eep" replace: "🙏" - trigger: ";eef" replace: "🤦" - trigger: ";ees" replace: "🙂" - trigger: ";eeg" replace: "😎" - trigger: ";eev" replace: "👋" - trigger: ";eel" replace: "😂" - trigger: ";eec" replace: "👏" - trigger: ";eeo" replace: "✅" - trigger: ";eer" replace: "🚀" - trigger: ";eex" replace: "⏭️" ## replies - trigger: ";ryw" replace: "You’re welcome 👍" - trigger: ";rlmk" replace: "Please let me know 👍" - trigger: ";rbtw" replace: "Btw, how are things on your end?" - trigger: ";rt" replace: "Thank you! 👍" ## misc - trigger: ";fd" replace: "firebase deploy" - trigger: ";wed" replace: "Happy Wednesday (a dy on which, historically, most people wed on - thus: Wed nes day). Not really, but it would be a fun fact actually 🙂" - trigger: ";cl" replace: "console.log(" - trigger: ";se" replace: "select * from " - trigger: ";o" replace: "open ." - trigger: ";im" replace: "![]({{clipb}})" vars: - name: "clipb" type: "clipboard" - trigger: ";ch" replace: "chrome://history" - trigger: ";;c" replace: "code ."
- Polish characters and formatting issues on MacOS
- Is there global autocorrect for linux?
-
Add-on that makes it possible to paste one sentence?
This should work for you. Free, cross-platform and works everywhere not just the browser. https://espanso.org/
- Espanso: Open-source, privacy-first, cross-platform and extensible text expander
-
Bad Emacs Defaults
Huh, didn't know abbrev had that limitation (wonder why?). Gave it a go in espanso (https://espanso.org/), and it does work there.
-
Show HN: I automated 1/2 of my typing
I use a tool called "Espanso" to accomplish something similar at work. It only runs locally, so no weird data scraping issues to worry about. And it's easy to update as things changes becauase everything lives in a simple yml file.
It can do simple text replacement, so I have words, phrases, and sentences I use frequently compressed into a few keyboard clicks. It can also grab what is in your clipboard, so that can be incorporated into responses, which is simple but very handy.
A simple text replacement looks like this in the yaml file:
- Cannot get espanso to work on Debian 12 (stable)
-
[DEV] Open source text expander - Bugs fixed, new updates, now available on IzzyOnDroid - might be worth trying again :D
If you don't know what a text expander is, see: https://espanso.org
What are some alternatives?
ydotool - Generic command-line automation tool (no X!)
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
wtype - xdotool type for wayland
rofimoji - Emoji, unicode and general character picker for rofi and rofi-likes
archweb - Arch Linux website code
svntogit-packages - Automatic import of svn 'packages' repo (read-only mirror)
i3-vim-focus - Vim plugin for seamless navigation between i3 and vim
vim-clutch - A hardware pedal for improved text editing in Vim
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
obsidian-text-expander - Text Expander plugin for Obsidian