Re: [wmii] (no subject)

From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
Date: Fri, 25 Apr 2008 16:05:13 +0200

Fri, Apr 25, 2008 at 03:19:48PM +0200, Thomas Eigel wrote:
>
> Hello everyone,
>
> thanks to Kris (and his keyboard resize) I finally switched from ion to wmii. For easy customization I use the plan9port rc.wmii => ~/.wmii-3.5/rc.wmii.local mechanism. This works just partially. When I try the following test-config
>
> ====================================
> # Green color scheme
> WMII_FOCUSCOLORS=('#ffffff' '#153F1F' '#2A7F3F')
> WMII_BACKGROUND='#333333'
> WMII_NORMCOLORS=('#222222' '#5FBF77' '#2A7F3F')
>
> MODKEY=Mod4
> WMII_TERM=(gnome-terminal)
> UP=Up
> DOWN=Down
> RIGHT=Right
> LEFT=Left
>
> fn Action-overridekeys {
> fn Key-$MODKEY-q {
> wmiir xwrite /tag/sel/ctl select right
> }
> }
> ====================================
>
> The results are:
> * No change in color
> * Modkey, terminal and other keys are alright
> * Key-$MODKEY-q does not work
>
> 'ps aux |grep wmii |grep rc' gives me something like: /usr/local/plan9/bin/rc /usr/local/etc/wmii-3.5/rc.wmii. $PLAN9 and accordingly the $PATH is also set so that I'm pretty sure that the rc.wmii is used.
>
> Some hints I stepped over:
> * 'wmiirc read /keys' doesn't list Mod4-q
> * In a rc-shell '. wmii.rc' gives:
> sed -e Ausdruck #1, Zeichen 17: invalid reference \1 on `s' command's RHS
> sed -e Ausdruck #1, Zeichen 23: invalid reference \1 on `s' command's RHS
> 29334: signal: sys: write on closed pipe
> sed -e Ausdruck #1, Zeichen 24: invalid reference \1 on `s' command's RHS
> sed -e Ausdruck #1, Zeichen 24: invalid reference \1 on `s' command's RHS
> sed -e Ausdruck #1, Zeichen 26: invalid reference \1 on `s' command's RHS
> sed -e Ausdruck #1, Zeichen 27: invalid reference \1 on `s' command's RHS
>
> Any clue?
> Thanks a lot for your help. Bye
> Thomas
> --
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
Hello thomas,

wmiifont=YOURFONT
wmiibackground='#333333'
wmiinormcol=('#222222' '#5FBF77' '#2A7F3F')
wmiifocuscol=('#ffffff' '#153F1F' '#2A7F3F')

Don't use Action-overridekeys, just

fn Key-$MODKEY-q {

}

Also make sure that you expected PATH is correct. I use

PLAN9=/usr/local/plan9
PATH="${PATH}:${PLAN9}/bin"
export PATH PLAN9

Maybe it helps a bit, see the rc 9 scripts, lots of vars has another name now.

Regards :)

-- 
rga_AT_sdf.lonestar.org
It is now 10 p.m.  Do you know where Henry Kissinger is?
		-- Elizabeth Carpenter
Received on Fri Apr 25 2008 - 16:05:15 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:40:35 UTC