xdotool
notes
xdotool | notes | |
---|---|---|
38 | 17 | |
3,031 | 53 | |
- | - | |
3.5 | 1.5 | |
26 days ago | about 1 year ago | |
C | Vim Script | |
GNU General Public License v3.0 or later | 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)
notes
-
Blog: Terminal file managers and my Vifm setup
I've documented some really cool things that vifm can do: https://github.com/sitaramc/notes/blob/master/vifm.mkd
-
Prevent Thunar from writing lines to config file, or alternatively make git ignore certain lines
So I wrote https://github.com/sitaramc/notes/blob/master/dac -- 30 lines of shell plus maybe another 30 or 40 of comments, and it does everything I want in a dotfile manager.
-
What tools/methods do you use to track/journal all changes to your (desktop) system?
All this is painlessly taken care of by https://github.com/sitaramc/notes/blob/master/dac (documentation: https://github.com/sitaramc/notes/blob/master/dac.mkd)
-
ncdu - ncurses disk usage - see which directories and files are hogging the most space
If you have fzf installed, grab https://github.com/sitaramc/notes/blob/master/try, and run try dust. Then start typing -t jpg (for example). Then backspace over the jpg and change it to png. Or use some other options.
-
what is the easiest way to backup your config files?
I hesitate to nominate any of them because (a) there are dozens or even hundreds of them and (b) I don't like any of them; I wrote my own because I needed a "hold" feature that no one had (i.e., when propagating changes to the repo, I want to hold back some parts of the change; https://github.com/sitaramc/notes/blob/master/dac.mkd explains better if you're interested
-
Do you use VIFM?
For those of you who are curious, https://github.com/sitaramc/notes/blob/master/vifm.mkd is my part "review" and part "tips and tricks" on vifm.
-
What tools / utilities have you written that you use regularly?
Most of my tools are in bash or perl, most of them less than 100 lines of code, (most of them are less than 200 even with comments). https://github.com/sitaramc/notes has all of them (terrible name for a repo full of tools I know; sorry!)
-
Seeking a terminal file manager
Absolutely vifm. My notes+tips/tricks on this at https://github.com/sitaramc/notes/blob/master/vifm.mkd
-
Should I use vim or neovim?
https://github.com/sitaramc/notes/blob/master/dac.mkd for documentation, https://github.com/sitaramc/notes/blob/master/dac.mkd for code, if you're interested.
-
difference between terminal file managers?
if you're a vim user, you can't go wrong with vifm. My take on vifm is here: https://github.com/sitaramc/notes/blob/master/vifm.mkd -- can't hurt to give it a read (it's a wee bit outdated but not much; probably only the last section needs to be updated)
What are some alternatives?
ydotool - Generic command-line automation tool (no X!)
clifm - The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell.
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
wtype - xdotool type for wayland
vifm.vim - Vim plugin that allows use of vifm as a file picker
archweb - Arch Linux website code
suda.vim - 🥪 An alternative sudo.vim for Vim and Neovim, limited support sudo in Windows
i3-vim-focus - Vim plugin for seamless navigation between i3 and vim
nbrowser - 🔗 🌐 : an easy way to open links in browsers, mimic the "Open URL with..." dialog on Android, `nbrowser` help you open links in a browser
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
Watson - :watch: A wonderful CLI to track your time!