Cannot add any keyboard layout in MATE Desktop Environment in Ubuntu 14.04











up vote
3
down vote

favorite
1












When I log in Unity or MATE by sitting down behind the display I can change keyboards. However if I connect to my work PC via xrdp and use MATE version is 1.8.1 I cannot.



I need to use keyboard layout different to US. But when I tried to add layout with mate-keyboard-properties tool I got window with completely empty lists of countries and variants.



Hard googling found no solution. Any suggestions are appreciated.



P.S. When I use Unity I have no problems with keyboard layouts.










share|improve this question
























  • what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
    – Fabby
    Mar 11 '15 at 23:01










  • When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
    – codemonkey
    Mar 12 '15 at 6:49










  • Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
    – Fabby
    Mar 12 '15 at 10:38










  • The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
    – codemonkey
    Mar 16 '15 at 12:52















up vote
3
down vote

favorite
1












When I log in Unity or MATE by sitting down behind the display I can change keyboards. However if I connect to my work PC via xrdp and use MATE version is 1.8.1 I cannot.



I need to use keyboard layout different to US. But when I tried to add layout with mate-keyboard-properties tool I got window with completely empty lists of countries and variants.



Hard googling found no solution. Any suggestions are appreciated.



P.S. When I use Unity I have no problems with keyboard layouts.










share|improve this question
























  • what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
    – Fabby
    Mar 11 '15 at 23:01










  • When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
    – codemonkey
    Mar 12 '15 at 6:49










  • Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
    – Fabby
    Mar 12 '15 at 10:38










  • The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
    – codemonkey
    Mar 16 '15 at 12:52













up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





When I log in Unity or MATE by sitting down behind the display I can change keyboards. However if I connect to my work PC via xrdp and use MATE version is 1.8.1 I cannot.



I need to use keyboard layout different to US. But when I tried to add layout with mate-keyboard-properties tool I got window with completely empty lists of countries and variants.



Hard googling found no solution. Any suggestions are appreciated.



P.S. When I use Unity I have no problems with keyboard layouts.










share|improve this question















When I log in Unity or MATE by sitting down behind the display I can change keyboards. However if I connect to my work PC via xrdp and use MATE version is 1.8.1 I cannot.



I need to use keyboard layout different to US. But when I tried to add layout with mate-keyboard-properties tool I got window with completely empty lists of countries and variants.



Hard googling found no solution. Any suggestions are appreciated.



P.S. When I use Unity I have no problems with keyboard layouts.







14.04 keyboard-layout mate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 12 '15 at 10:38









Fabby

25.8k1359159




25.8k1359159










asked Mar 7 '15 at 17:21









codemonkey

2616




2616












  • what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
    – Fabby
    Mar 11 '15 at 23:01










  • When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
    – codemonkey
    Mar 12 '15 at 6:49










  • Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
    – Fabby
    Mar 12 '15 at 10:38










  • The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
    – codemonkey
    Mar 16 '15 at 12:52


















  • what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
    – Fabby
    Mar 11 '15 at 23:01










  • When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
    – codemonkey
    Mar 12 '15 at 6:49










  • Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
    – Fabby
    Mar 12 '15 at 10:38










  • The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
    – codemonkey
    Mar 16 '15 at 12:52
















what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
– Fabby
Mar 11 '15 at 23:01




what happens if you type "keyboard" in the search bar, click that icon and go to the "layouts" tab?
– Fabby
Mar 11 '15 at 23:01












When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
– codemonkey
Mar 12 '15 at 6:49




When I logged in Unity or MATE in usual way, sit down behind display everything looks to be OK. I can add and change layouts. But when I logged via xrdp everything with layouts goes mad. I suspect it's bug in xrdp.
– codemonkey
Mar 12 '15 at 6:49












Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
– Fabby
Mar 12 '15 at 10:38




Sorry, as I don't use mate nor xdrp. I use Unity and VNC.
– Fabby
Mar 12 '15 at 10:38












The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
– codemonkey
Mar 16 '15 at 12:52




The worst thing in VNC that everything you do reflects on the screen. I know it by design but there is no way to disable such behavior.
– codemonkey
Mar 16 '15 at 12:52










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The behavior you described is kind of expected.
Within xrdp session, indeed, you have no much possibilities to change the keyboard layout.



To define your keyboard layout within the xrdp session, you have to use the xrdp tools as well. You have to login into your ubuntu machine (console access no remote session) and perform the following steps





  • Step 1 : You go to the /etc/xrdp directory


  • Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use


  • Step 3 : create a copy of the km-0409.ini file into the same directory.


  • Step 4 : Check that you have a backup of your file by typing the dir or ls command


  • Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini


Hope this help



Link & References : ubuntu 14.10 - how to install xrdp and have it working






share|improve this answer





















  • Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
    – Shunyata Kharg
    May 24 '16 at 16:03












  • Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
    – Griffon
    May 29 '16 at 10:18












  • Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
    – Shunyata Kharg
    May 29 '16 at 19:27











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f593918%2fcannot-add-any-keyboard-layout-in-mate-desktop-environment-in-ubuntu-14-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













The behavior you described is kind of expected.
Within xrdp session, indeed, you have no much possibilities to change the keyboard layout.



To define your keyboard layout within the xrdp session, you have to use the xrdp tools as well. You have to login into your ubuntu machine (console access no remote session) and perform the following steps





  • Step 1 : You go to the /etc/xrdp directory


  • Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use


  • Step 3 : create a copy of the km-0409.ini file into the same directory.


  • Step 4 : Check that you have a backup of your file by typing the dir or ls command


  • Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini


Hope this help



Link & References : ubuntu 14.10 - how to install xrdp and have it working






share|improve this answer





















  • Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
    – Shunyata Kharg
    May 24 '16 at 16:03












  • Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
    – Griffon
    May 29 '16 at 10:18












  • Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
    – Shunyata Kharg
    May 29 '16 at 19:27















up vote
0
down vote













The behavior you described is kind of expected.
Within xrdp session, indeed, you have no much possibilities to change the keyboard layout.



To define your keyboard layout within the xrdp session, you have to use the xrdp tools as well. You have to login into your ubuntu machine (console access no remote session) and perform the following steps





  • Step 1 : You go to the /etc/xrdp directory


  • Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use


  • Step 3 : create a copy of the km-0409.ini file into the same directory.


  • Step 4 : Check that you have a backup of your file by typing the dir or ls command


  • Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini


Hope this help



Link & References : ubuntu 14.10 - how to install xrdp and have it working






share|improve this answer





















  • Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
    – Shunyata Kharg
    May 24 '16 at 16:03












  • Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
    – Griffon
    May 29 '16 at 10:18












  • Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
    – Shunyata Kharg
    May 29 '16 at 19:27













up vote
0
down vote










up vote
0
down vote









The behavior you described is kind of expected.
Within xrdp session, indeed, you have no much possibilities to change the keyboard layout.



To define your keyboard layout within the xrdp session, you have to use the xrdp tools as well. You have to login into your ubuntu machine (console access no remote session) and perform the following steps





  • Step 1 : You go to the /etc/xrdp directory


  • Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use


  • Step 3 : create a copy of the km-0409.ini file into the same directory.


  • Step 4 : Check that you have a backup of your file by typing the dir or ls command


  • Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini


Hope this help



Link & References : ubuntu 14.10 - how to install xrdp and have it working






share|improve this answer












The behavior you described is kind of expected.
Within xrdp session, indeed, you have no much possibilities to change the keyboard layout.



To define your keyboard layout within the xrdp session, you have to use the xrdp tools as well. You have to login into your ubuntu machine (console access no remote session) and perform the following steps





  • Step 1 : You go to the /etc/xrdp directory


  • Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use


  • Step 3 : create a copy of the km-0409.ini file into the same directory.


  • Step 4 : Check that you have a backup of your file by typing the dir or ls command


  • Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini


Hope this help



Link & References : ubuntu 14.10 - how to install xrdp and have it working







share|improve this answer












share|improve this answer



share|improve this answer










answered May 6 '16 at 9:28









Griffon

694411




694411












  • Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
    – Shunyata Kharg
    May 24 '16 at 16:03












  • Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
    – Griffon
    May 29 '16 at 10:18












  • Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
    – Shunyata Kharg
    May 29 '16 at 19:27


















  • Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
    – Shunyata Kharg
    May 24 '16 at 16:03












  • Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
    – Griffon
    May 29 '16 at 10:18












  • Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
    – Shunyata Kharg
    May 29 '16 at 19:27
















Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
– Shunyata Kharg
May 24 '16 at 16:03






Unfortunately the setxkbmap command doesn't seem to work for all layouts, as documented here: component-parts.blogspot.com.es/2012/08/… I have the same problem but with a Spanish keyboard.
– Shunyata Kharg
May 24 '16 at 16:03














Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
– Griffon
May 29 '16 at 10:18






Hello There, do not get confused setxkbmap is one thing. the xrdp-gekeymap is something else. If you go to this link (c-nergy.be/blog/?p=3858), you will find a procedure that explains how you can fix some of the keyboard layout issue you have WHILE CONNECTED TO YOUR REMOTE DESKTOP SESSION. At the end of the post, you can find a ready to use traditional Spanish xrdp keyboard layout file (km-040a.ini). If this file does not fits your needs, you will have to identify the missing keys on your keyboard and update the ini file Hope this help
– Griffon
May 29 '16 at 10:18














Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
– Shunyata Kharg
May 29 '16 at 19:27




Thank you, the process described in the c-nergy link seems similar to that described in my link using the 'xev' tool. Mercifully I was saved from going through either by a Spanish raspberry pi user who had the same problem with xrdp there and who recreated the file from scratch (the only file I've found so far that works perfectly) spainlabs.com/foros/…
– Shunyata Kharg
May 29 '16 at 19:27


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f593918%2fcannot-add-any-keyboard-layout-in-mate-desktop-environment-in-ubuntu-14-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局