I have this handy xmodmap

keycode  26 = e E schwa EuroSign
keycode  33 = p P U20B1
keycode  57 = n N ntilde Ntilde
keycode 113 = Mode_switch Multi_key

just put it in a file and run xmodmap xmodmap.file or

xmodmap -e "keycode  33 = p P U20B1"

your keycode may be different

also you may need a unicode locale and fonts supporting the peso sign
like gentium, dejavu sans, etc.

On Thu, Dec 18, 2008 at 3:48 PM, Slim Joe <[email protected]> wrote:
> On 2008/12/16, Rafael wrote:
>> I've been playing around with the compose key and it seems to be neat
>> enough for those times when you want to type stuff such as á and other
>> stuff that doesn't appear on a normal US-layout keyboard.  I'm trying
>> to find out how to add non-standard compose key sequences,
>> specifically, I want to bind Compose-P-= to ₱.  If you can't see it,
>> it's U+20B1, the Philippine peso sign.  Haven't had much luck figuring
>> out how to do this.  Has anyone succeeded in doing something similar?
>
> I know Gnome keeps its own keyboard mappings. But for
> fixing it in plain X, I think you have to modify some
> locale files under:
>
> /usr/share/X11/locale/
>
> In particular take a look at the output of:
>
> ls /usr/share/X11/locale/*/Compose
>
> But why not fix it for everybody? My FOSS skills is limited
> to simple code scanning. Maybe someone with better
> abilities can submit a patch to have an official Philippine
> peso compose key sequence? The compose key maps are a
> part of libx11 (libx11-data in Ubuntu Debian).
>
> http://cgit.freedesktop.org/xorg/lib/libX11/
>
> Maybe some Gnome or KDE fan knows where their
> favorite desktop keeps its corresponding key maps?
>
> PLUG members, what do you think? Wouldn't this be a good
> if minor PLUG project, to get our beloved peso be officially
> recognized by the major Linux/BSD distros?
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to