Score:0

A problem with persian keyboard layout

th flag

The layout for Persian keyboard is a little old right now, so we (OR better to say I) have a problem with using some characters in Persian layout. For example, putting hashtags(#) in Persian keyboard layout which is used by Linux requires Shift+Alt+3 although in windows and also English layout is Shift+3, and Shift+3 in Persian layout is some character that I have not seen anyone using it anywhere!

Here is the default layout:

Here is the default layout

So I'm really interested to find some way to edit this or download and use the default layout used in Windows. Note that there are some other problems with this layout which Windows fixed them before.

P.S.: I found something here : Keyboard layout problem during changing persian keyboard
But I don't know how to change the settings I need without breaking things.

Gunnar Hjalmarsson avatar
uz flag
I disagree on your description on how it works. <Shift>+<AltGr>+3 results in the Arabic digit 3 for me. To type # I only need to press <AltGr>+3. But with that said there is a _Kurdish (Iran, Arabic-Latin)_ layout which possibly is more to your liking, at least as a starting point. <Shift>+3 -> #، <AltGr>+3 -> 3
amiraloi avatar
th flag
I'm correctly running Manjaro Cinnamon so that may be the case, but about the Kurdish keyboard, typing some words like غ چ ذ will be a little difficult. it's still easier to stick with Persian(again I'm used to it). I was just looking to a way to make it better, and also I think some of these Chars won't be used so they can be replaced with third layer.
Gunnar Hjalmarsson avatar
uz flag
Then you can simply open the `/usr/share/X11/xkb/symbols/ir` file for editing and modify the number keys of the Persian layout, maybe using the Kurdish layout as a guidance. If you would make some mistake, you can always reset via `sudo apt install --reinstall xkb-data`.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.