小编Khu*_*hue的帖子

启动应用程序或显示其窗口(如果已启动)的命令

我想创建一个快捷方式来 1) 启动尚未启动的应用程序,以及 2) 显示(或将应用程序的窗口放在前面)如果它已经启动。

例如:F10 用于启动 Stardict。我用命令“stardict”和键F10创建了一个自定义快捷方式,所以每次按F10时,系统都会启动一个新的Stardict实例,但这不是我想要的。

有人可以帮忙吗?

先感谢您。

更新:另外,我想添加一些类似的东西:如果窗口已经显示,按下快捷键(始终相同)会将其最小化到系统托盘。

非常感谢desgua在下面提供的完整解决方案(答案部分)。顺便说一句,在desgua发布他的解决方案之前,我找到了另一个解决方案,但没有测试:http : //ubuntuforums.org/showthread.php?t=1464311

shortcut-keys

5
推荐指数
1
解决办法
1862
查看次数

How to reinstall the default graphics drivers in terminal and without internet

I accidently remove the graphics driver (I did something like apt-get remove --purge fglrx* and other things, I don't really remember) and now my computer boot to a console login page.

Now without GUI I cannot connect to wireless internet and so cannot install anything.

Can I revert to the initial graphics driver (and configuration)? Maybe with an installation CD? I have Ubuntu 13.10.

I tried sudo-apt-get install --reinstall fglrx, it did install, but when I tried fglrxinfo, …

ati graphics fglrx drivers

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

ati ×1

drivers ×1

fglrx ×1

graphics ×1

shortcut-keys ×1