[openbox] Move to last desktop

David Vogt david.vogt at adfinis-sygroup.ch
Mon Dec 10 16:41:19 EST 2012


Hi,

On 10/12/12 22:21, Jim Rees wrote:
> [...]
> As long as you're willing to use ugly hacks, how about this?
> 
>   wmctrl -s `wmctrl -d |tail +2 |wc -l`

Hmm, this DOES look better. However, my tail version doesn't accept that
syntax. And since no shell syntax is allowed in <execute>/<command>, I
had to change it as follows:

  <action name="execute"><execute>
    sh -c "wmctrl -s `wmctrl -d |tail -n+2 |wc -l`"
  </execute></action>

Still not the perfect solution, but already much better :) Thanks a lot!


Cheers
 -- Dave

-- 
Adfinis SyGroup AG
David Vogt, Stv. Bereichsleiter Software-Entwicklung
Keltenstrasse 98          | CH-3018 Bern
Tel. +41 (0) 31 550 31 11 | Direct +41 (0)31 550 31 12

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://icculus.org/pipermail/openbox/attachments/20121210/8bd21b6b/attachment.pgp>


More information about the openbox mailing list