Skip to main content

Questions tagged [xdotool]

a command line tool that can simulate X11 keyboard input and mouse activity and manipulate windows

0 votes
0 answers
40 views

xfce4 shortcuts (mostly) not working with xdotool

I want to make a keyboard shortcuts for automatically entering predefined texts with xdotool. I made a shell script file and want to run it through the keyboard. When i assign shortcut throught xfce4'...
Oğuz Güven's user avatar
1 vote
0 answers
37 views

Map alt-e to ctrl-Tab. Mint, Xfce

I have Linux Mint, Xfce. I want to change tabs in Firefox by pressing Alt-e, rather than the default Ctrl-Tab. In order to do that I must remap those keys in the Xfce UI. In Xfce I can map a key to ...
john-jones's user avatar
  • 1,736
0 votes
0 answers
74 views

xdotool in a shell script doesn't work properly with an xbindkeys

I'm fighting with this quite a long time. I have a very simple script: #!/bin/bash while true; do if [ ! -z "$(/usr/bin/xinput --query-state 17 | grep -o 'button\[12\]=down')" ]; then ...
tomatoman29's user avatar
0 votes
0 answers
54 views

fzf output to xdotool instead of the terminal

I can create a fzf.sh script to launch a list of items, allow me to select an item, and print the output of the specific line selected to the terminal: #!/bin/bash cat ~/list.txt | fzf --reverse I ...
jophuh's user avatar
  • 23
0 votes
0 answers
62 views

Help with custom shortcut - Fedora

I am trying to set up a custom shortcut for terminator on Fedora 28. Connected a script to a custom shortcut. The shortcut should either start terminator, or based on whether it is on top or not, ...
iandorr's user avatar
0 votes
0 answers
51 views

How to resize windows beyond monitor size using CLI?

I have two monitors and I'd like to programmatically resize clicked window beyond my first monitor size. I want -39,-138 coordinates and 2355x1202 window size. My first monitor is 1680x1050, the other ...
Kossak's user avatar
  • 649
1 vote
0 answers
258 views

xdotool does not work for terminal window copy paste

I'm using Ubuntu 22 and i have set up two custom shortcuts via settings (works for all windows i have tested so far). xdotool getactivewindow key ctrl+c (-> super+c) xdotool getactivewindow key ...
AliceTheCat's user avatar
0 votes
0 answers
540 views

ydotool: first, backend unavailable, then crash on connection

I'm using the Linux Mint Debian Edition 5 Linux distro. I'm usually satisfied of xdotool I use since years on linux but since few weeks by using it with a browser (chromium, firefox), for long times ...
lm2's user avatar
  • 1
0 votes
1 answer
221 views

Replace xdotool key value with user input

I am trying to write a script that allows a user to input a number and change an xdotool key value to that input. Key inputs in xdotool must be separated by a space, for example xdotool key 1 2 8; So ...
PerryJones's user avatar
0 votes
0 answers
543 views

Bind a key to press another key with sxhkd

I recently switched over from using windows where I used to use AutoHotKey for a few temporary shortcuts and key remapping. This is a small section of the code I used: d:: { sendinput, [ sleep,...
PixelatedXenon's user avatar
4 votes
1 answer
831 views

Xdotool --window function doesn't work

I am currently having a very simply problem, that I cannot for the life of me figure out. The --window function of xdotool does not work. I should be able to open two terminal windows, get the ...
Notacookie's user avatar
1 vote
1 answer
2k views

How can I bind "modifier + arrow" keys to home/end/pageup/pagedown under X?

I have a new 60% keyboard (NuPhy Air60), but it does not have any way to trigger pageup/pagedown or home/end keys. My goal is to recover these commands with a custom keybinding, using a modifier key ...
ChaseMoskal's user avatar
0 votes
2 answers
486 views

Shell Script - run for random number of times in the range

I am trying to automate a shell script that use Xdotol (press B key with random interval -sec.milsec). I am unable to to run script random number of times (right now it is limited to 25 times by count)...
Joroo's user avatar
  • 3
1 vote
0 answers
112 views

Can I make Xephyr toggle user keyboard and mouse?

I need to pilot an X application with my PC, to take scientific measuring. I have an xdotool script which does the job pretty well, but while it's running, I cannot use my PC, which is frustrating and ...
Alessandro Bertulli's user avatar
2 votes
1 answer
267 views

Detecting when an X Window has been closed

I'm running Ubuntu 20.04.5 LTS with the XFCE4 window manager. I'm looking for a way for a shell script to be fired off when a particular X Window has been closed. I know that I can create a program to ...
HippoMan's user avatar
  • 657

15 30 50 per page
1
2 3 4 5
9