The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
23 views

Use xbindkeys to auto-fill forms or output a template in the terminal

I would like to use some of the programmable G-keys on my G11 keyboard to output templates of commands in the terminal. What I tried so far: "xdotool type "TEST"" m:0x10 + c:180 Mod2 + ...
0
votes
0answers
19 views

How to close window by press left and right mouse button at the same time

I tried xbindkeys with this setting in xbinkeysrc "xte 'keydown Alt_L' 'key F4' 'keyup Alt_L'" b:1 + b:3 Doesn't seem to work. Any ideas?
0
votes
1answer
51 views

How do I make emacs-key-bindings work everywhere in linux

I am just tired of reaching for the home and arrow keys. There is a windows hack: http://www.davesquared.net/2008/02/emacs-key-bindings-everywhere.html How can we achieve that in linux? The ...
1
vote
1answer
157 views

Linux: command to lower window with focus

I'm looking for a command to lower a window with focus to the bottom of the stack of windows. I have a command to raise a focused window to the top which is: xdotool getwindowfocus windowraise ......
1
vote
1answer
37 views

How can I permanently rename a window (in XFCE)?

I tend to have a bunch of windows of the same applications (terminals and text editors) and they can be a problem to manage. It would help me a lot if I could give them the most intuitive and clear ...
3
votes
3answers
628 views

Disable numlock, preserving mouse button key bindings

I'm having trouble to disable the Numlock key (make the key do nothing, so that the numpad numbers always work) while at the same time mapping extra mouse buttons (at the side of my mouse) to ...
2
votes
2answers
782 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 ...
1
vote
3answers
4k 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 ...
2
votes
1answer
1k 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
6k 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 ...
3
votes
1answer
944 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
3k 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 [[ $(...
2
votes
1answer
782 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?