You are not logged in.

#1 2005-09-13 21:52:22

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

No AltGr in X and something else...

I'm using ion2 and I can't  get AltGr characters in any app.
However it works in command line outside X...
My kbmap is pt-latin9.
is this a xorg or a ion problem?

Something else:
How do I change the default font size in xterm?

Offline

#2 2005-09-13 22:37:36

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: No AltGr in X and something else...

Alexo wrote:

I'm using ion2 and I can't  get AltGr characters in any app.
However it works in command line outside X...
My kbmap is pt-latin9.
is this a xorg or a ion problem?

Does

setxkbmap pt

work? If yes, put it in  your .xinitrc or .xsession

Alexo wrote:

Something else:
How do I change the default font size in xterm?

Put

xterm*faceSize: 14

in ~/.Xdefaults (14 is the default size)
Run: xrdb .Xdefaults
and start xterm to check the changes. I haven't tried it, though.

Offline

#3 2005-09-14 18:41:50

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

Re: No AltGr in X and something else...

setxkbmap pt
worked fine.

As for the xterm font size, I don't have any ~/.Xdefaults.

Offline

#4 2005-09-14 21:09:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: No AltGr in X and something else...

Alexo wrote:

setxkbmap pt
worked fine.

As for the xterm font size, I don't have any ~/.Xdefaults.

Create it if it doesn't exist.

EDIT:  ~/.Xdefaults specifies resource (here it's faceSize) for X apps.  If you want to further customize xterm or any other X apps, read the man pages.

Offline

#5 2005-09-15 08:55:58

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

Re: No AltGr in X and something else...

I'll work on it right away.
Thanks Snowman!

Offline

#6 2005-09-17 21:39:40

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

Re: No AltGr in X and something else...

Snowman,
I created ~/.Xdefaults with:
xterm*faceSize: 18

then I did
xrdb -all .Xdefaults

I checked with
xrdb -all -query and it confirmed command in .Xdefaults, restarted x but font size didn't change...

Offline

#7 2005-09-18 01:21:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: No AltGr in X and something else...

It looks like support for faceSize isn't compiled for xterm. Try  instead:

xterm*font: -*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*

You can replace 14 with 15, 18 or 20 for bigger font size. I tried it this time  and they all works.

Offline

#8 2005-09-21 20:04:15

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

Re: No AltGr in X and something else...

Thanks Snowman, it works!

Offline

#9 2008-05-05 19:48:36

fredspayo
Member
Registered: 2007-11-08
Posts: 14

Re: No AltGr in X and something else...

thanks i was looking for that one!

no i can write ç and @ smile (especially the latter!)

Offline

Board footer

Powered by FluxBB