(我不想听别人说我有多疯狂想要那个!:)
焦点跟随鼠标也被称为点对焦点、指针焦点和(在某些实现中)草率焦点。[添加其他术语,使搜索更容易!]]鼠标光标
(我不想听别人说我有多疯狂想要那个!:)
焦点跟随鼠标也被称为点对焦点、指针焦点和(在某些实现中)草率焦点。[添加其他术语,使搜索更容易!]]鼠标光标
当前回答
一些潜在有用的建议,部分“焦点悬停”与双屏幕。它不能修复一些问题,比如当另一个屏幕已经有输入框焦点时,在输入框中输入。但它可能会帮助那些来这里“专注于悬停”的人。
没有这个修复,我总是不得不“焦点点击”在监视器之前,我可以上下文点击任何东西。
你可以通过这个获得“focus on hover”的一些方面:
进入“系统首选项” 选择“任务控制”选项 在那里你应该看到“显示有单独的空间”,去掉它
然后至少选择了Monitor1,现在你可以立即点击Monitor2中的某些内容,比如电子邮件或Tab,而不需要第一次“焦点点击”。
通常情况下,这可能并不适用于每个人,这取决于操作系统版本和其他事情。
其他回答
还有一个相关的问题是点击后提高。在OSX下,每次单击一个窗口时,它也会被引发,因此可能会隐藏其他窗口。当从两个窗口复制/粘贴时,这是有问题的,其中一个窗口覆盖了大部分屏幕。我喜欢保留一个全局记事本(在所有工作区中都是活动的),从中复制/粘贴东西(可以是命令、文本、待办事项等任何东西)。在OSX下,这是一个挑战。如果有一个选项可以禁用“点击时提升”就好了。
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有一款产品可以做到这一点,但他们从未为Leopard或更高版本发布过版本。
MondoMouse可以做焦点跟踪鼠标,但不能自动提升。 即使是焦点跟随鼠标也坏了。 例如,它不能很好地使用命令-标签(如果你命令-标签到一个新应用程序,并且不碰鼠标,那么它不应该将焦点切换回鼠标指针所处的位置——我非常确定我所见过的Linux中的每个实现都能做到这一点,但MondoMouse没有)。
你可以只在终端窗口中启用焦点跟随鼠标(没有自动升起)(只需在终端中执行以下命令):
defaults write com.apple.Terminal FocusFollowsMouse -string YES
同样,对于X11窗口:
defaults write org.x.X11 wm_ffm -bool true
(对于10.5.5之前的mac版本,这是:
defaults write com.apple.x11 wm_ffm true
)
我不知道还有其他应用程序支持它。
如果有人感兴趣的话,这里有一个多监视器自动对焦的玩具级实现:https://bitbucket.org/sivann/mac-screenfocus/src/master/
它大部分工作,但不能处理同一应用程序在不同显示器的多个窗口。如果你将鼠标移到另一个显示器上,会将焦点移到上一个应用程序上。
有趣的是,Leopard在默认情况下启用了一种焦点跟随鼠标(无自动提升)功能。滚轮在非聚焦窗口中工作。