You are not logged in.

#1 2008-06-05 11:00:27

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

WMII. change focus keys & set font != arial

Hi! im using WMII and there are two strange things i don't understand

first, i can't use any different font than WMII_FONT='-*-arial-medium-r-*-*-16-*-*-*-*-*-*-*' because any other font is not read, what WMII does if other font is selected, is to show the same arial one, but MODKEY-p show tiny different fonts... i want to make it possible to use artwiz or terminus, but i have no luck

#WMII_FONT='-*-terminus-medium-*-*-*-*-140-*-*-*-*-iso8859-1'
#WMII_FONT='-artwiz-snap-*-*-*-*-*-*-*-*-*-*-*-*'
#WMII_FONT='-artwiz-glispbold-*-*-*-*-*-*-*-*-*-*-*-*'
#WMII_FONT='-artwiz-*-normal-*-*-*-*-*-*-*-*-*-*-*'
#WMII_FONT='xft:terminus:pixelsize=16:antialias=true'
WMII_FONT='-*-arial-medium-r-*-*-16-*-*-*-*-*-*-*'    # this is the only one that works :(
#WMII_FONT='-*-bitstream vera sans mono-medium-r-*-*-16-*-*-*-*-*-*-*'
#WMII_FONT='-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*'
### Default Font ###
#WMII_FONT='-*-fixed-medium-r-*-*-16-*-*-*-*-*-*-*'

and the second one is that i cant change "windows" focus, the keys from wmiirc didn't do anything:

        Key $MODKEY-$LEFT
                wmiir xwrite /tag/sel/ctl select left
        Key $MODKEY-$RIGHT
                wmiir xwrite /tag/sel/ctl select right
        Key $MODKEY-$DOWN
                wmiir xwrite /tag/sel/ctl select down
        Key $MODKEY-$UP
                wmiir xwrite /tag/sel/ctl select up
        Key $MODKEY-Shift-$LEFT
                wmiir xwrite /tag/sel/ctl send sel left
        Key $MODKEY-Shift-$RIGHT
                wmiir xwrite /tag/sel/ctl send sel right
        Key $MODKEY-Shift-$DOWN
                wmiir xwrite /tag/sel/ctl send sel down
        Key $MODKEY-Shift-$UP
                wmiir xwrite /tag/sel/ctl send sel up
        Key $MODKEY-x

Thankyou all!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2008-06-05 15:38:13

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: WMII. change focus keys & set font != arial

I don't know about #1.
For #2, I'm not sure I understand your problem. To start, check the beginning of your wmiirc:

# Configuration Variables
MODKEY=Mod1
UP=k
DOWN=j
LEFT=h
RIGHT=l

By default, alt+j or alt+k will change the focus of windows. Does that work for you? If not, sry, I don't know how to help.

Offline

#3 2008-06-06 10:36:02

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: WMII. change focus keys & set font != arial

lol change focus now works tongue it'sa long time since i tried last time i think something changed in my wmiirc and i dont remember lol

but i dont know how to change the default fonts of wmii to another but arial, are you using different fonts in wmiirc?


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#4 2008-06-06 20:07:28

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: WMII. change focus keys & set font != arial

hmm my wmiirc came with this:

WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'

. I haven't tried to change it. I don't know if wmii can handle xft fonts.

Offline

Board footer

Powered by FluxBB