Re: Run command and focus its window?



Christopher Roy Bratusek wrote:
: On Wednesday 23 March 2011 21:11:29 Jan Kasprzak wrote:
: > 	Hello,
: > 
: > I wonder whether the following is doable in Sawfish:
: > 
: > When mapping a new window, I don't want it to get focus by default.
: > There is one exception:
: > 
: > 	I have a hotkey (Super+t) for running a new terminal. I have
: > discovered that I use this hotkey solely if I want to do something
: > in a new shell. So it would be nice if the terminal started by Super+t
: > could get focus as soon asi its window is mapped. Otherwise I would
: > defeat the whole purpose of having a hotkey, because in order to focus
: > the new terminal I would have to reach for a mouse (or use focus by
: > direction, which depends on the exact place where sawfish decides to place
: > the window).
: > 
: > 	How would you do this?
: 
: try the focus-when-mapped window-matcher.

	Oh, what a simple solution! Since I (almost) don't start terminals
by other means as Super+t, it does make a sense. I have been looking for
a "focus the next window that will be mapped" functionality, but this
is much more elegant. Thanks!

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
Please don't top post and in particular don't attach entire digests to your
mail or we'll all soon be using bittorrent to read the list.     --Alan Cox


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]