ubuntu alt tab 无法切换应用程序

来源:互联网 发布:sql语句 数据类型 编辑:程序博客网 时间:2024/05/20 06:06
安装完ubuntu,发现不能使用ALT + TAB切换应用程序,翻遍所有百度结果,没有可行,都是拷这个拷那个。。。真实无语。。。翻墙google,看的第一个就完美解决。记录下来,方便国人少走弯路。

首先执行以下2条命令:

sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-plugins

大家从名字上就可以辨别出这两个packages是干嘛的了吧,第一个只是设置的管理软件,只有少量的设置项,安装完成compiz-plugins会出现很多高级设置选项。百度来的所有国人文章,全部都是只安装compizconfig-settings-manager,然后到window manager中找到statice application switcher。。。。。根本就没有,这个在plugin中。。。。再次吐槽下,坑爹啊。

安装完成以上两package后,就容易了。按alt + f2 输入ccsm 运行compizconfig-settings-manager程序。
如果不可运行,可到下面中找到程序执行:
Applications -> System tools -> preferences -> compizconfig settings manager

在desktop中找到Ubuntu Unity Plugin 选择switcher选项卡,取消 alt-tab 和 shift-alt-tab("Key to start the switcher" 和 "Key to switch to the previous window in the Switcher"),然后点击back。

在"Window management"中找到"Static Application Switcher" 使之有效,并设置"Next window (All windows)" 和 "Prev window (All windows)" 的快捷键分别为alt-tab 和 shift-alt-tab。

关闭compizconfig settings manager ,又可以快速在各个应用中切换了,