This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Mouse buttons

Tags: None
(comma "," separated)
Musgit
Registered Member
Posts
10
Karma
0

Mouse buttons

Fri Mar 06, 2009 4:16 pm
Hi!

I have two question in regard to mouse buttons.

The first one has been bothering me for a long time, and I was hoping KDE 4 might come with support for this. Since it doesn't (not yet at least), I'll settle for a workaround. This may or may not be more X- than KDE-related. What I'd like to do is to map my additional mouse buttons (anything >3) to custom actions. I assume I either have to set these up as gestures (but I don't know how) or map the buttons to keyboard combinations.

The other thing that's bothering me: KDE 3.x always had a strict philosophy about single/double click handling. The mode that was configured would apply to every KDE application. Now that I'm on KDE 4, I'm still using single click mode, and yet the file dialog insists on double clicks. Is this just incomplete functionality in the dialog, or is it a bug/configuration error on my system?

Thanks for any hints.
User avatar
google01103
Manager
Posts
6668
Karma
25
Musgit
Registered Member
Posts
10
Karma
0

RE: Mouse buttons

Fri Mar 06, 2009 4:54 pm
So there really is no way to configure button actions in KDE, I have to map the buttons to keyboard combinations?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Mouse buttons

Sat Mar 07, 2009 2:41 am
At this point, it seems this is the case as the mouse control module does not support detecting and configuring the additional buttons supplied by some mouses. If a feature request has not been made, it would be a good idea to file one at bugs.kde.org


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JontheEchinda
KDE Developer
Posts
309
Karma
4
OS

RE: Mouse buttons

Sat Mar 07, 2009 3:15 am
Seems like it's a pretty old wishlist item: http://bugs.kde.org/show_bug.cgi?id=34362


JontheEchinda, proud to be a member of the Kubuntu team since July 2008.
Image
Image
User avatar
Zarin
KDE Developer
Posts
345
Karma
8
OS

RE: Mouse buttons

Sat Mar 07, 2009 3:25 am
Musgit wrote:Now that I'm on KDE 4, I'm still using single click mode, and yet the file dialog insists on double clicks. Is this just incomplete functionality in the dialog, or is it a bug/configuration error on my system?


You may need to restart KDE for the change to fully take affect.

Last edited by Zarin on Sat Mar 07, 2009 3:25 am, edited 1 time in total.
Musgit
Registered Member
Posts
10
Karma
0

RE: Mouse buttons

Sat Mar 14, 2009 3:57 pm
Thanks for the replies, I finally got around to playing around with this. The xbindkeys solution does a good job of mapping the two arrow buttons on my mouse (apparently they call them "cruise control") to my shortcuts for KDE 4's "desktop grid" and "present windows". I've had no luck in mapping the remaining additional buttons on my mouse though... the volume buttons (up, down, mute) and the mail button insist on (supposedly) sending the corresponding XF86 key events, and I can't seem to get the IM button to do anything.

It's good enough for now though, with two fully customiseable buttons and the Mail button which I don't use on my keyboard anyway (it would still be nice to be able to configure the mouse's volume keys independently from my keyboard's in the long run).

I still believe KDE's mouse/keyboard settings should handle additional mouse buttons natively and allow us to configure them just like keyboard buttons, so I'll see what I can add to the bug linked above.

I also think it would be a good idea to have an option to cancel KDE's various switching effects (present windows etc.) with the same key that triggers them. From what I see, currently the Escape key is the only way to cancel them. Using them from my mouse, it would mean having to map Escape to a mouse button, which 1) costs me an extra mouse button and 2) seems a tad dangerous - accidentally pressing escape in the wrong context could give some rather disastrous results. I'll see if I can add a bug report/feature request for that.

Zarin wrote:
Musgit wrote:Now that I'm on KDE 4, I'm still using single click mode, and yet the file dialog insists on double clicks. Is this just incomplete functionality in the dialog, or is it a bug/configuration error on my system?


You may need to restart KDE for the change to fully take affect.


So this is *not* regular behaviour but some problem on my system? This has been bothering me ever since I tried the original KDE 4.0, and it's still the same with the current release. I've been using KDE 4 on my desktop system ever since the 4.1 release, and have rebooted it pretty much daily since that. The double click thing is also affecting the System Settings app (which I still find a major step backwards from the old KControl, but that's a different story altogether).
Musgit
Registered Member
Posts
10
Karma
0

RE: Mouse buttons

Sat Mar 14, 2009 4:27 pm
Musgit wrote:I also think it would be a good idea to have an option to cancel KDE's various switching effects (present windows etc.) with the same key that triggers them.


Wishlist entry submitted, in case anyone's interested:

https://bugs.kde.org/show_bug.cgi?id=187161
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

RE: Mouse buttons

Sat Mar 14, 2009 9:28 pm
As I mentioned in this thread, there are already dozens of open bugs on this issue. If you want this feature please say so in one or more of those bug reports.

Last edited by TheBlackCat on Sat Mar 14, 2009 9:35 pm, edited 1 time in total.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient