View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#37
Open Xterminal
become root by typing:
Code:
sudo su
go to the directory, where the cofiguration is stored:
Code:
cd /usr/share/X11/xkb/symbols/nokia_vndr/
you will change the rx-51 file. But first it's better to make a backup of the original file. So type:
Code:
cp rx-51 rx-51.backup
ok. Now if you do
Code:
ls
you will see that you have also the backup file in the directory. Let's change the file using vi (or vim, if installed - the commands are the same):
Code:
vi rx-51
the file is now opened in the Xterminal. Use the up/down keys or PgUp/PgDn on the screen to find the part of the file you are looking for.
Press i (just the letter i) and now you can Insert some text in the file. When you have modyfied what you needed type: Esc (on the screen) and
Code:
:wq
(that means: esc - exit from instert mode, : - begin a vi command, w - write to file (save), q - quit and back to command line).
More useful vi commands:
Code:
(esc):q
- just quit
Code:
(esc):q!
- quit without save

Remember to do backups of the files you are changing, if you are not secure.
 

The Following 3 Users Say Thank You to For This Useful Post: