Удалил скомпилированные раскладки клавиатуры
Прежде всего, я новичок в Linux (использую Ubuntu и получил 1 день опыта:p), поэтому, хотя я думаю, что знаю, как решить проблему, я не знаю, как на самом деле это сделать.
Я хотел изменить раскладку клавиатуры, поэтому я вошел в /usr/share/X11/xkb/symbols/ и изменил файл "us".
сначала я переназначил 'a' в 'q' в качестве теста, а затем удалил предварительно скомпилированные (?) макеты в /var/lib/xkb/
Чтобы увидеть эффект, я должен перезагрузить Xorg, но я не знаю, как это сделать, поэтому я просто перезагрузил компьютер.
Тест сработал отлично, поэтому я продолжил и попытался переназначить '-' на altgr. после этого я снова перезагрузился, но на этот раз папка /var/lib/xkb/ была пуста, и моя клавиатура вообще не работала.
Я полагаю, что "altgr" является недопустимым ключевым словом, и оно выдает ошибку при попытке скомпилировать новые макеты, и по этой причине папка пуста.
Как это исправить? I saved the broken version of the 'us' file on the Desktop, and the original working compiled files as well, but I can't type my password in, in the Terminal without a keyboard, so I don't know how to move the working compiled files from the Desktop, or delete the broken 'us' script.
I imagine by deleting the broken 'us' script I could pick another layout language, and it would compile without an error.
As I write the last sentence I realize I might be able to disable the US layout and only use the Danish one. I'll try that and delete this post if it works (doubt it)
Hope someone can help me out. This is written on the live CD.
@dschinn1001: I use the newest ubuntu version, think it's 14.04 with unity. the problem is not finding a working layout. What I want is to use the dvorak layout, but change it, so '-' work as a modifier key, so I can press '- plus a' and get '$'.
I don't write here to get help with that, I'm sure I can figure that out myself with a bit of practice. What I want is a way to do this -> 'sudo mv old_dir new_dir' or whatever the real command is, but without a working keyboard. I can write the text using googles on-board keyboard, and copy/past but I can't press enter(in the Terminal), and i can't type my sudo password. I found a command I could C/P to into the Terminal that worked as 'enter' but it didn't work with my sudo password
- Lukas Hansen