Tag Info

Hot answers tagged

5

Some Window Managers have a lot of customizability to do stuff like this, but a lot more recent ones including metacity and compiz have lost this kind of customization. I used to use fvwm to do stuff like that. A simpler WM independent approach would be to try and reassign focus back to the right window. Look at the xdotool ...


4

You can use the script windows_switcher from web::irssi::scripts Download the perl file and put it in ~/.irssi/scripts/autorun/. This is the short help contained in the file itself: # Usage: # * Add the statusbar item: # /STATUSBAR window add window_switcher # * Type /ws followed by a window number or part of a window or channel name. # * When the ...


3

FWIW, with xterm, click on the left mouse button while holding the Ctrl key to bring a menu where you can select secure keyboard. which uses XGrabKeyboard to get exclusive usage of the keyboard. You can also bind it to a key such as with: xterm -xrm 'XTerm.VT100.translations: #override Shift <KeyPress> F2: secure()' For Shift-F2. Though you'd ...


3

You could use xdotool. I have used it to resize browser windows. $ xdotool windowfocus 0x280000a


3

Most modern dekstops are EMWH compliant. You can use wmctrl to control those and the windows on them, e.g.: wmctrl -a <WIN> to activate a window by switching to its desktop and raising it (<WIN> can be various things, by default a string match on the window title, see the wmctrl man page).


2

You're not saying which window manager you're using under gnome. Most common ones are metacity, compiz (and gnome-shell in new versions of gnome) though you can use any you like (though some integrate better with gnome than others). For openbox, change your configuration file (something like ~/.config/openbox/rc.xml which you can copy from ...


2

An alternative is to have the program connect to a different X server. You can either run a separate instance of X on a different virtual console. Switch with e.g. Ctrl-alt-F8. run Xnest to have an X server acting as a client to the main Xserver Either way, your testing script should set DISPLAY to redirect the program to the other X server (it will ...


2

USB keyboards often expose multiple interfaces; it is likely that one is the standard 104-key set and another is the extra buttons. MPWM is a simple window manager that is able to use the MPX extensions to allow for multiple independent client pointers and active windows. You'll have to wait for similar support to appear in other window managers. Xephyr ...


1

Somehow it occurred to me that this might be caused by unclutter utility I had recently installed. Turns out that is the culprit. Once I knew it, I was able to find that the issue has been reported already, for example here: http://askubuntu.com/questions/3022/weird-mouse-problem. Also, I found an alternative called hhpc: https://github.com/Aktau/hhpc. ...



Only top voted, non community-wiki answers of a minimum length are eligible