![]() Registered Member ![]()
|
--
Last edited by Erikw on Mon Feb 11, 2019 9:55 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
My Distribution is Kubuntu 10.10 with KDE 4.5.2 I think I solved problem 2. My problem was the same as yours. The button Launch(1) was assigned to my calculator-application speedcrunch, but when I pressed the corresponding button nothing happened... I searched for the string "Launch (1)" recursively in my directory ~/.kde ( maybe you have to look for "Launch(1)" ) and found it in the files ~/.kde/share/config/kglobalshortcutsrc ~/.kde/share/config/khotkeysrc In both files I had to replace "Launch (1)" with "Calculator". Oddly enough I had to replace it with "Calculator", though the terminal application xev actually indicates the name "XF86Calculator" for that key. Afterwards you have to reboot, then your special calculator key should work. |
![]() Registered Member ![]()
|
The fix for the Calculator key works great. Thank you.
As a note, you need to replace "Launch (1)" with "Calculator" in the khotkeysrc and kglobalshortcutsrc while logged out of KDE (logged in via SSH, or a TTY using CTL-ALT-F1 then CTL-ALT-F7 to return). I found that KDE changed the value back to "Launch (1)" on exit when I made the edits when logged in. Also, you do not need to reboot, just log out, make the changes, and log back in. Thank you herbiehancock for posting your solution. |
![]() Registered Member ![]()
|
Had the same problem. Working now. Thank you.
|
![]() Registered Member ![]()
|
that worked for me as well. had to use text mode and edit the two files using vim (before, exactly as mentioned above, it would reset to Launch(1) after rebooting)
|
![]() Registered Member ![]()
|
I had the same problem.
I changing the key in both files to first 'Calculator', and then 'XF86Calculator'. Neither one worked. 'XF86Calculator' was actually removed from the config file when I restarted KDe (with Ctrl+Alt+backspace) Next I tried 'calculator'. That one worked. It seems my version is case-sensitive. I am running KDE 4.7.4 on Fedora 16. |
![]() Administrator ![]()
|
Please note that Ctrl+Alt+Backspace is known as the "Kill" key - it is not a defined method of logging out of KDE and does not give applications a chance to shutdown gracefully.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Running Ubuntu 12.04, 64 Bit with Unity, Gnome 3.4 and KDE full. I am having the same problem with the calculator key as above. I followed the instructions but it did not work. The Kubuntu forum suggested I run xve in konsole to see if XF86Calculator is detected. It is not.
Any help would be appreciated. I am somewhat lost as to how to proceed. I haven't used kde since Mandrake 9.3. Back then the biggest problem was getting Java up and running! Went back to the two files I changed and calculator and Launch (1) are gone. Help... |
![]() Administrator ![]()
|
The detection of XF86Calculator depends upon the keyboard and keyboard layouts in use. In your case, they are not detected. Can you check dmesg to see if any entry regarding an unknown keycode is detected?
If one is, you will need to register the keycode (as part of the keyboard layout) before being able to continue. If it is not, it is probable the key is known. In which case, xev should print something when the key is pressed (even if it is not XF86Calculator). If you override that association to set it to be XF86Calculator, then you should be able to bind it without issues.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I ran it. Now, if I knew what I was looking for. Does anyone see anything? I would need explicit instructions to do what you are suggesting. Thanks in advance for any help.
|
![]() Administrator ![]()
|
In this case, pressing the key should have yielded something similar to the following in dmesg:
If you did not get anything, and it was not detected in any form by xev, then it seems that the linux kernel itself may not support the keys. See https://wiki.archlinux.org/index.php/Ex ... board_Keys and https://wiki.archlinux.org/index.php/Ma ... o_keycodes for more information.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Well, I ran xev again and look what I got...
KeyRelease event, serial 36, synthetic NO, window 0x8800001, root 0xd8, subw 0x0, time 2377228, (1523,39), root: (1525,62), state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Not sure what do next, if anything. |
![]() Administrator ![]()
|
That indicates that everything up to X is probably working. All you need to do is configure it at this point. Open System Settings > Shortcuts & Gestures > Custom Shortcuts. Select Edit > New > Global Shortcut > Command/URL.
On the "Trigger" tab, set the shortcut as usual in a KDE application, then fill in "kcalc" as the Command/URL on the Actions tab. Finally, Apply the changes.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yup, that is what I did and nothing. Strange. |
![]() Administrator ![]()
|
Can you check to see if the "Input Actions" service is running? If you open System Settings > Startup & Shutdown > Service Manager, please make sure "Input Actions" is checked.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]