Hi,
Thanks.

The exact status is this:

After reboot:

starting mc, and pressing "left alt+ left control + ?" => works as it should,
namely go to find file.

In Gnome keyboard preferences I have in Layout only English.
In Layout options->Layout switching **nothing** is selected

Than I run:
"setxkbmap -option grp_led:scroll,grp:alt_shift_toggle us,il"

I see no error.

Immediately afterwards, I try in the mc
"left alt+ left control + ?" => does ***not*** works as it should; it simply
does nothing except toggling the "keyboard indicator" on the panel from USA
to il.
But when I press left alt + left shift, the languate is changed to hebrew and
I can type in hebrew. Also the scroll lock led is lit.
And of course it toggles back to hebrew and english when pressing again
left alt + left shift as it should.

Any ideas?
Regards,
Dan




On Dec 31, 2007 8:21 PM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:
> After starting either GNOME or KDE, try this command:
>
> setxkbmap -option grp_led:scroll,grp:alt_shift_toggle us,il
>
> See if this gives you hebrew, and if not, tell me what the error that
> comes out (if any).
>
> Note: if you're using VNC, then there's a problem (if I recall
> correctly) switching with ALT SHIFT between the languages in VNC
> session.
>
> Thanks,
> Hetz
>
>
> On Dec 31, 2007 1:59 PM, Dan Shimshoni <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Hetz, may I ask: does this work for you ?
> > I have FC8; First, I removed the keyboard switching checkbox in Gnome.
> >
> > than I tried changing:
> > /etc/X11/xorg.conf thus:
> >
> > Section "InputDevice"
> >         Identifier  "Keyboard0"
> >         Driver      "kbd"
> >         Option      "XkbModel" "pc105"
> >         #Option     "XkbLayout" "us+inet"
> >         Option      "XkbLayout" "us,il"
> >   Option      "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll"
> > EndSection
> >
> > And restaring the X server.
> > It did not work.
> >
> > Than I also removed the "hebrew" from keyboard preferences->Layouts.
> > And than restarted the X-server.
> > Still, when pressing "alt-shift" nothing happens. It stays English,
> > and scroll lock
> > led stays unlighted.
> >
> > I do not see any errors in Xorg.0.log in both cases.
> >
> > Any ideas ? Am I missing something ?
> >
> > Regards,
> > Dan
> >
> >
> >
> >
> > On Dec 31, 2007 10:07 AM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:
> > > Dan,
> > >
> > > I always skipped both GNOME and KDE's language keyboard binding and
> > > did it directly on xorg.conf:
> > >
> > > Section "InputDevice"
> > >         Identifier  "Keyboard0"
> > >         Driver      "kbd"
> > >         Option      "XkbModel" "pc105"
> > >         Option      "XkbLayout" "us,il"
> > >         Option      "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll"
> > >
> > >
> > > This should let you toggle between hebrew and english with the left
> > > alt-shift. Don't forget first to disable the bindings that you already
> > > did in GNOME or else GNOME will overridden your xorg settings.
> > >
> > > Thanks,
> > > Hetz
> > >
> > >
> > > On Dec 31, 2007 8:46 AM, Dan Shimshoni <[EMAIL PROTECTED]> wrote:
> > > > Hello,
> > > > I am using hebrew and English on FC8 with a GNOME desktop.
> > > >
> > > > I want to use only the left alt+shift key combination as a shortcut for
> > > > switching between languages.
> > > >
> > > > I choose Alt+Shift to change layout and to toggle between hebrew and 
> > > > English.
> > > >
> > > > I did it by going to gnome panel->Keyboard Preferences,
> > > > and to Layout options/Layout switching.
> > > >
> > > > The problem with this is that it changes languages also when Left Alt 
> > > > and Right
> > > > Shift are pressed !!
> > > > So , when I try to use the combination "Left Alt + Right Shift + ?" , 
> > > > which
> > > > is the default shortcut in Midnight Commander (MC) for "find file",
> > > > I eventually get to changing the language instead of reaching MC "find
> > > > file" dialog.
> > > > And I use this "Left Alt + Right Shift + ?" shortcut quite 
> > > > instinctively.
> > > >
> > > > Any ideas? Is there any solution so only lefy ALT/SHIFT will change 
> > > > languages
> > > > (in gnome)?
> > > >
> > > >
> > > >
> > > > Dan
> > > >
> > > > =================================================================
> > > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > > the word "unsubscribe" in the message body, e.g., run the command
> > > > echo unsubscribe | mail [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Skepticism is the lazy person's default position.
> > > my blog (hebrew): http://benhamo.org
> > >
> >
>
>
>
> --
>
> Skepticism is the lazy person's default position.
> my blog (hebrew): http://benhamo.org
>

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to