ydotool
hammerspoon
ydotool | hammerspoon | |
---|---|---|
63 | 114 | |
1,282 | 11,498 | |
- | 0.8% | |
5.3 | 7.3 | |
about 20 hours ago | 25 days ago | |
C | Objective-C | |
GNU Affero General Public License v3.0 | MIT License |
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.
ydotool
- Show HN: Bonk, a command-line tool for X11 window management
-
Improving cursor rendering on Wayland
Wayland provides little by design, so this is quite typical. For example:
Screensharing is handled by pipewire [0], changing keyboard layouts aren't defined [1] by wayland, and generally anything Wayland devs think would 'corrupt' their protocol.
They leave most things to the compositor to implement, which leads to significant fragmentation as every compositor implements it differently.
Long gone are the days of xset and xdotool working across nearly every distro due to a common base, now the best you'll get is running a daemon as root to directly access `/dev/uinput` [2] or implementing each compositors accessibility settings (if they have them) as a workaround.
[0] https://superuser.com/questions/1221333/screensharing-under-...
[1] https://unix.stackexchange.com/questions/292868/how-to-custo...
[2] https://github.com/ReimuNotMoe/ydotool
-
how hard is it to program pinch zoom for my touchpad in linux?
I personally use libinput-gestures to call commands using touchpad gestures. You can also combine it with ydotool to bind macros and such to your gestures, e.g. 4 fingers swipe down closes the current window, 3 fingers swipe left or right changes workspace, etc
-
ydotoold background process?
Have you tried using the systemd unit file supplied with ydotool? It's probably installed somewhere on your system. Else you can get it here and just change the install location of ydotoold.
-
KDE-Connect keyboard input works on Wayland now!!
For simulated keyboard there are tools such as dotool or ydotool and KeePass extensions such as KPUInput that work by giving the user access to /dev/uinput. That works, but it's a bit inelegant; I guess in the future a Wayland protocol for simulated keyboard input will emerge, like wlroots already has, also for virtual pointers.
-
Out of curiosity, I tried to use Wayland earlier and compared to X11, everything seems to load faster which really surprised me. However, I've also noticed some things that confused me, that's why I'm posting this. To ask what I'm missing or what I did wrong. Thanks as always!
ydotool is the generic equivalent. It works on both X11 and Wayland environments.
-
Curious to know what are your general experiences on using keyboard and mouse input automations on Wayland...
Autokey does not work yet, but there is Hawck and Espanso that you could play around with. And there is ydotool if all you need is simulating basic input (as in ydotool mousemove -x -10 -y -10, ydotool type 'Hello world!' and so on).
-
Asahi Linux To Users: Please Stop Using X.Org
Does ydotool do what you need? I haven't even tried Wayland in years. I'm sure someday I'll find the need.
- Somehow AutoHotKey is kinda good now
- How to emulate mouse clicks with keyboard shortcuts
hammerspoon
-
Show HN: NotesOllama – I added local LLM support to Apple Notes (through Ollama)
Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.
https://www.hammerspoon.org/
-
Little macOS Apps That Make a Big Difference in 2024
For basic window tiling, I stumbled across Hammerspoon and the MiroWindowsManager spoon.
https://github.com/miromannino/miro-windows-manager
https://www.hammerspoon.org/
- Yabai – A tiling window manager for macOS
-
[Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl
I use hammerspoon a lot and it seemed like scheduling SelfControl could be done using it so I created Hammer Control. Check it out!
-
A collection of useful Mac Apps
Hammerspoon - Price: Free Desktop automation tool for macOS that allows you to write Lua scripts to control your Mac.
- Needed: Automation extension that can repeat movements/clicks in a browser
-
getting current desktop to show on lockscreen? (MacOS Ventura)
Assuming no one has a cut-and-dried solution that just works, would something like this be possible with say, AppleScript or another scripting tool like Hammerspoon? I've not used either of these tools before, but would be open to seeking out a scripting solution on my own if it's viable. Or am I going to run into insurmountable security restrictions?
- Ask HN: Scrolling Window Manager for macOS?
-
Fastest way to open Messages?
Spark (not the email app). There are others like Hotkey and Hammerspoon.
-
Window Management & Snapping
I have tried different tools for this including Rectangle, but I've finally settled with hammerspoon. It solves the problem of window-management but you can also use it to create custom keyboard shortcuts and much more.
What are some alternatives?
xdotool - fake keyboard/mouse input, window management, and more
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
wtype - xdotool type for wayland
yabai - A tiling window manager for macOS based on binary space partitioning
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
skhd - Simple hotkey daemon for macOS
evsieve - A utility for mapping events from Linux event devices.
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
sway - i3-compatible Wayland compositor
alt-tab-macos - Windows alt-tab on macOS
key-mapper - 🎮 An easy to use tool to change the mapping of your input device buttons. [Moved to: https://github.com/sezanzeb/input-remapper]
ShockEmu - Keyboard support for Dualshock emulation for PS Remote Play (macOS)