xdotool
patches
Our great sponsors
xdotool | patches | |
---|---|---|
38 | 94 | |
3,023 | 269 | |
- | - | |
3.5 | 5.9 | |
15 days ago | about 1 month ago | |
C | ||
GNU General Public License v3.0 or later | - |
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)
patches
-
patch to center tiled windows on the stack
It would be possible to have gaps by default without wasting space, they would just be smaller. Current gaps patches waste even more space than 'resizehints = 0'. This patch appears to be a big challenge, but it would be very interesting to see it done. Something like the centered_size_hints patch but with better space/cpu usage would already be great.
-
Anysize leaving gaps in st
I made this patch after that post for reference: https://github.com/bakkeby/patches/wiki/anysize-simple
-
How can you set the st geometry offset relative to the screen size as a dwm shortcut
I'd recommend that you have a look at the floatrules patch and alternatively if you need percentages then I have another patch called floatpos.
- Make the focusstack feature avoid a certain program.
-
tag.restore and tag.noempty
As for 1. you may want to consider toggletag which is a one-line patch which makes it so that when you do MOD+1 to move to tag 1 and if you do MOD+1 again then it moves you back to the previous tag (5 in the example case).
-
Patch to improve the zoom function
I believe the zoomswap, stacker and restrictfocus patches could help solving this problem. The functions needed to be changed probably are zoom and maybe pop. I tried to figure it out, but couldn't since I don't know C right now. But hopefully the information on this post can help, so one can fix it if he can and wants to.
- patch to separate focus between master and stack areas
-
How do you set the width of dmenu to the screen width after application of the xyw patch?
You may also want to consider applying the barpadding patch for dwm into dmenu, this is easier to do than it sounds. I created an example patch a while back: https://github.com/bakkeby/patches/wiki/barpadding
-
alpha patch makes my dwm doesn't starting
It's difficult to make alpha and systray patches sing together. Use bakkeby patch that does them both: https://github.com/bakkeby/patches/blob/master/dwm/dwm-alpha-systray-6.3_full.diff
-
How do I change multi-monitor tag behaviour
I had an example patch for that: dwm-desktop-6.3.diff
What are some alternatives?
ydotool - Generic command-line automation tool (no X!)
dwm-flexipatch - A dwm build with preprocessor directives to decide which patches to include during build time
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
chadwm - Making dwm as beautiful as possible!
wtype - xdotool type for wayland
dwm-single-tagset-6.2 - single-tagset patch for dwm 6.2
archweb - Arch Linux website code
dwm-directionalfocus - Adding directional focus to dwm
i3-vim-focus - Vim plugin for seamless navigation between i3 and vim
rofi - A huge collection of Rofi based custom Applets, Launchers & Powermenus.
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
dwm