Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switching from $ to £
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cluster one
n00b
n00b


Joined: 26 Dec 2003
Posts: 50
Location: Aberdeen, Scotland

PostPosted: Wed May 26, 2004 11:12 pm    Post subject: Switching from $ to £ Reply with quote

I'm moving to the UK in July from Canada, where I bought my computer. To better fit my homework and writing needs whilst in Scotland, I'd like to switch my keybard layout so that when I type shift-4, it gives me the £ sign instead of the $ one without having to go into Unicode Character Map in Gnome.
I believe this is an XFree86 thing, correct me if I'm wrong. How can I change my keymapping?
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Wed May 26, 2004 11:30 pm    Post subject: Reply with quote

Look into xmodmap and xev...

~Mac~
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54306
Location: 56N 3W

PostPosted: Wed May 26, 2004 11:33 pm    Post subject: Reply with quote

cluster one,

Call up the gb keymap in XF86Config. You could even invest a few shillings in a new keyboard while you are here.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cluster one
n00b
n00b


Joined: 26 Dec 2003
Posts: 50
Location: Aberdeen, Scotland

PostPosted: Wed May 26, 2004 11:52 pm    Post subject: Reply with quote

I have a laptop, so I don't really want a new keyboard. How does the XF86Config thing work?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54306
Location: 56N 3W

PostPosted: Thu May 27, 2004 12:01 am    Post subject: Reply with quote

cluster one,

In your /etc/X11/XF86Config put
Quote:
Option "XkbLayout" "gb"
in the keyboard section. this acts on your whole keyboad layout. I don't know what else swaps.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu May 27, 2004 12:16 am    Post subject: Reply with quote

"setxkbmap gb" will work in X, although it only lasts as long as that particular X session.

In console, loadkeys gb will have the same effect.

~Mac~
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu May 27, 2004 6:24 am    Post subject: Reply with quote

Ah yes, and if you're using the gb keyboard layout, shift+3 will give you £, and shift+4 will still give you $.

Just to try and avoid potential confusion! :)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum