Celeb Glow
news | March 23, 2026

Questions tagged [xdotool]

Ask Question

xdotool is a command-line tool to automate GUI tasks such as window manipulation. It can simulate key presses and mouse clicks.

165 questions
1 vote 1 answer 21 views

How to get current active window in Ubuntu 22.04?

Since Ubuntu 22.04 was released, this question is normal now. I am writing a shell script which needs to get current active window name, so after searching for a tool for it, I decided to use xdotool. ... user avatar AsKreY
  • 11
0 votes 0 answers 11 views

Recording screen interaction for UI playback

Before I resort to scripting my own, is there a tool that records screen interactions for playback? I want to record where the mouse got clicked and on which menu, in order to automate a series of ... user avatar simone
  • 231
0 votes 0 answers 45 views

xdotool can no longer aquire gnome terminal

I have been using a script to manage gnome-terminal windows using xdotool. I recently upgraded to Ubuntu 21.10 and now my script no longer works. This is the script that no longer works: #Find the ... user avatar Brad
  • 140
0 votes 1 answer 32 views

Custom keyboard shortcuts keypresses

I'm looking for a solution to map keyboard shortcuts to keypresses in a gnome DE. In scope of this question I'll use the example of mapping meta+2 to F2. It doesn't seem to work with xdotool. E.g., ... user avatar Truiiya
  • 91
0 votes 1 answer 48 views

Launch only one chromium instance

I'm running Chromium from snap storage at Ubuntu 20.04 with Openbox and minimal install. How can I run only one instance of Chromium browser by each additional click in panel (lxpanel) or launch ... user avatar klpu39
  • 75
1 vote 1 answer 73 views

How to Snap/Minimize/Maximize Window below cursor?

The default Keyboard Shortcuts in Ubuntu to maximize a window (Super+Up) or snap it to the sides (Super+Left/Right) relates to the current active window. While setting up mouse gestures using logiops, ... user avatar pLumo
  • 24.2k
0 votes 0 answers 28 views

Problem hiding the window on the desktop

How can I lock a window as a desktop so that the windows are not hidden by tapping the desktop with the mouse? Before tapping on the desktop: enter image description here After: enter image ... user avatar Mani Jamali
  • 1
1 vote 1 answer 234 views

xdotool `windowsize` and `windowmove` don't work in GNOME when the window is full sized

I have some keyboard shortcuts that tile windows around the screen. Under the surface, they just execute various xdotool commands. For example, here is one that moves the current window to the left ... user avatar user2490003
  • 219
0 votes 0 answers 109 views

Automatically cycle Multiple Monitors on Ubuntu VM bootup

I'm using VMware Workstation 16 Pro. HOST OS -> Windows 10. GUEST OS -> Ubuntu 20.04 LTS (with open-vm-tools installed). I have enabled 'entering full screen mode after powering on' for Ubuntu ... user avatar Giuseppe
  • 1
0 votes 2 answers 131 views

Using Xdotool to type in a Libreoffice Document

I have often wondered how to automate libreoffice by using xdotool. I know that the window has to be selected out of the window stack, and I tried programming it as a window bash variable under ... user avatar CraigslistCesium
  • 18
0 votes 1 answer 68 views

Trying to paste a typed command to a terminal

I am very new to robotics and ROS and am looking for some help trying to create some keyboard shortcuts that allow me to paste them into a terminal. Currently i am using the xdotool to do this. I am ... user avatar Mike Becker
  • 1
0 votes 0 answers 35 views

Global Hotkeys with Wine and Winamp

I have for the longest time been using gMusicBrowser which honestly is brilliant. But I'll always have a sweet sweet soft spot for WinAmp. So if I could get the hotkeys working I would be able to use ... user avatar Jamie Hutber
  • 438
0 votes 0 answers 47 views

fgetc(stdin) does not read xdotool press key

I am trying to write a program that automatically presses a key at specific times, and then another program will read the input key (possibly using fgetc(stdin)). However, it seems like xdotool doesn'... user avatar MAh2014
  • 101
0 votes 0 answers 130 views

how to setup XDOTOOL to automate pressing spacebar

I would like to set up xdotool to auto press spacebar twice every 5 hours for 1000 times. What is the command I must enter in terminal/command line? repeat-delay? Can it be done in a single command to ... user avatar me me
  • 1
0 votes 0 answers 53 views

What is the string for Menu key in X keysyms?

I'm trying to simulate Menu key press using xdotool but I'm unable to find the proper string for the key. There is a list of X keysyms in here but Menu (or Application) key is not in the list. I'm ... user avatar Mehraban
  • 1,193

15 30 50 per page1234511