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

Thread: language switcher in Lubuntu

  1. #1
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    language switcher in Lubuntu

    I'm forced to run

    setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar

    every time I need to switch to writing in Arabic. After entering this command, I can use the language switcher in the taskbar (I'm in LUBUNTU).

    If I re-boot, the language switcher no longer works - the alternative would be to hit ALT+SHIFT, but that's gone too.

    Is there any way I can fix this? For some reason, in Lubuntu the Preferences>Keyboard options are very limited.

  2. #2
    Join Date
    Feb 2008
    Beans
    5,636

    Re: language switcher in Lubuntu

    Well, put the
    Code:
    setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar
    command in your autostart script.

  3. #3
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: language switcher in Lubuntu

    er...how do I do that?

  4. #4
    Join Date
    Feb 2008
    Beans
    5,636

    Re: language switcher in Lubuntu

    Code:
    ~/.config/openbox/autostart.sh

  5. #5
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: language switcher in Lubuntu

    afraid, it didn't work

    (in Lubuntu) if I type sudo leafpad ~/.config/openbox/autostart.sh

    I get an empty file...

    any idea?

  6. #6
    Join Date
    Feb 2008
    Beans
    5,636

    Re: language switcher in Lubuntu

    Obviously it didn't exist.
    Put
    Code:
    setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar
    in it, save and exit.
    Log out, log in and see if it works.

  7. #7
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: language switcher in Lubuntu

    I did insert

    setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar

    in the empty ~/.config/openbox/autostart.sh
    plus logged out + back in again, and it didn't work.

  8. #8
    Join Date
    Feb 2008
    Beans
    5,636

    Re: language switcher in Lubuntu

    Oh God, just found out by googling that lubuntu doesn't use the standard openbox startup conventions.
    http://ubuntu-virginia.ubuntuforums.....php?t=1518818

  9. #9
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: language switcher in Lubuntu

    Here is an interesting solution for Lubuntu.
    http://foo-gr.blogspot.com/2010/04/k...ation-for.html

  10. #10
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: language switcher in Lubuntu

    it's a great solution!
    thanks!!!

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
  •