Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Xubuntu 13.04 and I can't seem to get the right Lithuanian keyboard layout. None of layouts listed below works correct

enter image description here

Correct Lithuanian layout that I need:

enter image description here

Lithuanian symbols positioned in the place of digits: 1 for Ą, 2 for Č, 3 for Ę, 4 for Ė, 5 for Į, 6 for Š, 7 for Ų, 8 for Ū and = for Ž.

Any help is greatly appreciated.

share|improve this question

3 Answers 3

This is how I managed to get proper Lithuanian keyboard layout.

  1. Choose "Lithuanian (standard)" from Keyboard layout selection window.
  2. Set layout change option to "Alt+Shift" or anything else you like.
  3. Change variant of the keyboard layout by executing command in terminal: setxkbmap -variant ,
share|improve this answer
    
If you want to load the script automatically in XFCE, then create a new entry via "Settings Manager" → "Session and Startup" → "Application Autostart" with the following command: /bin/bash -c "sleep 5; setxkbmap -variant ," –  Weecka Jun 27 at 19:36

i took screenshots of these layouts from default ubuntu. take one then search for extended/special characters and compose key... default: default ibm: ibmlst standard: standard us: us

share|improve this answer
    
Thanks for your help pvtmert, if I understood correctly I need to adjust /etc/default/keyboard XKBOPTIONS="" with AltGr.. it seems to be easier install ubuntu default :) –  Slaptingas Paslaptingas Jun 14 '13 at 19:10
    
Well, not necessarily. The AltGr key will only do want you want if you have the right layout. Ubuntu Unity has 6 keyboards listed: the 5 in your image plus 1 more - the one that you want. The question is why isn't the 6th keyboard listed. –  chaskes Jun 14 '13 at 19:16

This may be only a partial answer.

Unity has the keyboard that you want. Keyboard Layout has all of the ones listed in your screenshot, but it also has one just called Lithuanian, which has the layout you are looking for.

It's located at /usr/share/X11/xkb/symbols/sun_vndr/lt It's installed as part of the package xkb-data and is part of the Xubuntu desktop.

The layout by itself is also available online: xkeyboard-config-emacs

You may be able to reinstall the package sudo apt-get install --reinstall xkb-data.

I think you can also copy the layout the same location if it's missing from your system; but I'm not entirely sure how XFCE/Xubuntu may have changed this configuration and whether or not you need to use any X11 command line tools.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.