Fwd: Keyboard shortcuts (CTRL+C CTRL+V) don't work when keyboard is set to Hebrew

Walter Lapchynski wxl at ubuntu.com
Fri Mar 6 16:18:37 UTC 2015


Did ctrl-space not work? That's the default, right?

@wxl
Lubuntu Release Manager, Head of QA
Ubuntu PPC Point of Contact
Ubuntu Oregon Team Leader
On Mar 1, 2015 2:17 PM, "אלעד הן" <eladhen2 at gmail.com> wrote:

> It seems the solution I gave you isn't a permanent one. I've found (with
> the help of that friend) the method to make the change permanent in this
> discussion:
> http://askubuntu.com/questions/102344/switching-keyboard-layouts-in-lubuntu-11-10
>
> It's a bit complicated but I'm copying it in hope that it will help others:
>
>
>    1.
>
>    Install the desired languages.
>
>    $ gnome-language-selector
>
>    2.
>
>    Create a shell script to execute setxkbmap after a delay and save it
>    in a convenient place. Running it in the background may speed up the login
>    process. Increase sleep time if needed. Replace "us, il" with your desired
>    language codes.
>
>    $ echo '(sleep 2; setxkbmap -option grp:alt_shift_toggle -layout "us,il") &' > ~/setxkbmap.sh
>
>    3.
>
>    Make the script executable and verify that it works by toggling the
>    key combination Alt-Shift to switch language.
>
>    $ chmod +x ~/setxkbmap.sh
>    $ ~/setxkbmap.sh
>
>    4.
>
>    Create a .desktop file which executes the shell script just created.
>    Replace "username" with your username.
>
>    $ echo '[Desktop Entry]
>    Type=Application
>    Name=Keyboard Language Switcher
>    Exec=/home/username/setxkbmap.sh
>    Icon=/usr/share/lxkeymap/media/icon.png
>    ' > ~/Desktop/setxkbmap.desktop
>
>    5.
>
>    Logout and login again, then test by clicking on the new icon on your
>    desktop, then toggling Alt-Shift.
>    6.
>
>    Move the .desktop file to ~/.config/autostart
>
>    $ mv ~/Desktop/setxkbmap.desktop ~/.config/autostart
>
>    7.
>
>    Logout and login again, then test by toggling Alt-Shift.
>
>
>
>
>
> אלעד הן
> נייד: 052-5348554
>
> On Sun, Mar 1, 2015 at 11:08 PM, אלעד הן <eladhen2 at gmail.com> wrote:
>
>> Of course, you should uninstall the Hebrew input method before doing this.
>>
>>
>>
>>
>> אלעד הן
>> נייד: 052-5348554
>>
>> On Sun, Mar 1, 2015 at 11:02 PM, אלעד הן <eladhen2 at gmail.com> wrote:
>>
>>> Ok, a good friend, and far more knowledgeable than myself in the world
>>> of linux, gave me the solution.
>>>
>>> He says he thinks the way Lubuntu switches between languages is the
>>> source of the problem.
>>>
>>> He told me to run this command:
>>>
>>> *setxkbmap -option grp:alt_shift_toggle "us,il"*
>>>
>>> Now everything works wonderfully.
>>>
>>> How can I help lubuntu fix this problem?
>>>
>>> Thank all of you for your patience and your help. It makes even solving
>>> problems a nice experience.
>>>
>>>
>>>
>>>
>>>
>>>
>>> אלעד הן
>>> נייד: 052-5348554
>>>
>>> On Sun, Mar 1, 2015 at 10:33 PM, אלעד הן <eladhen2 at gmail.com> wrote:
>>>
>>>> I tried it out in Gedit. LibreOffice still has the spellchecker.
>>>>
>>>>
>>>>
>>>>
>>>> אלעד הן
>>>> נייד: 052-5348554
>>>>
>>>> On Sun, Mar 1, 2015 at 10:30 PM, Walter Lapchynski <wxl at ubuntu.com>
>>>> wrote:
>>>>
>>>>> מזל טוב ☺
>>>>>
>>>>> What word processor?
>>>>>
>>>>> On Sun, Mar 1, 2015 at 12:28 PM, אלעד הן <eladhen2 at gmail.com> wrote:
>>>>> > It worked! Thank you so much!
>>>>> >
>>>>> > The only problem is now I seem to have lost the Hebrew spell
>>>>> checker, which
>>>>> > I guess is part of the other Hebrew input method. Is there a way to
>>>>> get only
>>>>> > the spell checker?
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > אלעד הן
>>>>> > נייד: 052-5348554
>>>>> >
>>>>> > On Sun, Mar 1, 2015 at 10:15 PM, Walter Lapchynski <wxl at ubuntu.com>
>>>>> wrote:
>>>>> >>
>>>>> >> Keyboard Input Methods in the Preferences menu. Or just run
>>>>> >> `ibus-setup` from the command line. Or you can use the "Run" option
>>>>> in
>>>>> >> the menu. Or you can use the Alt-F2 shortcut for that Run option.
>>>>> >>
>>>>> >> On Sun, Mar 1, 2015 at 12:09 PM, אלעד הן <eladhen2 at gmail.com>
>>>>> wrote:
>>>>> >> > Well, I installed it but now embarrassingly I have no Idea where
>>>>> >> > ibus-setup
>>>>> >> > is...
>>>>> >> >
>>>>> >> > Anyway, as far as I know there are no physical differences
>>>>> between US
>>>>> >> > and
>>>>> >> > Hebrew keyboards.
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > אלעד הן
>>>>> >> > נייד: 052-5348554
>>>>> >> >
>>>>> >> > On Sun, Mar 1, 2015 at 10:05 PM, Walter Lapchynski <
>>>>> wxl at ubuntu.com>
>>>>> >> > wrote:
>>>>> >> >>
>>>>> >> >> Well, it might work with the Hebrew keyboard, too. It's worth
>>>>> trying
>>>>> >> >> with
>>>>> >> >> both.
>>>>> >> >>
>>>>> >> >> On 3/1/15, אלעד הן <eladhen2 at gmail.com> wrote:
>>>>> >> >> > Thanks! Well, I have a US keyboard too (I have little stickers
>>>>> for
>>>>> >> >> > the
>>>>> >> >> > Hebrew letters) so this definitely seems worth a try.
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> > אלעד הן
>>>>> >> >> > נייד: 052-5348554
>>>>> >> >> >
>>>>> >> >> > On Sun, Mar 1, 2015 at 9:36 PM, Walter Lapchynski <
>>>>> wxl at ubuntu.com>
>>>>> >> >> > wrote:
>>>>> >> >> >
>>>>> >> >> >> One thing I read from there is potentially installing the
>>>>> >> >> >> `ibus-m17n`
>>>>> >> >> >> package and then choosing the Hebrew input method in
>>>>> `ibus-setup`. I
>>>>> >> >> >> actually just did this, switched to the Hebrew input method
>>>>> and was
>>>>> >> >> >> able to copy and paste no problem. Of course, I do have a US
>>>>> >> >> >> keyboard,
>>>>> >> >> >> so that might not be a good test ☺
>>>>> >> >> >>
>>>>> >> >> >> On Sun, Mar 1, 2015 at 11:25 AM, אלעד הן <eladhen2 at gmail.com>
>>>>> wrote:
>>>>> >> >> >> > Thank you very much.
>>>>> >> >> >> >
>>>>> >> >> >> > The problem is global as far as I can tell (in every
>>>>> program and
>>>>> >> >> >> > even
>>>>> >> >> >> > in
>>>>> >> >> >> the
>>>>> >> >> >> > file manager).
>>>>> >> >> >> >
>>>>> >> >> >> > I will try changing the layout and see if it helps.
>>>>> >> >> >> >
>>>>> >> >> >> > I came across this bit of information:
>>>>> >> >> >> >
>>>>> >> >> >> > http://en.libreofficeforum.org/node/1586
>>>>> >> >> >> >
>>>>> >> >> >> > But I'm too ill-informed to understand if what they
>>>>> describe is
>>>>> >> >> >> > the
>>>>> >> >> >> > same
>>>>> >> >> >> > problem and what exactly they're suggesting as a solution...
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> > אלעד הן
>>>>> >> >> >> > נייד: 052-5348554
>>>>> >> >> >> >
>>>>> >> >> >> > On Sun, Mar 1, 2015 at 8:58 PM, Walter Lapchynski <
>>>>> wxl at ubuntu.com>
>>>>> >> >> >> wrote:
>>>>> >> >> >> >>
>>>>> >> >> >> >> First off, there is an [Ubuntu Local Community in
>>>>> Israel][1] that
>>>>> >> >> >> >> you
>>>>> >> >> >> >> may want to connect with, especially considering they have
>>>>> >> >> >> >> probably
>>>>> >> >> >> >> faced the same issue.
>>>>> >> >> >> >>
>>>>> >> >> >> >> Secondly, this is not solely a Lubuntu issue. Sure, we have
>>>>> >> >> >> >> different
>>>>> >> >> >> >> GUI tools to do this and that but ultimately "under the
>>>>> hood"
>>>>> >> >> >> >> Ubuntu
>>>>> >> >> >> >> and Lubuntu is the same. That being said, it may be useful
>>>>> to ask
>>>>> >> >> >> >> in
>>>>> >> >> >> >> Ubuntu circles what the appropriate command line solution
>>>>> is. If
>>>>> >> >> >> >> you
>>>>> >> >> >> >> can figure that out, I'm sure we can translate that into an
>>>>> >> >> >> >> appropriate Lubuntu GUI solution.
>>>>> >> >> >> >>
>>>>> >> >> >> >> Now, is this only in the word processor or is this global?
>>>>> If
>>>>> >> >> >> >> it's
>>>>> >> >> >> >> only the word processor, you might want to see if it has
>>>>> better
>>>>> >> >> >> >> support for Hebrew. For example, I know of the package
>>>>> >> >> >> >> `libreoffice-l10n-he` which adds some additional support
>>>>> for
>>>>> >> >> >> >> Hebrew.
>>>>> >> >> >> >>
>>>>> >> >> >> >> If it is global, then you may want to try the alternative
>>>>> >> >> >> >> keyboard
>>>>> >> >> >> >> layouts (lyx, phonetic, biblical). I have searched through
>>>>> the
>>>>> >> >> >> >> plethora of options that `setxkbmap` offers (see `man
>>>>> >> >> >> >> xkeyboard-config`) and I don't find anything particularly
>>>>> >> >> >> >> obvious,
>>>>> >> >> >> >> so
>>>>> >> >> >> >> I would imagine that one of these three layouts probably
>>>>> has your
>>>>> >> >> >> >> solution.
>>>>> >> >> >> >>
>>>>> >> >> >> >> My guess is either that this is specific to a particular
>>>>> >> >> >> >> application
>>>>> >> >> >> >> (in which case the answer may involve digging through its
>>>>> >> >> >> >> configuration and/or complaining to the folks that make
>>>>> that
>>>>> >> >> >> >> application) or that some existing keyboard layout or
>>>>> option
>>>>> >> >> >> >> provides
>>>>> >> >> >> >> the answer.
>>>>> >> >> >> >>
>>>>> >> >> >> >> It is possible that people just switch keyboard layouts.
>>>>> Sure
>>>>> >> >> >> >> seems
>>>>> >> >> >> >> strange, but it's possible. If you look at the "Switching
>>>>> to
>>>>> >> >> >> >> another
>>>>> >> >> >> >> layout" section in the aforementioned man page, you'll see
>>>>> you
>>>>> >> >> >> >> can
>>>>> >> >> >> >> define hotkeys to quickly make this change.
>>>>> >> >> >> >>
>>>>> >> >> >> >> I will note that /usr/share/X11/xkb/symbols/il seems to be
>>>>> >> >> >> >> written
>>>>> >> >> >> >> by
>>>>> >> >> >> >> someone who has a better sense of Hebrew than I do,
>>>>> referencing
>>>>> >> >> >> >> the
>>>>> >> >> >> >> "standard SI-1452." That being said, I my gut tells me they
>>>>> >> >> >> >> probably
>>>>> >> >> >> >> didn't miss this crucial set of hotkeys.
>>>>> >> >> >> >>
>>>>> >> >> >> >> If you discover the answer, please share with us! Perhaps
>>>>> even
>>>>> >> >> >> >> better,
>>>>> >> >> >> >> add what you find to the [Hebrew Localization Ubuntu wiki
>>>>> >> >> >> >> page][2].
>>>>> >> >> >> >> Good luck!
>>>>> >> >> >> >>
>>>>> >> >> >> >> [1]: http://loco.ubuntu.com/teams/ubuntu-il/
>>>>> >> >> >> >> [2]:
>>>>> https://help.ubuntu.com/community/HebrewLocalizationHowto
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >> >> On Sun, Mar 1, 2015 at 8:26 AM, אלעד הן <
>>>>> elad2040 at gmail.com>
>>>>> >> >> >> >> wrote:
>>>>> >> >> >> >> > Thanks for responding. I'm to much of a newbie to
>>>>> understand
>>>>> >> >> >> >> > most
>>>>> >> >> >> >> > of
>>>>> >> >> >> >> > what
>>>>> >> >> >> >> > you said though :(
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > The site doesn't seem to be related to linux...
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > I looked through the different keyboard options in
>>>>> >> >> >> >> > "preferences"
>>>>> >> >> >> >> > and
>>>>> >> >> >> >> > there
>>>>> >> >> >> >> > aren't many of them, and nothing looks relevant...
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > אלעד הן
>>>>> >> >> >> >> > נייד: 052-5348554
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > On Sun, Mar 1, 2015 at 6:09 PM, Israel <
>>>>> israeldahl at gmail.com>
>>>>> >> >> >> >> > wrote:
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> On 03/01/2015 04:55 AM, אלעד הן wrote:
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Hi everyone. I'm a total newbie and probably doing this
>>>>> wrong
>>>>> >> >> >> >> >> but
>>>>> >> >> >> bare
>>>>> >> >> >> >> >> with me... I tried searching for answers to this
>>>>> problem, but
>>>>> >> >> >> although
>>>>> >> >> >> >> >> I've
>>>>> >> >> >> >> >> found several references to it, I couldn't find a
>>>>> solution.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Anyway, I installed lubuntu 14.04 (not the 64 bit
>>>>> version) on
>>>>> >> >> >> >> >> my
>>>>> >> >> >> >> >> old
>>>>> >> >> >> >> >> laptop and I'm very pleased with the performances.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> When word-processing I mostly use Hebrew, and I've
>>>>> found the
>>>>> >> >> >> >> >> Keyboard
>>>>> >> >> >> >> >> shortcuts don't work when I'm the keyboard is switched
>>>>> to
>>>>> >> >> >> >> >> Hebrew.
>>>>> >> >> >> This
>>>>> >> >> >> >> >> means
>>>>> >> >> >> >> >> that every time I want to copy and paste in Hebrew I
>>>>> first
>>>>> >> >> >> >> >> have
>>>>> >> >> >> >> >> to
>>>>> >> >> >> >> >> switch
>>>>> >> >> >> >> >> back to English, use the shortcuts and switch back to
>>>>> Hebrew.
>>>>> >> >> >> >> >> This
>>>>> >> >> >> is a
>>>>> >> >> >> >> >> very
>>>>> >> >> >> >> >> big problem for the flow of work, and makes the
>>>>> shortcuts
>>>>> >> >> >> >> >> hardly
>>>>> >> >> >> short.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Does anyone have a solution for this?
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Thank you.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> אלעד הן
>>>>> >> >> >> >> >> נייד: 052-5348554
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Hi Elad,
>>>>> >> >> >> >> >> It may be an issue with the way the Hebrew keyboard is
>>>>> mapped.
>>>>> >> >> >> >> >> The
>>>>> >> >> >> >> >> keyboard probably represents "V" and "C" incorrectly.
>>>>>  Which
>>>>> >> >> >> >> >> would
>>>>> >> >> >> >> >> make
>>>>> >> >> >> >> >> sense, which one becomes 'V' and which one becomes
>>>>> 'C'?  There
>>>>> >> >> >> >> >> are
>>>>> >> >> >> >> >> at
>>>>> >> >> >> >> >> least
>>>>> >> >> >> >> >> 2 for each of those that I can think of, right?
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> You may find something here:
>>>>> >> >> >> >> >> http://penguin.org.il/
>>>>> >> >> >> >> >> Since it is an Israeli Linux site.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> I think this may be related to X keyboard mapping,
>>>>> though that
>>>>> >> >> >> >> >> is
>>>>> >> >> >> >> >> a
>>>>> >> >> >> >> >> guess.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Sorry I do not know a specific solution, though.  You
>>>>> might
>>>>> >> >> >> >> >> try
>>>>> >> >> >> asking
>>>>> >> >> >> >> >> in
>>>>> >> >> >> >> >> Hebrew specific IRC channels, or asking someone at a
>>>>> local
>>>>> >> >> >> >> >> Linux
>>>>> >> >> >> >> >> User
>>>>> >> >> >> >> >> Group.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> --
>>>>> >> >> >> >> >> Regards
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> --
>>>>> >> >> >> >> >> Lubuntu-users mailing list
>>>>> >> >> >> >> >> Lubuntu-users at lists.ubuntu.com
>>>>> >> >> >> >> >> Modify settings or unsubscribe at:
>>>>> >> >> >> >> >> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > --
>>>>> >> >> >> >> > Lubuntu-users mailing list
>>>>> >> >> >> >> > Lubuntu-users at lists.ubuntu.com
>>>>> >> >> >> >> > Modify settings or unsubscribe at:
>>>>> >> >> >> >> > https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>>>>> >> >> >> >> >
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >> >> --
>>>>> >> >> >> >> @wxl | http://polka.bike
>>>>> >> >> >> >> Lubuntu Release Manager, Head of QA
>>>>> >> >> >> >> Ubuntu PPC Point of Contact
>>>>> >> >> >> >> Ubuntu Oregon LoCo Team Leader
>>>>> >> >> >> >> Eugene Unix & GNU/Linux User Group Co-Organizer
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >> --
>>>>> >> >> >> @wxl | http://polka.bike
>>>>> >> >> >> Lubuntu Release Manager, Head of QA
>>>>> >> >> >> Ubuntu PPC Point of Contact
>>>>> >> >> >> Ubuntu Oregon LoCo Team Leader
>>>>> >> >> >> Eugene Unix & GNU/Linux User Group Co-Organizer
>>>>> >> >> >>
>>>>> >> >> >
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> @wxl | http://polka.bike
>>>>> >> Lubuntu Release Manager, Head of QA
>>>>> >> Ubuntu PPC Point of Contact
>>>>> >> Ubuntu Oregon LoCo Team Leader
>>>>> >> Eugene Unix & GNU/Linux User Group Co-Organizer
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> @wxl | http://polka.bike
>>>>> Lubuntu Release Manager, Head of QA
>>>>> Ubuntu PPC Point of Contact
>>>>> Ubuntu Oregon LoCo Team Leader
>>>>> Eugene Unix & GNU/Linux User Group Co-Organizer
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150306/08b2bdf8/attachment-0001.html>


More information about the Lubuntu-users mailing list