Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keboard question..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Wed Sep 20, 2006 3:18 pm    Post subject: keboard question.. Reply with quote

I recently moved to the UK from the US. I was wondering if anyone has any ideas on how to type the UK pound sign "L"
in a US keyboard.

Thanks

-Q
_________________
(\ /)
(O.o)
(> <)
This is Frank. He made me flood the school.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Sep 20, 2006 6:40 pm    Post subject: Reply with quote

Run
Code:
xmodmap -pke | grep sterling
You (might|will) get an entry like
Code:
keycode  19 =0 parenright braceright degree braceright degree
with "sterling" where "braceright" or "degree" is in the example above.

If it is in the "braceright" position, then "AltGr + <the character after the =>" will give it, if it is in the "degree" position, it will be "Shift + AltGr + <the character after the =>"

If this doesn't work, post the output of
Code:
xmodmap -pke | grep sterling

_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Wed Sep 20, 2006 10:25 pm    Post subject: Reply with quote

xmodmap -pke | grep sterling

has no results

-Q
_________________
(\ /)
(O.o)
(> <)
This is Frank. He made me flood the school.
Back to top
View user's profile Send private message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Wed Sep 20, 2006 10:40 pm    Post subject: Reply with quote

even worse after a bit of playing

Code:
 xmodmap -e 'keycode 13 = 4 sterling'


yeilds nothing when shifting 4

hmm any hints ?
_________________
(\ /)
(O.o)
(> <)
This is Frank. He made me flood the school.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Thu Sep 21, 2006 10:03 am    Post subject: Reply with quote

AFAIK the only way to get your changes noticed is to
Code:
xmodmap -pke >~/.Xmodmap
edit the .Xmodmap in your home directory and restart X.

/etc/X11/xinit/xinitrc (which I believe is run by all flavours of desktop/window manager) has this to say
Code:
usermodmap=$HOME/.Xmodmap
...
if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi
There is also
Code:
xinitdir=/etc/X11
sysmodmap=$xinitdir/Xmodmap
which doesn't exist. I imagine that if you wanted everybody to have sterling on their keyboard, you'd create /etc/X11/Xmodmap instead of ~/.Xmodmap.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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