You are not logged in.

#1 2009-03-23 20:00:31

xXZeroXx
Member
Registered: 2009-03-23
Posts: 9

[Add to wiki]How to use keyboard shortcuts [KdeMod]

Well, first of all, hello to everyone, this is my first post, and I want to make a contribution.
There's a bug with the module khotkeys in KdeMod, you can't use hotkeys, however I found a "workaround" to make them work.
I want, if you agree, to add this workaround to the Wiki (KdeMod article) making a section like the one of "Known Bugs" that's located at  Kde (vanilla) article in the wiki.
Finally, here's the thread that has the history you can check it if you want: http://forum.kde.org/-solved-khotkeys-d … 36933.html I use the same nick here and there (xXZeroXx)
Thanks for your attention.

Offline

#2 2009-03-23 21:31:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

You don't need permission to edit the wiki - just do it. Anyone who wants to comment on your amendment can use the wiki discussion tab.

Offline

#3 2009-03-23 21:54:54

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Wouldn't it be better to fix the problem (and report it before) rather than writing a guid to work around it?

Offline

#4 2009-03-23 22:01:52

xXZeroXx
Member
Registered: 2009-03-23
Posts: 9

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

tomk wrote:

You don't need permission to edit the wiki - just do it. Anyone who wants to comment on your amendment can use the wiki discussion tab.

Ok, thanks, I've added it.

Offline

#5 2009-03-24 20:05:32

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Pierre wrote:

Wouldn't it be better to fix the problem (and report it before) rather than writing a guid to work around it?

I'll report it to Arch bugs. Already reported it to Chakra bugs.
It's definitely a Arch bug. I'm the OP of forum.kde.org thread and no other KDE user that uses other distro suffers from it.
i'll report it to Arch bugs as soon as I read through the reporting bug guidelines on Arch Wiki.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#6 2009-03-24 20:08:43

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Well, the print screen key is working for me.

Offline

#7 2009-03-24 20:20:53

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Pierre wrote:

Well, the print screen key is working for me.

Really?
How? (A bit stupid question but none the less).
AFAIK I've got more or less everything configured correctly; at least concerning the KHotKeys.
The closest thing to actually finding the real bug was this line from .xsession-errors:

plasma(3331) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: /home/primoz/.kde4/share/apps/RecentDocuments/printscreen.khotkeys.desktop not found"

But deleting everything in RecentDocuments didn't help me. but it's up to others to check if that's even a real problem or is this just my problem.

I might be shooting in the dark.
Is it a:
A locale problem?
A D-Bus problem?
...

I don't know how come I don't get my printscreen working by default. It started working only after xXZeroXx found a workaround.
And no other KHotKeys is working. And printscreen does work in other occasions it's only KHotKeys problem.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#8 2009-03-24 20:25:04

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I did not configure anything. Just hit the print key of the keyboard and ksnapshot pops up.

Offline

#9 2009-03-24 20:38:33

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I know this isn't a place to "stup bugs" but still.
Would you post your /usr/share/apps/khotkeys/printscreen.khotkeys: ->sorry I made an mistake it's not .kde4 but /usr
I get something like this:

[Data_1_1Triggers0]
Key=Print
Type=SHORTCUT

[Main]
Version=2
ImportId=printscreen

And even though I don't think it has really anything to do with it do you have nVidia car or something else?
Could nVidias way of setting X and all it's peripherals possibly be a reason?
And this bug is apparent in both KDEmod and Arch Vanilla KDE. xXZeroXx eve tried KDE3 and that didn't help as he reported on KDE forum.

Last edited by Primoz (2009-03-24 20:42:06)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#10 2009-03-24 20:41:04

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I have an nvidia card. This file does not exist for me; so I am using the default settings. Well, if all KDE versions are affected it might be X/keymap related.

Offline

#11 2009-03-24 20:43:07

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Sorry I made an mistake it's not .kde4 but /usr
so it really is:
/usr/share/apps/khotkeys/printscreen.khotkeys
My fault.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#12 2009-03-24 20:46:45

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I've just compared my /usr/share/apps/khotkeys/printscreen.khotkeys with the original and there are no differencies. So that's not a problem.
It really might be a X related. It couldn't be keymap related as if I link KSnapShot directly to printscreen key it works just the KHotKeys doesn't...


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#13 2009-03-24 20:51:54

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

My xorg.conf looks like this:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Jan  6 10:03:02 PST 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

And I use slovenian alternatequote keymap (qwertz).
But as I said I don't think that's a problem.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#14 2009-03-24 20:55:40

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I use evdev:

Section "ServerLayout"                     
        Identifier     "X.org Configured"  
        Screen      0  "Screen0" 0 0       
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection                                       

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled" 
        FontPath     "/usr/share/fonts/TTF"            
        FontPath     "/usr/share/fonts/Type1"          
EndSection                                             

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "evdev"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        Option       "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        Option      "NoLogo" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Offline

#15 2009-03-24 20:58:30

xXZeroXx
Member
Registered: 2009-03-23
Posts: 9

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Primoz wrote:

And even though I don't think it has really anything to do with it do you have nVidia car or something else?
Could nVidias way of setting X and all it's peripherals possibly be a reason?
And this bug is apparent in both KDEmod and Arch Vanilla KDE. xXZeroXx eve tried KDE3 and that didn't help as he reported on KDE forum.

Yes, that's right the problem its still present in KDE 4 vanilla and KDE 3 Mod an vanilla.
Maybe it's an ATI card fault, because I use one of those and I have that problem, and Pierre uses an nVidia, and he has no problem. Primoz do you use an ATI card?

Last edited by xXZeroXx (2009-03-24 21:01:09)

Offline

#16 2009-03-24 21:02:13

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I know that I tried to get "evdev" to work, but my mouse or keyboard was un-resposive. But that was probably because it wasn't connected; I'm using wireless keyboard and mouse.
I'll give evdev another try. I'm reading the Wiki how to reconfigure my xorg with evdev.
Hope I won't brake anything big_smile


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#17 2009-03-26 03:13:02

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I had the same problem, evdev is needed for khotkeys to work.


All your base are belong to us

Offline

#18 2009-03-26 09:45:41

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

xXZeroXx wrote:
Primoz wrote:

And even though I don't think it has really anything to do with it do you have nVidia car or something else?
Could nVidias way of setting X and all it's peripherals possibly be a reason?
And this bug is apparent in both KDEmod and Arch Vanilla KDE. xXZeroXx eve tried KDE3 and that didn't help as he reported on KDE forum.

Yes, that's right the problem its still present in KDE 4 vanilla and KDE 3 Mod an vanilla.
Maybe it's an ATI card fault, because I use one of those and I have that problem, and Pierre uses an nVidia, and he has no problem. Primoz do you use an ATI card?

No I use nVidia card. So it seems that whatever it is it's driver independent. But it really could be the problem with evdev. I didn't bother with it as I knew that I'll be using only one keyboard and mouse.
It seems that it really is evdev:

MartinZ wrote:

I had the same problem, evdev is needed for khotkeys to work.

Last edited by Primoz (2009-03-26 09:46:41)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#19 2009-03-27 02:55:56

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I also have an NVidia card, but I had this problem with my old laptop which had a VIA card.


All your base are belong to us

Offline

#20 2009-03-27 10:48:43

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

Should this information, eg. that you need evdev to get KDEs KHotKeys working, be included in Beginners guide?
As I still remember how confused I was trying to decide which setting to choose from those options. I decided to go with nVidia default settings as I thought
that I won't need evdev, given that I have only one keyboard and mouse.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#21 2009-03-29 15:50:15

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: [Add to wiki]How to use keyboard shortcuts [KdeMod]

I guess so. It is very difficult to find the fix when there's almost no info about this.


All your base are belong to us

Offline

Board footer

Powered by FluxBB