-
Notifications
You must be signed in to change notification settings - Fork 13
gui_005
Zhang Jc edited this page Jan 8, 2017
·
6 revisions
默认是全屏,按住 Option 键会变成加号“+”,功能是纵向拉伸为最长,按住 Option+Shift 键也会变加号,功能是铺满整个桌面。
我要实现实现Ubuntu Ctrl+Alt+T那种效果:就是打开一个终端窗口,即使在其他桌面上有终端的情况下,也在当前窗口打开。一种比较容易实现的方法如下:
-
用Automator 创建一个“服务”
-
添加 “实用工具”-“Applescript脚本”流程
-
输入:
on run {input, parameters}
tell application "Terminal"
do script ""
activate
end tell
end run
-
保存
-
在“系统设置”-“键盘”-“快捷键”-“服务”中找到自己定义的名字,设置快捷键。值得注意的是不同的软件有不同的自带快捷键,一定要设置一个和所有软件快捷键都不冲突的快捷键才能保证全局能用。比如Finder有很多快捷键,我尝试后,只发现Command+Alt+s和Finder不冲突。
http://superuser.com/questions/195633/applescript-to-open-a-new-terminal-window-in-current-space
control
+command
+space
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。
Wiki: wiki.jcix.top ~聚沙成塔~ Blog: blog.jcix.top