The officially official Devuan Forum!

You are not logged in.

#1 2026-08-17 11:13:34

vrgovinda
Member
Registered: 2023-06-14
Posts: 30  

rupee currency symbol (₹)

Hi all/

I got into a problem here.

I have a 104 key keyboard with a L-shaped Enter key US layout.
Off late, the rupee currency symbol (on 4) hasn't been working. It used to work in the past.

OS: Excalibur
DE: Xfce
Input source: English (India, with rupee)

I will be grateful if the rupee currency symbol (₹) can be made to work again using Alt + 4

regards,
vrgovinda

Last edited by vrgovinda (2026-08-17 11:24:11)


know who you are and be who you are.

Offline

#2 2026-08-17 16:09:01

RedGreen925
Member
Registered: 2024-12-07
Posts: 308  

Re: rupee currency symbol (₹)

The Compose key held down then the = key hit letting the Compose go then a shift key held for a capital R give me the ₹ character.  I use this script to enable the Compose key as the useless to me Caps lock key in LXQT in its autostart option in the settings, KDE when I used to use it had the option to enable directly in its settings. Perhaps you may want to check in your settings on xfce to see if an option exists for it or run the command in the script as normal user in a Terminal then try the combination for its display.

zeus@9600k:~$ cat bin/compose_key.sh 
#!/bin/bash
# enable compose key on login when using LXQT

setxkbmap -option "compose:caps"

Offline

#3 2026-08-17 19:15:48

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,978  

Re: rupee currency symbol (₹)

I think only Gnome, KDE and Mate include a keyboard layout setting for English(India) with rupee. I couldn't find it in xfce or lxqt. Other option is to customize as described above or similar.

Offline

#4 2026-08-18 00:13:52

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,740  

Re: rupee currency symbol (₹)

Afaict, the Indian keyboard layout (setxkbmap in) seems to have a generic Rupee key code ( U2089 = ₹ ) bound to Right-Alt + Shift + 4.

Offline

#5 2026-08-18 00:25:15

tux_99
Member
Registered: 2025-06-17
Posts: 145  

Re: rupee currency symbol (₹)

You can create an /etc/X11/Xmodmap (if you want it for all users) or ~/.Xmodmap (just for your own user) file with the keymappings you need.

To check which keymap corresponds to a key on your keyboard run xev in a terminal.

A mapping looks like this (this adds the '©' symbol on the 'c' key on my keyboard using the right Windows key as modifier):

keysym Super_R = Mode_switch
keysym    c = c C copyright

See also the Xmodmap man-page.

Last edited by tux_99 (2026-08-18 00:29:04)


Either the users control the program – or the program controls the users” Richard Stallman

Offline

#6 2026-08-19 10:09:33

vrgovinda
Member
Registered: 2023-06-14
Posts: 30  

Re: rupee currency symbol (₹)

Thanks to one and all for your thoughts.

I forgot to mention that I am using ibus input framework.

With the English (India, with rupee) as the input method, I was actually able to get it with Alt_Right + 4.

Now I discovered that Alt_right + Shift + 4 outputs £ even with Tamil, Sanskrit and Hindi as the input methods.

So I think it should be possible to tinker with some existing config file which might have got corrupted or changed.

I don't wish to create a new file just to get this right.

Thanks again.
Grateful for giving your time.


know who you are and be who you are.

Offline

#7 Today 07:42:19

Mercury
Member
Registered: 2024-11-14
Posts: 43  

Re: rupee currency symbol (₹)

Xmodmap is a very commonly suggested quick-and-dirty solution and it does work, but it's a patch over a missing or incorrect xkb layout, which is what should really be fixed.

What is the output of setxkbmap -verbose 10? That will show what layout and additional options are being used.

If the command is not found, you need to install the x11-xkb-utils package first.

Offline

Board footer