Results 1 to 3 of 3

Thread: Change keyboard language

  1. #1
    Join Date
    Jun 2010
    Beans
    2

    Change keyboard language

    Hi, I wonder, is there some way to change keyboard language to specific language by hotkey?
    For example:
    Shift+Alt+1 - English
    Shift+Alt+2 - Russian
    Shift+Alt+3 - Ukrainian

  2. #2
    Join Date
    Aug 2005
    Beans
    362

    Re: Change keyboard language

    Quote Originally Posted by qwasqwas View Post
    Hi, I wonder, is there some way to change keyboard language to specific language by hotkey?
    For example:
    Shift+Alt+1 - English
    Shift+Alt+2 - Russian
    Shift+Alt+3 - Ukrainian
    You could use Keyboard Shortcuts (in Preferences), where you set Ubuntu to execute commands when you press those shortcuts.

    You can assign to run the command 'setxkbmap us' for English, 'setxkbmap ru' for Russian and I think 'setxkbmap uk' for Ukrainian.

    Please report back if this worked for you

  3. #3
    Join Date
    Jun 2010
    Beans
    2

    Re: Change keyboard language

    Quote Originally Posted by simosx View Post
    You could use Keyboard Shortcuts (in Preferences), where you set Ubuntu to execute commands when you press those shortcuts.

    You can assign to run the command 'setxkbmap us' for English, 'setxkbmap ru' for Russian and I think 'setxkbmap uk' for Ukrainian.

    Please report back if this worked for you
    Thanks a lot, it helped me.
    However, System -> Preferences -> Keyboard Shortcuts seems a bit buggy(it doesn't work correctly with Shift+numbers hotkeys), but I managed to do what I wanted by editing "apps/metacity/keybinding_commands" in gconf-editor.
    Also it seems that setxkbmap resets list of available keyboard languages, but, as for me, this is not a big problem.

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
  •