Re: [dev] [wmii] Changing view, but not launching programs in the new view

From: zweifel <zweifel_AT_gmail.com>
Date: Sun, 31 Oct 2010 00:14:38 -0200

>> Key $MODKEY-$RIGHT
>>              i=`wmiir read /ctl| grep view | cut -d ' ' -f 2`
>>              i=$(($i+1))
>>              wmiir xwrite /ctl view "$i"
>>      Key $MODKEY-$LEFT
>>              i=`wmiir read /ctl| grep view | cut -d ' ' -f 2`
>>              i=$(($i-1))
>>              wmiir xwrite /ctl view "$i"
>
> You'd probably be better off with the code from the stock rc:
>
> Key $MODKEY-$RIGHT          # Move to the next tag
>        wmiir xwrite /ctl view $(wi_tags | wi_nexttag)
> Key $MODKEY-$LEFT           # Move to the previous tag
>        wmiir xwrite /ctl view $(wi_tags | sort -r | wi_nexttag)
>

Thanks I'll take a look at it!

Do you think that using bash script as I did might cause problems
(incompatibilities) in future versions?

>> A slightly modified version worked on previous versions. Now I can
>> only change the views, but when I try to execute a terminal or other
>> things, they still appear on the other view. Any ideas on how to make
>> it work?
>
> It's probably because of something you have in tagrules, or, failing that,
> you're using a terminal that for some reason marks all of its new windows as
> belonging to the same group.

Yup, I narrowed down the problem to the "gnome-terminal", everything
else works great. Do you know how can I fix it?

Thanks for the answer Kris,
zweifel
Received on Sun Oct 31 2010 - 03:14:38 CET

This archive was generated by hypermail 2.2.0 : Sun Oct 31 2010 - 03:24:02 CET