The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
69 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
144 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
568 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
354 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?