Re: using only left alt-shift for language changing

2007-11-26 Thread Boaz Rymland
Hi,


I'm not sure about the second criteria (without any other key presses)
but I use the following configuration in KDE to have switching to hebrew
on Alt+ *LEFT* shift :

In xorg.conf I have:

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbLayout us,il
EndSection

In KDE control panel there is:

- Hebrew layout defined (regional  accessibility - keyboard layout).

- Of course - Make caps lock additional Control ! ;-) (keyboard layout
- Xkb options tab)

Now, leave KDE setting for layout switching on Ctrl+Alt+k. Now logout of
KD to your console. Edit $HOME/.kde/share/config/kdeglobals and edit the
line Switch to Next Keyboard Layout to something like Alt+Shift_L
(no quotes), if only Left shift specification is enough for you. Never
tried specifying Alt_L or something like that.


Good luck,

Boaz.


Micha Feigin wrote:

 I am currently using alt-shift to toggle the input language in X (so that
 others using the machine don't get confused trying to switch to hebrew). the
 problem is that there are some required shell and emacs commands that need 
 both
 alt and shift (such as Meta-% in emacs and Alt- in bash).

 Is there a way to limit group switching in X to just the left-alt + left-shift
 combination or even better, only when no other extra character was pressed?

 thanks


 =
 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]


   

=
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]



Re: using only left alt-shift for language changing

2007-11-25 Thread Michael Vasiliev
On Saturday November 24 2007, You wrote:
 I am currently using alt-shift to toggle the input language in X (so that
 others using the machine don't get confused trying to switch to hebrew).
 the problem is that there are some required shell and emacs commands that
 need both alt and shift (such as Meta-% in emacs and Alt- in bash).

 Is there a way to limit group switching in X to just the left-alt +
 left-shift combination or even better, only when no other extra character
 was pressed?

Sure. Edit /usr/share/X11/xkb/symbols/group (your path may vary), search for 
alt_shift_toggle section, and comment out the relevant side.

-- 
Sincerely Yours,
Michael Vasiliev

as appealing as it might seem, it is impossible to patch or upgrade users
Security Warrior

=
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]



using only left alt-shift for language changing

2007-11-24 Thread Micha Feigin
I am currently using alt-shift to toggle the input language in X (so that
others using the machine don't get confused trying to switch to hebrew). the
problem is that there are some required shell and emacs commands that need both
alt and shift (such as Meta-% in emacs and Alt- in bash).

Is there a way to limit group switching in X to just the left-alt + left-shift
combination or even better, only when no other extra character was pressed?

thanks


=
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]