How do you undo loadkeys?

Clash Royale CLAN TAG#URR8PPP up vote
-1
down vote
favorite
I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.
server
add a comment |Â
up vote
-1
down vote
favorite
I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.
server
1
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.
server
I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.
server
asked Apr 27 at 19:20
Username
11
11
1
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51
add a comment |Â
1
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51
1
1
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).
As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
add a comment |Â
up vote
0
down vote
As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).
As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
add a comment |Â
up vote
1
down vote
accepted
You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).
As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).
As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.
You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).
As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.
edited Apr 27 at 21:13
answered Apr 27 at 20:58
JanC
16.4k13446
16.4k13446
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
add a comment |Â
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
I did not know much about aliases. I should have checked beforehand. Thanks.
â Username
Apr 28 at 11:52
add a comment |Â
up vote
0
down vote
As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.
add a comment |Â
up vote
0
down vote
As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.
As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.
answered Apr 28 at 2:35
kbenoit
1,6421813
1,6421813
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028929%2fhow-do-you-undo-loadkeys%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issueâ¦
â JanC
Apr 27 at 20:51