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

Thread: Keyboard layout keeps changing

  1. #1
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Keyboard layout keeps changing

    Hi,

    I'm using Lubuntu 11.10. My Keyboard layout keeps changing after every reboot.Its always resetting to Senegal but i want is United States. Any idea on how to fix it.

    Thanks
    Adarsh

  2. #2
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Keyboard layout keeps changing

    Any idea ?.

  3. #3
    Join Date
    Oct 2009
    Location
    StartUbuntu
    Beans
    4,245
    Distro
    Ubuntu Gnome Development Release

    Re: Keyboard layout keeps changing

    Quote Originally Posted by Adarzh View Post
    Hi,

    I'm using Lubuntu 11.10. My Keyboard layout keeps changing after every reboot.Its always resetting to Senegal but i want is United States. Any idea on how to fix it.

    Thanks
    Adarsh
    Hi,

    I just got this email from one of the Lubuntu Team via Mailing List 19 hours ago:

    Hi,

    as I got a lot of requests to implement an autostart feature for
    lxkeymap I did it.
    LXKeymap 0.5 is now capable to store its keymap configuration into a
    file that it reads out during autostart.
    Therefore I wrote a little *.desktop file that I put in the global
    /etc/xdg/autostart which contains the new command "lxkeymap -a" to
    trigger the autostart function of lxkeymap. The Keymap configuration
    will be stored locally in your home directory ( ~/.config/lxkeymap.cfg)
    and is easily editable either by using lxkeymap and set a new keymap or
    by editing it by hand.
    You can get this version from here:
    http://content.wuala.com/contents/le...1_all.deb?dl=1

    If you notice any bugs then report them here: http://launchpad.net/lxkeymap

    Also I guess there is a bug in lxdm, because changing the keyboard
    layout in the session and logging out to lxdm does not restore the
    global keymap but uses the one choosen in the session.
    This could be also fixed by simply calling "lxkeymap -a" from within
    lxdm but as lxkeymap uses only a local configuration it would then
    create and use the root accounts .config/lxkeymap.cfg file. So you need
    to create this first by executing lxkeymap as root if you want to have a
    different keymap globally+lxdm and your user accounts.
    Let me know if you need anything else

  4. #4
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Keyboard layout keeps changing

    amjjawad,

    I tried it but it isn't working even though all the new files and configuration is in place as in the document

  5. #5
    Join Date
    Oct 2009
    Location
    StartUbuntu
    Beans
    4,245
    Distro
    Ubuntu Gnome Development Release

    Re: Keyboard layout keeps changing

    Quote Originally Posted by Adarzh View Post
    amjjawad,

    I tried it but it isn't working even though all the new files and configuration is in place as in the document
    Ok, any error message?

  6. #6
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Keyboard layout keeps changing

    amjjawad,

    Actually it worked but only after you logged in to the system. In the login page, it is still using different keymap. But if you could somehow loin(like tying all keys to know for username and password), then it will use the kaymap which is saved in the last or any session.

    Thanks for helping.

    Adarsh

  7. #7
    Join Date
    Oct 2009
    Location
    StartUbuntu
    Beans
    4,245
    Distro
    Ubuntu Gnome Development Release

    Re: Keyboard layout keeps changing

    Quote Originally Posted by Adarzh View Post
    amjjawad,

    Actually it worked but only after you logged in to the system. In the login page, it is still using different keymap. But if you could somehow loin(like tying all keys to know for username and password), then it will use the kaymap which is saved in the last or any session.

    Thanks for helping.

    Adarsh

    I'm so sorry, could you please explain that again?

    You most welcome but I did nothing yet

  8. #8
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Keyboard layout keeps changing

    What i meant say is that, in the Login page(where you enter username and password), the keyboard layout is still the old one. But if i could somehow login, then layout will become US again.

    For example in my case, what i want is US layout but my system is always defaulted to Senegal upon reboot. So i took your advice and updated the Lxkeymap and saved the layout to US. Now after reboot i again reached the login page but here, the layout is still Senagal and not US. My username is 'adarsh' . For Senagal keyboard it is 'qdqrsh'. so if i type these, i could login to the system. Upon logging in to the system, keyboard layout will be the one that you saved in your last session (here US).

    Hopes that explains..

    Adarsh

  9. #9
    Join Date
    Oct 2009
    Location
    StartUbuntu
    Beans
    4,245
    Distro
    Ubuntu Gnome Development Release

    Re: Keyboard layout keeps changing

    Quote Originally Posted by Adarzh View Post
    What i meant say is that, in the Login page(where you enter username and password), the keyboard layout is still the old one. But if i could somehow login, then layout will become US again.

    For example in my case, what i want is US layout but my system is always defaulted to Senegal upon reboot. So i took your advice and updated the Lxkeymap and saved the layout to US. Now after reboot i again reached the login page but here, the layout is still Senagal and not US. My username is 'adarsh' . For Senagal keyboard it is 'qdqrsh'. so if i type these, i could login to the system. Upon logging in to the system, keyboard layout will be the one that you saved in your last session (here US).

    Hopes that explains..

    Adarsh
    Ok, so you mean it does save it ONLY at the Login Screen but once you login to your Desktop, it changes to the default which is US Layout, right?

    And the fix that I posted previously wasn't helpful, right?

    If you are 100% sure that you followed this post: http://ubuntuforums.org/showpost.php...71&postcount=3

    and the problem is still happening, please report that as explained in that post

    If you notice any bugs then report them here: http://launchpad.net/lxkeymap

  10. #10
    Join Date
    Jan 2009
    Location
    India
    Beans
    19
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Keyboard layout keeps changing

    Exactly..the fix not working at Login page...but it will work after you logged in to the Desktop.

    What i think is the problem is that the keymap configuration file is saved at .config/lxkeymap.cfg at user level not at the global level.

    This is the content of my keymap.cfg file
    [Global]
    layout = us
    variant =
    Adarsh

Page 1 of 2 12 LastLast

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
  •