Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Right now it appears on whatever screen the app I'm switching from is located. If I while alt-tabbing I accidentally stop on my radio player, located on my alt screen, it's most annoying.

share|improve this question
    
This is entirely dependent on the window manager or desktop environment. –  Gilles May 29 '11 at 22:28
    
@Gilles - added gnome tag. –  ripper234 May 30 '11 at 3:21

1 Answer 1

Not having my Alt-Tab window on my primary screen was a huge annoyance for me when I had two monitors. When I noticed my Alt-Tab window had wandered over to the wrong screen, I would invoke this Python script with a keyboard shortcut:

#!/usr/bin/python -E
import gtk 
gtk.gdk.display_get_default().warp_pointer(gtk.gdk.screen_get_default(), 800, 600)
gtk.gdk.flush ()

Per http://stackoverflow.com/questions/1181464/controlling-mouse-with-python all it does is act like you have clicked on your primary screen. This is a kludge, sure, and doesn't fix the root issue, but it's the best workaround I could come up with at the time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.