Re: [wmii] (no subject) => should be: rc.wmii.local problems

From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
Date: Fri, 25 Apr 2008 17:27:08 +0200

O Fri, Apr 25, 2008 at 05:15:07PM +0200, Thomas Eigel wrote:
>
> Hello Ruben,
>
> thank you very much! Also for the very quick reply! It all works fine now, although I wonder how one can "unbind" keys. For example if I like to close programs with Modkey-c, how can I free the Modkey-Shift-c binding?
>
> Bye bye,
> Thomas
>
> PS: Sorry for forgetting the subject in my last post...
>
> -------- Original-Nachricht --------
> > Datum: Fri, 25 Apr 2008 16:05:13 +0200
> > Von: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
> > An: wmii community <wmii_AT_suckless.org>
> > Betreff: Re: [wmii] (no subject)
>
> > 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
>
> --
> Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
> http://games.entertainment.gmx.net/de/entertainment/games/free
Hi again,

try
# it deletes such function
fn Key-$MODKEY-Shift-c

# to create a new one
fn Key-$MODKEY-c {
                wmiir xwrite /client/sel/ctl kill
}

# you can override it too using something like this
fn Key-$MODKEY-Shift-c {
        your own action here.
}

Regards!

-- 
rga_AT_sdf.lonestar.org
What I want is all of the power and none of the responsibility.
Received on Fri Apr 25 2008 - 17:27:12 UTC

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