Bug 122274
Summary: | anaconda should enable mouse button emulation on apple laptops | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> | ||||||
Component: | udev | Assignee: | Harald Hoyer <harald> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 10 | CC: | barryn, bnocera, byte, dkl, harald, mike, redhat, triage | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | powerpc | ||||||||
OS: | Linux | ||||||||
Whiteboard: | bzcl34nup | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-04-26 01:26:28 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 459018 | ||||||||
Bug Blocks: | 121179, 235705 | ||||||||
Attachments: |
|
Description
Jesse Keating
2004-05-02 16:30:20 UTC
anaconda is not in the business of changing random sysctls for random hardware. Yuk. Set the default in the kernel! I wonder if acme could usefully do this? I'm not familiar enough w/ acme. Something to consider, we don't want people logging in remotely to start a Gnome session and have their mouse settings override the person who's at the local console (how often does this happen w/ laptops, who knows...). I'm cool with seeing F11 be right click, F10 be middle click. Thats how I use my ibook. Any objections to this as the "sane default" ? Wrt comment #4, no objections since I have become rather used to it by now. *** Bug 108095 has been marked as a duplicate of this bug. *** That would be something easy enough to add as an enhancement to the Mouse config tool, in graphical, bypassing X to use the input layer directly. Wrt comment #4, I actually use FN+Ctrl or Fn+Alt rather than F11/F12, so my sane default differs :) So, are we finding a nice workaround for this in time for FC3? AFAIK the "Fn" key only exists on PowerBooks, not on desktop Macs (neither my iMac at home nor the G4 I used to have at work have the "Fn" key on their keyboards). I think F10/F11 is what Yellow Dog tends toward (either in its defaults or its documentation, I forget which). If anaconda defaults to something else, I think it's going to cause confusion, unless it's very well documented. Out of interest, what would you right click or middle click on anaconda ? Wade, you don't right or middle-click ina anconda - the issue is setting up the "correct" sysctls, and Jesse thought anaconda. Jeremy is weary about the idea, and notting says we can opt for it in the kernel. dwmw2 considers acme foo - what are we going to do about it though? Barry in comment #9, yes, F10/F11 is whats used, and you're right about not having the Fn key on non-laptops (didn't even realise till I got a non-laptop Mac :) ). It would be possible to do that pretty easily in X, especially in the multimedia-keys part of the control-center: - add middle mouse button, and right mouse button shortcuts (entries in the table, actions, and GConf entries) - add actions for those buttons, generate the right or middle click and releases with XTestFakeButtonEvent() Sure, it could be done in X, however an emulation like this is more system level as right clicks could be used in console. Since there is a kernel sys entry to manage the emulation of these buttons, I had thought that perhaps exposing this setting at a system level was more appropriate, such as in anaconda when asking to emulate a two button mouse as 3 buttons. Will this get some attention now that Fedora Core officially supports the PowerPC architecture? Apple laptops are pretty handicapped without this feature. Could someone reassign this bug to FC5 or devel? Moving to FC5 target. However, I think there needs to be a better way than one-off arch hacks in the installer. Perhaps a udev rule that operates on the mac IO mouse device that calls sysctl to set these parameters? Move to FC7 target. Created attachment 289722 [details]
udev rule to run enable-mouse-emulation for ADB mice
Created attachment 289723 [details]
Script to enable mouse button emulation
Out of curiousity, why does it need to be configurable key-wise? sadly because apple keeps moving what keys are used for eject and such, and some laptops have higher FXX number keys. But 'configuration' sucks. I decided to use default values with the option of reconfiguration. On my laptop, there is a little "enter" key near the trackpad which I use for right clicks. Middle click is F11. But, as Jesse states, I think different Apple laptops may have different key layouts. Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. Is anyone using the PowerPC port anymore? Is anyone using Fedora on Apple laptops? This bug was reported, with a solution in 2004. Since then, the solution has been changed to address concerns voiced in the comments above. Until this is fixed, GNOME is difficult to use on Apple laptops without plugging in an external, multi-button mouse. Oof, apologies. This really should have been reassigned a while ago. Assigning to udev for rule integration - the script itself obviously shouldn't be writing to /tmp, but that looks like debugging code anyway.b Hmm, why not make a separate package, which provides the tool, the rules and the config file. Certainly not every architecture needs this. Use xorg-x11-drv-synaptic. |