Re: Rupee Symbol

Mohan Sundaram <[email protected]> Wed, 3 Feb 2016 15:52:30 +0530
Newsgroups gmane.org.user-groups.linux.ilugc
Message-ID <CAFum4PntD61Z+_Sff0Muts0t93QQ92B_hZ27SfzC39LrQ1VuAQ@mail.gmail.com>
On Wed, Feb 3, 2016 at 2:57 PM, Mohan Sundaram <[email protected]> wrote:

> On Wed, Feb 3, 2016 at 4:55 AM, Sahasranaman M S <[email protected]> wrote:
>
>> On Tuesday 02 February 2016 10:39 PM, Arun Khan wrote:
>> > I guess, the question is about how to have the ₹ symbol mapped to a key.
>> > So when you "type" that key, it will output the ₹ symbol just like the
>> > $ on an US keyboard.
>>
>> I guess on most machines,  if we have English (India) keyboard
>> installed,  the right Alt + 4 is the ₹ sign.  Just like Shift + 4 is the
>> $ sign.
>
>
> Came across this
> https://abhidg.wordpress.com/2010/10/14/typing-the-indian-rupee-symbol-in-debianubuntu/.
> I was looking for a Xmodmap example to use this symbol in Writer.


I use awesome as my window manager and not gnome. Thus I use
setxkbmap/xmodmap. Getting the rupee symbol in writer and other such apps
was a pain but I never bothered till I saw this. I have used xmodmap to set
up my modifier keys as per my liking in awesome.

On my keyboard, F11 (keycode 95) and F12(keycode 96) were not use for any
purpose. I set up F12 to give me the rupee symbol by mapping it
appropriately.

You can test it in a terminal as under:
$ xmodmap -e "keycode 96 = U20B9 U20B9 "

After this, through the session, F12 will give you the rupee symbol. To
make it permanent, you will need to make this entry in the ./Xmodmap file.

-- Mohan Sundaram
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines