[Ilugc] Rupee Symbol

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Wed, 3 Feb 2016 15:52:30 +0530

On Wed, Feb 3, 2016 at 2:57 PM, Mohan Sundaram <mohan.tux at gmail.com> wrote:

On Wed, Feb 3, 2016 at 4:55 AM, Sahasranaman M S <sahasr at naman.ms> 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

Other related posts: