Skip to content

yasharrashedi/windows-persian-keyboard-for-ubuntu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Windows persian keyboard for ubuntu

How to customize ubuntu persian keyboard layout to be like windows

steps

  1. first go to xkb folder
cd /usr/share/X11/xkb/symbols
  1. make backup of persian symbol file
cp ./ir ./ir-backup
  1. copy ir file below and then modify symbols file
sudo gedit ./ir
  1. make backup of layout declaration
cd /usr/share/X11/xkb/rules
cp ./evdev.xml ./evdev-backup.xml
  1. Add the new layout declaration to /usr/share/X11/xkb/rules/evdev.xml (or copy evdev.xml file and paste it there)
sudo gedit ./evdev.xml

add this line after Persian (with Persian keypad) section

...
<variant>
  <configItem>
    <name>pes_win</name>
    <description>Persian (Windows layout)</description>
  </configItem>
</variant>
...
  1. now logout and when you log back, go to settings > Region and language (or where ever your keyboard perference is) and in input sources click on + button and search for Persian (Windows layout), and add it.

About

How to customize ubuntu persian keyboard layout to be like windows

Resources

Stars

Watchers

Forks

Packages

No packages published