severity 354148 wishlist Hi Emil
Please tone it down a little bit and don't assume that settings are like this to annoy users. You will have more sucess with your reports if you state them in a polite and calm manner. On Thu, Feb 23, 2006 at 07:15:05PM +0100, Emil Nowak wrote: > Package: mouseemu > Version: 0.15-2 > Severity: normal > > Ok so let's start from the begging - just after installing this package we > have default config. > pressing F11 = right click > Why the hell it F11? Who inveneted this thing they wan't me to break my > fingers. F11 is located in the opossite side of keyboard - it's very very > unconvnient to use that key as right click. > Anyway this package is for ppc users, so I guess all PPC users (like me) are > familliar with MacOS keybindings. On MacOS ctrl+click = right-click. Why the > default config doesn't works that way? > > pressing F10 = middle click > thats great. I use F10 as F10 in many applictions, and mouseemu is blocking > this key. It should be some unpopulr key for example ctrl+F10. It will be even > better to disable middle click - it's not as helpfull as right-click and all > users can live without this. These defaults are not as arbitrary as you migth think. F11 and F12 are the defaults used by the kernel mouse button emulation. mouseemu was primarily designed to replace this kernel level hack. You are right that the current defaults might be unconvinent. I will consider to switch to the OS X default of Ctrl-click. Middle click is very important in the X Window System. It's used to insert text that was previously marked. I could very well live without the right click, but for me X is quite unusable without a middle mouse button. As you can see, the best default varies widely on whom you ask. I'm sure that every possible default key will annoy at least one person. So it's a quite tricky question and not as clear cut. > And now the second thing - Changing the default config. > I would like to use ctr+click = right-click > manual says i should check include/linux/input.h > (thats really cool-user-friendly thing - checking kernel headers) :-) > Anyway it seems that I have left_CTRL=29 > So I changed mousemu > RIGHT_CLICK="-right 29 0" > I shoud down my Xsession. and I do > # invokde-rc.d mouseemu restart > ....that's simple > nad after restarting it ctrl+click=nothing. Ok that's fine > So the second tip from manual is to use showkey - yeah that another easy-step: > # apt-file search bin/showkey > console-tools: usr/bin/showkey > kbd: usr/bin/showkey > # apt-get install console-tools > and now I can run showkey. And it shows keycodes as hex numbers - cool (I like > hex numbers). Anyway I had 0x9d for ctrl. > I was trying to put that number directly to mouseemu configuration file, but > It doesn't accept hex keyvodes. > Yes, yes - I know every computer user should calculate hex numbers on-the-fly > in > thier mind. But I'm not as good as every computer user, so I used calculator. > It is exactl 29 dec, same as in input.h file. > I was also trying to use keycode showed by xev = 37, but of course it doesn't > work. If you have any suggestions on how to make a simple, but complete guide on how to find the correct key code? It's possible that the modifier keys don't work correctly in your setup. There were bugs in that code in the past. This is one reason why the ctrl-click setup is not the default. To further debug this and to see if it is indeed a bug I need more information about your exact model. > > And in the end I was trying to disable this F10 key = middle-click, > because mouseemu was blocking normal usage of this key. > There is no information in manual what should be done, to disable > middle-click. > So I was guessing that putting keycodes=0 as modifier and normal key will do > this. I was trying this: > MID_CLICK="-midlle 0 0" > but of course it doesn't work. This should work with the correct spelling for middle. > > Summary: > 1) Make default config more MacOS-like > 2) make configuration file syntax more user-firednly for example > RIGHT_CLICK="left_clikc+CTRL" #will do the normal thing > RIGHT_CLICK="F11" # will do the funny thing as the current version > > 3) Maybe it is possible to intergrate this program with pbbuttonsd. Now I need > two daemons running (pbbuttonsd and mouseemu), to normally use my laptop. pbbuttonsd and mouseemu serve two different purposes. I don't think that it's a good idea to merge them. But this is ultimatively a decision either the mouseemu or pbbuttonsd upstreams have to make. What's bad about having two daemons? Gaudenz > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: powerpc (ppc) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.15-1-powerpc > Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) > > Versions of packages mouseemu depends on: > ii libc6 2.3.6-1 GNU C Library: Shared libraries > an > > mouseemu recommends no packages. > > -- no debconf information > -- Ever tried. Ever failed. No matter. Try again. Fail again. Fail better. ~ Samuel Beckett ~
pgpBfVWxZ3cho.pgp
Description: PGP signature