我正在尝试按照wiki.linaro.org(在我的 Ubuntu 10.04 VM 上)上的“在 Ubuntu 10.04(Lucid)和 10.10(Maverick)主机上安装交叉工具链”说明进行操作。第一步是:
sudo add-apt-repository ppa:linaro-maintainers/toolchain
Run Code Online (Sandbox Code Playgroud)
但是当我运行时,我得到:
Error reading https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain: <urlopen error [Errno 110] Connection timed out>
Run Code Online (Sandbox Code Playgroud)
我猜问题出在我雇主代理服务器的配置上,尤其是 HTTPS。
当我在 Firefox 中打开https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain时,我得到“连接超时”。然后我进入 Firefox 首选项 -> 高级 -> 网络 -> 设置...并将 HTTP 代理设置为“网关”,将端口设置为 8080,并选中“将此代理服务器用于所有协议”。然后页面加载。这支持了我的理论。
我试过设置 http_proxy 和 https_proxy 环境变量(小写和大写):
$ set | grep -i proxy
HTTPS_PROXY=https://gateway:8080
HTTP_PROXY=http://gateway:8080
http_proxy=http://gateway:8080
https_proxy=https://gateway:8080
Run Code Online (Sandbox Code Playgroud)
我也尝试将它们更改为:
$ set | grep -i proxy
HTTPS_PROXY=gateway:8080
HTTP_PROXY=gateway:8080
http_proxy=gateway:8080
https_proxy=gateway:8080
Run Code Online (Sandbox Code Playgroud)
我尝试将第二行添加到 /etc/apt/apt.conf:
Acquire::http::proxy "http://gateway:8080/";
Acquire::https::proxy "https://gateway:8080/";
Run Code Online (Sandbox Code Playgroud)
但我继续遇到同样的错误。
我该如何解决这个问题?
更新:我跟着指示 …
在 Windows 中,您有以下快捷方式:
我对最后两个快捷方式特别感兴趣。
可能的重复:
是否有将窗口平铺到屏幕左侧或右侧的快捷方式?
我在 VMWare Workstation 中运行 12.04。
Windows 7 提供了一个非常有用的功能:使用Windows+Left或Windows+Right在屏幕的左/右半部分对齐当前窗口(对于宽屏幕上的终端窗口等很有用)。
是否有可用于 Ubuntu 的等价物?
到目前为止,我能够模拟Windows+ Up(最大化窗口),但找不到左/右对齐的任何内容。
需要明确的是:我不是在谈论“移动到工作区”左右,我是在谈论调整当前屏幕/工作区上的当前窗口大小以仅占据屏幕的左/右半部分。
我真的很怀念 Unity 3D 中的“Aero Snap”窗口捕捉功能。有什么方法可以在 Unity 2D 中获得它或替代它吗?
我想将我的窗口拖到桌面的左侧或右侧,并像在 Gnome 或 Windows 7 上一样自动调整它们的大小。并在将它们拖到顶部时最大化它们。这在 Xfce 中怎么可能?