Re: [kde] Shortcut Issue

2011-09-18 Thread Stephen Dowdy
Bios wrote, On 09/18/2011 10:17 AM:
> Hey
> How can I use left shift+right shift as a shortcut?
> It does not work simply through the system settings.

Durh, i didn't actually bother to verify whether the kcmshell4 keys
modifiers entries could be changed in that interface.  nope. So...

debian:~$ xmodmap -pm | grep shift
shift   Shift_L (0x32),  Shift_R (0x3e)

debian:~$ xmodmap -e 'remove shift = Shift_R'

debian:~$ xmodmap -pm
shift   Shift_L (0x32)

Hmm, looking in 'kcmshell keys', though the change didn't take,
as 'Shift' is still Shift_L and Shift_R.

# This looks promising from dcop...
debian:~$ dcop khotkeys khotkeys reread_configuration

Yup, that did it, khotkeys now consistent.

in KDE4, probably a call something like:

qdbus org.kde.khotkeys /khotkeys reread_configuration

might be needed.

You'd probably need to enter the xmodmap expression in

~/.xmodmaprc

(or such) as there is probably a call to read that in the
chain of X11 session startup prior to KDE starting.

Otherwise, i'm sure someone here knows some KDE specific
magic incantation to override the X11 modmap settings
specifically for what you're doing.

--stephen
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] Shortcut Issue

2011-09-18 Thread Stephen Dowdy
Bios wrote, On 09/18/2011 10:17 AM:
> Hey
> How can I use left shift+right shift as a shortcut?
> It does not work simply through the system settings.

Don't know for sure if this is possible, but i suspect
that those keys would be in a keyboard class of something
like "Modifier" keys, that you will need a combination
of Modifier+Non-Modifier key(s) to complete a keybinding.

So, something like :

++

might do it (with the extra non-modifier Space key)

Otherwise, i bet there'd be a way to take one of your
shift keys and change its class from Modifier to non
thereby allowing the binding.

(i'm pulling this all out of my nether regions, but hey
it *sounds* good ;) )


I'm at home on a KDE3 system, but...

% kcmshell keys

there's a "Modifiers" [Tab].

If you look there, you see "Shift" is a modifier and down below
shift is assigned with Key1 = LeftShift, Key2= RightShift.

Give that a whirl.  If on KDE4, i suspect it'll be the same
(too lazy to login to my KDE4 system), and try:

%kcmshell4 keys

which probably will look the same.

--stephen
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Shortcut Issue

2011-09-18 Thread Bios
Hey
How can I use left shift+right shift as a shortcut?
It does not work simply through the system settings.

Thanks
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.