Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Keyboard layout disappears

  1. #1
    Join Date
    Feb 2008
    Location
    Nicaragua
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Unhappy Keyboard layout disappears

    Alternate keyboards suddenly disappered yesterday. I have Ubuntu 8.04 installed on my Vaio VGN750N, and it has been working well. I work in several languages and therefore use 3 keyboard layouts (US, Spanish and Danish). The keyboard applet continues to be there showing the three keyboards, but only the US keyboard is working. To get them back, I have to go into Sytem/tools/preferences/keyboards, restore default (only US) and then reinstall the Spanish and Danish keyboards. It then works normally, but disappears again after each reboot. Are there any solutions or will I have to reinstall Ubuntu to solve it?

  2. #2
    Join Date
    Jun 2008
    Beans
    5

    Re: Keyboard layout disappears

    I have the precise same problem on my Asus laptop. It seems that Ubuntu over writes any changes in the language settings on startup.

  3. #3
    Join Date
    Feb 2008
    Location
    Nicaragua
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Keyboard layout disappears

    Keyboard switching can be solved editing the xorg.conf as described in https://bugs.launchpad.net/ubuntu/+s...rd/+bug/196277

    Edit your xorg.conf: sudo gedit /etc/X11/xorg.conf

    The keyboard section should look like this:

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,XX"
    Option "XKbOptions" "grp:alt_shift_toggle"
    EndSection

    The two changes to make are:
    (1) under "XkbLayout", replace "us" with "us,XX", where XX is the ISO country code for the alternate language(country codes can be found at http://www.iso.org/iso/support/count...ding_table.htm). You can add more codes if you want, separated by a comma (I have three: US, DK, ES).
    (2) ad the line
    Option "XKbOptions" "grp:alt_shift_toggle"

    Then it works, also after reboot.

    At the same page, somebody mentions that the problems is related to automated log-in, so if you go back to normal log-in the problem disappears. I have not tried that.
    then you can shift between alternate keyboards with alt-shift (as in Windows).

  4. #4
    Join Date
    Jun 2008
    Beans
    5

    Smile Re: Keyboard layout disappears

    Thanks. I have also found this thread, which solved my problem.

    Saludos
    Morten

  5. #5
    Join Date
    Aug 2008
    Location
    Israel
    Beans
    7

    Re: Keyboard layout disappears

    I'm sorry, I'm new to ubuntu, and to linux generally.
    I'm using 3 layouts, and got the same problem, I tryed to change it and got this message:
    "You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."

    Where do I get the permission needed?

    P.S. I tryed giving all the permissions to the user and still the same message.

  6. #6
    Join Date
    Jun 2008
    Beans
    5

    Re: Keyboard layout disappears

    Quote Originally Posted by mitshi View Post
    I'm sorry, I'm new to ubuntu, and to linux generally.
    I'm using 3 layouts, and got the same problem, I tryed to change it and got this message:
    "You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."

    Where do I get the permission needed?

    P.S. I tryed giving all the permissions to the user and still the same message.
    You properly have to edit /etc/X11/xorg.conf as root or superuser. I usually use krusader en root mode to edit configuration files.
    Otherwise use gedit as Thorbjornw suggests: type "sudo gedit /etc/X11/xorg.conf" in a terminal.

  7. #7
    Join Date
    Aug 2008
    Location
    Israel
    Beans
    7

    Question Re: Keyboard layout disappears

    Thanks, but I'm not that new
    I got the message when I tried that.

    I don't know how to login to root or as administrator, or something..

  8. #8
    Join Date
    Jun 2008
    Beans
    5

    Re: Keyboard layout disappears

    Are you using the sudo command like in the example in my last post?

  9. #9
    Join Date
    Aug 2008
    Location
    Israel
    Beans
    7

    Re: Keyboard layout disappears

    Yes, but how do I enter the "root mode" or as "superuser"?

  10. #10
    Join Date
    Feb 2008
    Location
    Nicaragua
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Keyboard layout disappears

    Every command you enter starting with "sudo" means that you are superuser (Super User DO). You will be asked for your password before the command is executed to make sure you have the permission.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •