auto-tab-discard VS xdotool

Compare auto-tab-discard vs xdotool and see what are their differences.


Use native tab discarding method to automatically reduce memory usage of inactive tabs (by rNeomy)


fake keyboard/mouse input, window management, and more (by jordansissel)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • - Download’s Tech Salary Report
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
auto-tab-discard xdotool
16 24
691 2,082
- -
6.7 3.6
9 days ago 15 days ago
JavaScript C
Mozilla Public License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of auto-tab-discard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-08.


Posts with mentions or reviews of xdotool. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-30.
  • Show HN: AutoHotkey for Linux
    20 projects | | 30 Aug 2022
  • What software do you miss from Windows & macOS?
    23 projects | | 21 Aug 2022
    For stuff like that where you don't need to read window properties, I would use xdotool:
  • Is it possible to set keyboard shortcuts to teleport to desktops beyond the first four?
    2 projects | | 10 Jun 2022
    I think, you can create your own shortcut, which will point to some custom script you'll write, which in its own turn will trigger the same hotkey you want to duplicate (the script will probably utilise xdotool or something similar).
  • How to get window title on Linux? (Ubuntu/Xlib)
    2 projects | | 23 May 2022
    I am trying to programmatically obtain a title of a process window I have PID of in Ubuntu with default configuration, or a clean Ubuntu installation if you will. I know this is possible on Linux, as I managed to get that information with xdotool, however I am trying to find a way to perform this task without an external program. That tool relies on xlib, a C solution for window management. I found an incomplete wrapper of it called and attempted to essentially translate this code to C# using it, resulting in the following:
  • Is there a way to see your webpage while your edit it?
    3 projects | | 23 Apr 2022
    It's really not the greatest experience, but you can combine a Vim mapping and some automation software (xdotool in this example) that presses F5 in your browser.
  • TurboTax’s Fight Against Free Tax Filing
    2 projects | | 18 Apr 2022
    > I shouldn't need to download an app to a smartphone for something that I exclusively intend to use on a desktop.

    I see where you're coming from here and mostly agree. However, I will say that as someone who already had the Cash App installed the process was pretty seamless. The only major item I would change is that it would be nice to have some way to import a CSV or XLS file (or even JSON) for the capital gains forms. They offer an online spreadsheet but you still have to fill out each cell individually. If you have a few dozen trades (or more) to report it gets rather tiresome and could even be a bit error-prone.

    I suppose I could have scripted the data entry with keyboard macros (via xdotool[0]), but for something I only do once per year it probably wouldn't be worthwhile… and the interface could be different next year.


  • StreamDeck like app for an Android device with Pop OS?
    3 projects | | 25 Feb 2022
    On Pop, install an ssh-server and activate it. Also install xdotool. (I don't use Pop so I don't know the exact commands here but if you google it I'm sure you'll find them.)
  • What are some of your self made scripts that you're proud of
    8 projects | | 10 Feb 2022
    Programatically disable compositor. The call I found online never worked for me, so xdotool to the rescue. Script. Writing this comment, I checked again and the call is working now(qdbus org.kde.KWin /Compositor suspend). Kudos to KDE team. I commented the line with xdotool I used to use.
  • xdotool key won't work with sxhkd
    4 projects | | 5 Feb 2022
    I am trying to find an alternative to AutoKey for keyboard macros. I've seen some suggest sxhkd combined with xdotool, which is what I'm trying here. I want to implement macros whereby when I press alt + j,i,k,l it simulates left,up,down,right arrow keys respectfully. I have the contents of ~/.config/sxhkd/sxhkdrc as:
  • What tools / utilities have you written that you use regularly?
    42 projects | | 17 Sep 2021
    a dumb utility that scripts xdotool. I position the mouse in location A, launch my script with dmenu, enter a number N, move my mouse to location B, and hit Enter. It then clicks on location A, moves to location B and clicks there, and does it N times. It saves me hours of tedious clicking across several applications.

What are some alternatives?

When comparing auto-tab-discard and xdotool you can also consider the following projects:

ydotool - Generic command-line automation tool (no X!)

AutoKey - AutoKey, a desktop automation utility for Linux and X11.

archweb - Arch Linux website code

wtype - xdotool type for wayland

keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.

thegreatsuspender - A chrome extension for suspending all tabs to free up memory

key-mapper - 🎮 An easy to use tool to change the mapping of your input device buttons. [Moved to:]

comfortable-swipe - Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++


i3-vim-focus - Vim plugin for seamless navigation between i3 and vim

Jitsi Meet - Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

i3-dispatch - Allows i3 to move focus differently depending on the focused window