小编YXD*_*YXD的帖子

设置 nautilus-open-terminal 来启动 Terminator 而不是 gnome-terminal

nautilus-open-terminal软件包添加了一个菜单/右键单击选项以在当前目录中打开终端。

我想把这个从开放gnome-terminal改为开放terminator这里有一些关于更改默认终端模拟器的建议,但是这些说明似乎不再有效,而且我在系统设置中找不到任何可以更改默认模拟器的地方。

我也试过:

$ sudo update-alternatives --config x-terminal-emulator
Run Code Online (Sandbox Code Playgroud)

选择

* 0            /usr/bin/terminator               50        auto mode
Run Code Online (Sandbox Code Playgroud)

但这似乎没有任何效果。知道如何让这个工作吗?

nautilus gnome-terminal terminator

66
推荐指数
5
解决办法
6万
查看次数

如何轻松切换到外接显示器

我目前正在使用 NVidia X Server Settings 程序在我的笔记本电脑和外接显示器之间进行切换,我确信我正在以一种非常愚蠢的方式进行:

我目前选择外接显示器,将其从“禁用”设置为“TwinView”,然后选择笔记本电脑屏幕并将其更改为“禁用”。然后我按“应用”就完成了。当我需要断开连接时,我会反向执行此操作。

这是我设法切换显示器(我的 ThinkPad 上的 VGA 和 DisplayPort 连接)的唯一方法,而且这是一个非常繁琐的过程,我每天必须执行多次。

在此处输入图片说明

但是,我真的希望能够使用 Fn-F8 或其他一些键盘快捷键进行切换,但这似乎不适用于任何连接方法。有什么比我能做的更好的吗?

nvidia multiple-monitors thinkpad 11.04 external-monitor

12
推荐指数
1
解决办法
9414
查看次数

Chrome 错误地下载了 localhost/wordpress 页面,但 Firefox 没有

我在http://localhost/wordpress安装了Wordpress

当我尝试在 Chrome 中查看页面时,它会下载 PHP 文件而不是显示页面。当我在 Firefox 中查看时,一切正常。

当我创建 localhost/test.php 时,<?php echo "hello world" ?>它只包含它显示在两个浏览器中。

关于可能出什么问题的任何想法?

$ dpkg -l | grep apache 输出:apache2、apache2-mpm-prefork、apache2-utils、apache2.2-bin、apache2.2-common、libapache2-mod-php5

php google-chrome apache2 webserver wordpress

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

我无法卸载 Ironhide,也无法安装任何其他软件包

我安装了 Ironhide(又名 BumbleBee)。它无法使其工作,但现在我无法卸载该软件包,并且它阻止我安装或删除其他任何东西。有什么想法可以解决这个问题吗?

$ sudo apt-get remove -f ironhide
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  virtualgl acpi-call-dkms virtualgl-libs easybashgui
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  ironhide
0 upgraded, 0 newly installed, 1 to remove and 65 not upgraded.
1 not fully installed or removed.
After this operation, 1,901 kB disk space will be freed.
Do you want to …
Run Code Online (Sandbox Code Playgroud)

package-management apt dpkg bumblebee

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