[xmonad] Toggle Window (Always Below <-> Always Above)

Jan-David Quesel quesel at gmail.com
Thu Jan 27 17:05:56 CET 2011


On Thu, Jan 27, 2011 at 06:42:51PM +0300, kevind256 wrote:
> > the checkDock part is just for identifying the dzen window. so
> > what causes the redraw is essentially the fact that all windows
> > are moved out of the way (by inserting a gap at the top) such
> > that one can see the "ignored" window...
> 
> That's wrong, as I saw it. I tried using doIgnore on Pidgin window,
> and it just stayed above all other windows, without creating any gaps.
> Gaps are created by layouts, and doIgnore is exactly what excludes
> window from any layout.

nah, the avoidStruts stuff inserts the gaps.

if you ignore a window other windows will be positioned on top of
it if you do not reserve the space. and the issue is how to get
them back to the front and instantanously get them back without
inserting gaps into the layout for a short period of time (as
thats rather slow in some cases).

> >> I mentioned that there could be xmonad functions to do that, but if
> >> not, I almost sure you can find command line utilities for Xorg to
> >> move any window in/out of screen. They could find the window by one of
> >> the parameters returned by these commands (run in terminal and click
> >> desired window to see):
> >> xprop|grep CLASS
> >> xprop|grep ^WM_NAME
> >
> > yeah the functions are there, but doIgnore removes the window
> > from the stackset. therefore you cannot search the stackset and
> > filter it by those properties anymore.
> 
> Then, as I said, you could try command-line tools, such as "wmctrl -r
> <WIN> -b add,hidden" should do this.
> 
> A simple Google request might also help:
> http://www.google.com/search?client=ubuntu&channel=fs&q=linux+command+hide+window&ie=utf-8&oe=utf-8

same problem from the command line. as one used doIgnore, the
window isnt managed anymore and thus does not appear in the
output of wmctrl -l. so receiving the windowid is the problem
here again.

Jan

-- 
Jan-David Quesel
Carl von Ossietzky Universität Oldenburg
Department of Computing Science
Correct System Design
D-26111 Oldenburg, Germany

Phone: +49 (0)441 798-2376
Fax: +49 (0)441 798-2965
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110127/776aed79/attachment.pgp>


More information about the xmonad mailing list