Rules with monitor

Thorsten Wißmann edu at thorsten-wissmann.de
Thu Jan 22 12:49:59 CET 2015


On Thu, Jan 22, 2015 at 10:46:13PM +1100, Thorsten Wißmann wrote:
> On Tue, Jan 20, 2015 at 02:35:13PM -0500, Steven Hum wrote:
> > I'm doing something wrong here.. I have a simple rule defined as
> > 
> > hc rule class=Vlc tag=6 monitor=0 focus=on switchtag=on
> > 
> > Invoking vlc opens it the designated tag but not on the desired monitor 
> > -- tag 6 appears on whichever monitor is in focus. 
> > "swap_monitors_to_get_tag" is 0 (if value is 1, the tag is not raised).
> 
> That is strange, because it seem to work here for:
> 
>    herbstclient set swap_monitors_to_get_tag 0
>    herbstclient rule class=ASDF tag=6 monitor=0 focus=on switchtag=on once
>    xterm -class ASDF
> 
> (And it does not work for swap_monitors_to_get_tag = 1).
> 
> And I even got it working for VLC. Can you tell me whether the code
> above? (Note that the once is just to avoid the rules from being
> polluted.)

And by the way: Which version of herbstluftwm are you using? You should
have at least herbstluftwm 0.6.0.

Cheers,
Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20150122/e54b6db4/attachment.sig>


More information about the hlwm mailing list