You are not logged in.

#1 2008-03-06 14:11:57

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Terminals show wrong Chars when started via Wmii-Hotkey!

Hi there!

Whenever i start an app in an urxvt via Wmii-Hotkey ("urxvt -e centerim" as well as "urxvt" and input "centerim"), there are problems with some characters shown (the german umlauts ä ü ö, in my case). These just look strange then.

The problem doesn't occur when i launch these apps from an urxvt created by another terminal.

EDIT: Same goes for Xterm! The problem seems to be on wmii's side...

Last edited by mienensuchkind (2008-03-06 21:19:29)

Offline

#2 2008-03-07 21:08:48

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Re: Terminals show wrong Chars when started via Wmii-Hotkey!

Any ideas?

Offline

#3 2008-03-07 22:08:34

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Re: Terminals show wrong Chars when started via Wmii-Hotkey!

mienensuchkind wrote:

Any ideas?

What is the font setup in your wmiirc ?

and

what is the font setup in your .Xdefaults?

Offline

#4 2008-03-08 11:55:25

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Re: Terminals show wrong Chars when started via Wmii-Hotkey!

$ cat .Xdefaults | grep font
urxvt*font: xft:Consolas:pixelsize=21
urxvt*boldfont: xft:Consolas:pixelsize=21
Aterm*font: xft:Consolas:pixelsize=1
Aterm*boldfont: xft:Consolas:pixelsize=188
$ cat .wmii-3.5/wmiirc | grep FONT
DMENU_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-60-*-1'
[...]

Well, the font-rules from wmii dont have anything to do with the fonts shown in my terminal, don't they? They only change the wm's font (text in statusbar and window-titles).

EDIT: I just changed my WMII_FONT & DMENU_FONT from fixed to veranda. Now it magically works oO.

Thank you so much!

Last edited by mienensuchkind (2008-03-08 13:24:15)

Offline

#5 2008-03-08 21:02:33

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Re: Terminals show wrong Chars when started via Wmii-Hotkey!

mienensuchkind wrote:
$ cat .Xdefaults | grep font
urxvt*font: xft:Consolas:pixelsize=21
urxvt*boldfont: xft:Consolas:pixelsize=21
Aterm*font: xft:Consolas:pixelsize=1
Aterm*boldfont: xft:Consolas:pixelsize=188
$ cat .wmii-3.5/wmiirc | grep FONT
DMENU_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-60-*-1'
[...]

Well, the font-rules from wmii dont have anything to do with the fonts shown in my terminal, don't they? They only change the wm's font (text in statusbar and window-titles).

EDIT: I just changed my WMII_FONT & DMENU_FONT from fixed to veranda. Now it magically works oO.

Thank you so much!

I am sort of suspicious that your urxvt fonts setting is not working.
You can try putting the working WMII_FONT in urxvt font setting and keep your WMII_FONT back to "fixed". If it is still working, that means, your "consolas" fonts were not used at all.

I never used xft font setting in urxvt, so no clue of whether your current setting is correct.

Offline

#6 2008-03-09 11:32:28

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Re: Terminals show wrong Chars when started via Wmii-Hotkey!

uhm, i edited my thread - now it works!

and xft for urxvt is just great! i changed the wmii and dmenu font from
"-*-fixed-medium-r-*-*-13-*-*-*-*-60-*-1" to
"-*-veranda-medium-r-*-*-13-*-*-*-*-60-*-1"
   - No problems anymore! And i do have consolas and veranda as font, not the fixed (which was pain in my eyes).

Offline

Board footer

Powered by FluxBB