(我不想听别人说我有多疯狂想要那个!:)

焦点跟随鼠标也被称为点对焦点、指针焦点和(在某些实现中)草率焦点。[添加其他术语,使搜索更容易!]]鼠标光标


当前回答

菜单问题是传统的焦点跟随鼠标无法工作的唯一原因。

这里有一个替代方案:在键盘上按下一个键之前不要改变焦点。这将覆盖95%的焦点跟踪鼠标用例,并将使这个老的脾气暴躁的X用户非常高兴。我不知道有多少次我在Chrome中浏览网页,按下Command-T键打开一个新标签,却发现这个标签在终端中打开了。如果我的大脑在使用Mac的8个月里还没有注意到这一点,那它永远也不会注意到。

其他回答

我目前使用MondoMouse,即使有它的怪癖,没有它我也无法使用我的mac。他们有免费试用,我会推荐给每个人。

MondoMouse

Steve Yegge不久前写了一篇关于这个问题的文章,他试图写一个合适的扩展,但失败了。从那以后,我试图为OS X找到聚焦跟随鼠标的应用程序,也失败了。

如果有人感兴趣的话,这里有一个多监视器自动对焦的玩具级实现:https://bitbucket.org/sivann/mac-screenfocus/src/master/

它大部分工作,但不能处理同一应用程序在不同显示器的多个窗口。如果你将鼠标移到另一个显示器上,会将焦点移到上一个应用程序上。

Amethyst支持此特性。它可以很容易地安装与酿造安装紫水晶。

下面是我使用的配置文件。它关闭了所有的功能,除了焦点跟随鼠标。保存到~/.amethyst。

{
    "LAYOUTS": "----------------------",
    "layouts": [
    ],

    "MODIFIERS": "----------------------",
    "Valid modifiers are": [
        "option",
        "shift",
        "control",
        "command"
    ],

    "mod1": [
    ],
    "mod2": [
    ],

    "COMMANDS": "----------------------",
    "Commands are": {
        "cycle-layout": "Cycle layout to the next layout",
        "cycle-layout-backward": "Cycle layout to the previous layout",
        "focus-screen-1": "Focus the main window on the first screen",
        "focus-screen-2": "Focus the main window on the second screen",
        "focus-screen-3": "Focus the main window on the third screen",
        "focus-screen-2": "Focus the main window on the second screen",
        "focus-screen-3": "Focus the main window on the third screen",
        "focus-screen-4": "Focus the main window on the fourth screen",
        "throw-screen-1": "Throw the focused window to the first screen",
        "throw-screen-2": "Throw the focused window to the second screen",
        "throw-screen-3": "Throw the focused window to the third screen",
        "throw-screen-4": "Throw the focused window to the fourth screen",
        "shrink-main": "Shrink the main pane of the current layout",
        "expand-main": "Expand the main pane of the current layout",
        "increase-main": "Increase the number of windows in the main pane",
        "decrease-main": "Decrease the number of windows in the main pane",
        "focus-ccw": "Move window focus counter-clockwise on the current screen",
        "focus-cw": "Move window focus clockwise on the current screen",
        "swap-ccw": "Swap focused window with the next window going counter-clockwi$
        "swap-cw": "Swap focused window with the next window going clockwise",
        "swap-main": "Swap focused window with the main window of its screen",
        "throw-space-1": "Throw the focused window to the first space",
        "throw-space-2": "Throw the focused window to the second space",
        "throw-space-3": "Throw the focused window to the third space",
        "throw-space-4": "Throw the focused window to the fourth space",
        "throw-space-5": "Throw the focused window to the fifth space",
        "throw-space-6": "Throw the focused window to the sixth space",
        "throw-space-7": "Throw the focused window to the seventh space",
        "throw-space-8": "Throw the focused window to the eighth space",
        "throw-space-9": "Throw the focused window to the ninth space",
        "throw-space-8": "Throw the focused window to the eighth space",
        "throw-space-9": "Throw the focused window to the ninth space",
        "toggle-float": "Toggle the focused window between being floating and tiled"
    },

    "screens": "3",

    "cycle-layout": {
        "mod": "mod1",
    },
    "cycle-layout-backward": {
        "mod": "mod2",
    },
    "select-tall-layout": {
        "mod": "mod1"
    },
    "select-wide-layout": {
        "mod": "mod1"
    },
    "select-fullscreen-layout": {
        "mod": "mod1"
    },
    "select-column-layout": {
        "mod": "mod1"
    },
        "mod": "mod1"
    },
    "focus-screen-1": {
        "mod": "mod1"
    },
    "focus-screen-2": {
        "mod": "mod1"
    },
    "focus-screen-3": {
        "mod": "mod1"
    },
    "focus-screen-4": {
        "mod": "mod1"
    },
    "throw-screen-1": {
        "mod": "mod2"
    },
    "throw-screen-2": {
        "mod": "mod2"
    },
    "throw-screen-3": {
        "mod": "mod2"
    },
    "throw-screen-4": {
        "mod": "mod2"
    "throw-screen-4": {
        "mod": "mod2"
    },
    "shrink-main": {
        "mod": "mod1"
    },
    "expand-main": {
        "mod": "mod1"
    },
    "increase-main": {
        "mod": "mod1"
    },
    "decrease-main": {
        "mod": "mod1"
    },
    "focus-ccw": {
        "mod": "mod1"
    },
    "focus-cw": {
        "mod": "mod1"
    },
    "swap-screen-ccw": {
        "mod": "mod2"
    },
    "swap-screen-cw": {
    },
    "swap-screen-cw": {
        "mod": "mod2"
    },
    "swap-ccw": {
        "mod": "mod2"
    },
    "swap-cw": {
        "mod": "mod2"
    },
    "swap-main": {
        "mod": "mod1"
    },
    "throw-space-1": {
        "mod": "mod2"
    },
    "throw-space-2": {
        "mod": "mod2"
    },
    "throw-space-3": {
        "mod": "mod2"
    },
    "throw-space-4": {
        "mod": "mod2"
    },

        "mod": "mod2"
    },
    "throw-space-5": {
        "mod": "mod2"
    },
    "throw-space-6": {
        "mod": "mod2"
    },
    "throw-space-7": {
        "mod": "mod2"
    },
    "throw-space-8": {
        "mod": "mod2"
    },
    "throw-space-9": {
        "mod": "mod2"
    },
    "toggle-float": {
        "mod": "mod1"
    },
    "toggle-tiling": {
        "mod": "mod2"
    },
    "display-current-layout": {
        "mod": "mod1"
    "display-current-layout": {
        "mod": "mod1"
    },

    "MISC": "----------------------",
    "floating": [],
    "float-small-windows": false,
    "mouse-follows-focus": false,
    "focus-follows-mouse": true,
    "enables-layout-hud": false,
    "enables-layout-hud-on-space-change": false
}

不幸的是,CodeTek虚拟桌面专业不再开发,该公司似乎已经退出业务几年前。

历史参考:http://www.codetek.com/ctvd/(不适用于新的OS X版本!)

历史回顾:http://www.osnews.com/story/6144

使用CodeTek Virtual Desktop Pro,你可以获得焦点-跟随-鼠标,并禁用自动上升,它也有一个虚拟桌面的寻呼机——类似于Fvwm在Linux上的工作方式。它运行得非常完美——这是我买过的最好的软件。 它与所有应用程序都一致,切换应用程序,将窗口移动到不同的工作区,以及导航工作区都比最新的OS X版本[10.6,10.7,10.8]要容易得多。

不幸的是,随着Mac OS X 10.5 VirtualDesktop Pro停止工作,看起来苹果积极确保CodeTek不会继续在它上面工作。

令人遗憾的是,苹果粉碎了CodeTek和它的产品——虚拟桌面专业版(Virtual Desktop Pro)真的比OS X当前实现的工作区更好。它的工作原理基本上就像LINUX上的Fvwm——超快的导航——没有不必要的点击或鼠标手势……

看到苹果规定窗口管理器(Finder)的行为,似乎不再允许第三方替换Finder,我很难过。