The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
29 views

xdotool, click and hold and move the mouse

I want to automate a task, I need to scroll a Google like map interface, what I essentially do normally is: Click an a spot Hold the clicking Move the mouse relatively 100 pixels left Stop holding ...
0
votes
0answers
15 views

I cannot use xdotool with at

I have been trying for a while now to find some way to get xdotool to perform clicks for me at a specified time with at. I have tried using 'xdotool click 1' as the command in at, as well as having ...
1
vote
2answers
108 views

Kill the currently active window with a keyboard shortcut

How can I kill the currently active window with a command or keyboard shortcut? Alt+F4 closes a window, but first it will wait for the program to respond. Depending on the application, this may take ...
1
vote
1answer
223 views

How to scroll half a page on Linux?

I'm looking for a way to be able to scroll half a page, preferably by using a key combination like shift page up/down. In Windows, this is doable via autohotkey, for OS there does not seem to be any ...
8
votes
2answers
3k views

Command-line way to send keystrokes to a window open on a different X-session

On my main machine, I have a Ubuntu desktop open and logged on. I am then also logging in to this machine from a remote computer, using X2go which creates a new X-session. I have a libreoffice file ...
2
votes
1answer
606 views

How do I unmaximize a window with xdotool or similar by command line?

With xdotool or wmctrl I can move or modify window attributes but if it is maximized none of the commands work. How do I "unmaximize" the window?
2
votes
2answers
2k views

Bash/xdotool: Commands work, but not in a script

I am making a bash script for Linux which closes the terminal window if the window loses focus. On the command line, I was able to do this: termwin=$(xdotool getactivewindow) while : do if [[ ...
1
vote
0answers
378 views

xdotool only works with X11 windows on OSX

I've installed xdotool via MacPorts. It works only with X11 windows. Is there a way to use it for native OSX applications as well?