|
|

07-17-2008, 03:46 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
I want to use "Russia" & "USA" keyboard layouts and switch them with
Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I can
switch them with left-mouse-click in the tray. But I hadn't be able to
find option for layout switching in "Keyboard Shortcuts" (excepting for
"Switch to Next Keyboard Layout") applet of KDE Control Center.
For now I selected only "Russian" layout but turned on the checkbox
"Include lation layout" so that command for xkb became:
"setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
"Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't see
current language in the tray that is very inconvenient.
--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-17-2008, 04:52 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
I want to use "Russia" & "USA" keyboard layouts and switch them with
Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I can
switch them with left-mouse-click in the tray. But I hadn't be able to
find option for layout switching in "Keyboard Shortcuts" (excepting for
"Switch to Next Keyboard Layout") applet of KDE Control Center.
For now I selected only "Russian" layout but turned on the checkbox
"Include lation layout" so that command for xkb became:
"setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
"Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't see
current language in the tray that is very inconvenient.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-17-2008, 06:59 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
On Thu,17.Jul.08, 19:52:32, Anton Liaukevich wrote:
> I want to use "Russia" & "USA" keyboard layouts and switch them with
> Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I can
> switch them with left-mouse-click in the tray. But I hadn't be able to
> find option for layout switching in "Keyboard Shortcuts" (excepting for
> "Switch to Next Keyboard Layout") applet of KDE Control Center.
>
> For now I selected only "Russian" layout but turned on the checkbox
> "Include lation layout" so that command for xkb became:
> "setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
> "Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
> able to switch language with Ctrl+Shift. Unfortunately, now I can't see
> current language in the tray that is very inconvenient.
I'm not familiar with KDE, but you should be able to achieve the same by
using 'dpkg-reconfigure xserver-xorg'. At the question about additional
options for the keyboard put:
grp:ctrl_shift_toggle
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
|
|

07-17-2008, 09:47 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
Hi !
If you use only two keyboard layouts, you can use Caps lock to switch
from one to another. This is done by using the option:
grp:caps_toggle. Then the led of the keyboard will indicate you which
one is activated.
That is what I use with french and russian phonetic layout, and it
works very well, at least for me. This is however not a "kde specific"
solution.
Best regards,
Cedric
--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-18-2008, 03:52 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
El Jueves, 17 de Julio de 2008, Anton Liaukevich escribió:
> I want to use "Russia" & "USA" keyboard layouts and switch them with
> Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I can
> switch them with left-mouse-click in the tray. But I hadn't be able to
> find option for layout switching in "Keyboard Shortcuts" (excepting for
> "Switch to Next Keyboard Layout") applet of KDE Control Center.
I change from spanish to US keyboard layout with ctrl+alt+k. If you only have
two layouts, I think is quite comfortable.
> For now I selected only "Russian" layout but turned on the checkbox
> "Include lation layout" so that command for xkb became:
> "setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
> "Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
> able to switch language with Ctrl+Shift. Unfortunately, now I can't see
> current language in the tray that is very inconvenient.
I think that KDE (at least in 3.X) removed "modifier only shortcuts" (i.e.,
you can't have a shortcut without a "normal" key). There was a long thread on
kde-core-devel some time ago about this. That's the reason why you can't, for
example, open the K-menu with the Win key.
I don't fully understand the reasons, but it seems that were causing trouble,
and was difficult to differentiate when ctrl+shift was pressed to use another
shortcut.
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-18-2008, 04:03 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
--On torsdag, juli 17, 2008 19.52.32 +0300 Anton Liaukevich
<anthonyl@uvaga.by> wrote:
I want to use "Russia" & "USA" keyboard layouts and switch them with
Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I
can
switch them with left-mouse-click in the tray. But I hadn't be able
to
find option for layout switching in "Keyboard Shortcuts" (excepting
for
"Switch to Next Keyboard Layout") applet of KDE Control Center.
For now I selected only "Russian" layout but turned on the checkbox
"Include lation layout" so that command for xkb became:
"setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
"Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't
see
current language in the tray that is very inconvenient.
Assuming we talk about the same applet, by default it switches on
Ctrl-Alt-k if I remember correctly.
// Emil
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a
subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-18-2008, 06:14 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
Andrei Popescu wrote:
On Thu,17.Jul.08, 19:52:32, Anton Liaukevich wrote:
I want to use "Russia" & "USA" keyboard layouts and switch them with
Ctrl+Shift. I had added "Russia" & "USA" to active layouts so that I can
switch them with left-mouse-click in the tray. But I hadn't be able to
find option for layout switching in "Keyboard Shortcuts" (excepting for
"Switch to Next Keyboard Layout") applet of KDE Control Center.
For now I selected only "Russian" layout but turned on the checkbox
"Include lation layout" so that command for xkb became:
"setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
"Ctrl+Shift change layout" in "Xkb Options" tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't see
current language in the tray that is very inconvenient.
I'm not familiar with KDE, but you should be able to achieve the same by
using 'dpkg-reconfigure xserver-xorg'. At the question about additional
options for the keyboard put:
grp:ctrl_shift_toggle
Regards,
Andrei
Hello, Andrei!
I have done that you had advised me, then added 'Russia' & 'USA' to
active layouts of 'Keyboard Layout' applet of KDE Control Center.
Unfortunately, language switching hasn't begun to work.
Settings of my keyboard in xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|

07-18-2008, 06:44 PM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
On Fri,18.Jul.08, 21:14:54, Anton Liaukevich wrote:
> Andrei Popescu wrote:
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc104"
> Option "XkbLayout" "us"
------------------------------------------^^^^
Try changing this to "us,ru". You can also to it with dpkg-reconfigure
(the question about layouts to use).
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
|
|

07-19-2008, 09:57 AM
|
|
|
Switching keyboard language with Ctrl+Shift in the KDE
Andrei Popescu wrote:
On Fri,18.Jul.08, 21:14:54, Anton Liaukevich wrote:
Andrei Popescu wrote:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
------------------------------------------^^^^
Try changing this to "us,ru". You can also to it with dpkg-reconfigure
(the question about layouts to use).
Regards,
Andrei
Thanks to Andrei Popescu & Cedric Boutillier!
Unfortunately, Andrei's solution with xorg.conf (XkbLayout & XkbOptions
options) hasn't helped me.
Therefore I have returned my old solution. I selected only "Russian"
layout but turned on the checkbox "Include lation layout" so that
command for xkb became:
"setxkbmap -model pc104 -layout ru,us" and turned on the checkbox
"Ctrl+Shift change layout" in 'Xkb Options' tab.
But I have founded option 'ScrollLock LED shows alternative layout' in
'Xkb Options' tab and turned it on (command became "setxkbmap -option
grp_led:scroll,grp:ctrl_shift_toggle"). Now ScrollLock LED is on when
current language is Russian and is off when current language is English.
Such solution suits me.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
All times are GMT. The time now is 12:09 PM.
VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|