In gnome's screen shot program, the quick keys PrtScn captures the entire screen and alt+PrtScn captures the active window. Is there a way to script or set up the third capture option of a selected area?
我使用vagrant进行开发。我忘记关闭一些虚拟机。当我退出主机时,Ubuntu 关闭过程似乎挂起。
有没有办法用一点命令行功能来编写关闭所有流浪盒子的脚本?类似下面的东西,但有些东西,嗯,有效。
for f in $HOME/vagrant;
do;
cd $f
vagrant halt
done;
Run Code Online (Sandbox Code Playgroud) 我在 Ubuntu 15.10 中关闭了地理定位。有没有办法通过 GPS 坐标或使用 in 最整洁的都市区来设置位置~/.config/redshift.conf?
启动或重新启动运行 16.04 的 ThinkPad 时4.4.0-23-generic。我看到一个简短的错误或警告,指出
TPM 错误 (6)
看着系统,我看到了一些喋喋不休 dmesg
$ dmesg | grep -i tpm
[ ] tpm_tis 00:05: 1.2 TPM (device-id 0x0, rev-id 78)
[ ] tpm_tis 00:05: TPM is disabled/deactivated (0x6)
[ ] tpm_tis 00:05: A TPM error (6) occurred attempting to read a pcr value
[ ] ima: No TPM chip found, activating TPM-bypass!
Run Code Online (Sandbox Code Playgroud)
我应该更改 bios 设置还是以其他方式处理此问题?一旦加载了桌面管理器,它似乎不会影响性能。
我正在尝试从 Ubuntu 16.04 远程访问 Mac(OSX 10.11.5)。我尝试通过 VNC使用Remmina。但是,它似乎首先连接。但几乎在 Remmina 窗口出现后几乎立即崩溃。
我可以从 Ubuntu 实例远程进入 Mac OSX 盒子吗?
为了最大限度地减少鼠标使用(可访问性和健康原因),我如何将标准输出到操作系统剪贴板?
也就是说,我想做类似的事情:
$ drush uli | copy-this-to-clipbaord
$ drush uli > copy-this-to-clipbaord
可能的?
我在任何一天都在几个不同的服务器上。我开始真正调整我的 bash 配置文件中的两个文件:.vimrc 和 alias.sh。有没有人有推荐的方法来保存和同步这两个文件。也许使用 rsync 或 unison(通过 ssh 使用预定义的共享密钥)?以前有人设置过吗?
我有一个 CentOS 作为来宾 VM。我的主机是 13.04。CentOS 可以看到网络,但我无法通过 ssh 进入该虚拟机。
我的来宾机器是在 VirtualBox 中运行的 CentOS 6.4。在 VM 窗口中,我可以通过 yum 进行更新,甚至可以浏览lynx. 它报告内部 IP 为 10.0.2.15。但是我不能从我的主机 ssh 进入这个。为了仔细检查,我什至关闭了 iptables。
我错过了任何步骤吗?我怎样才能从主机通过 SSH 连接到来宾?
VirtualBox 会话信息

来宾 (CentOS) 的 ifconfig

虚拟盒子网络

当我从项目根级别的终端窗口打开 sublime 时
$ subl .
Run Code Online (Sandbox Code Playgroud)
打开两个窗口。一个是打开当前工作目录(我想要的)。另一个是上一个会话(我不想要)。
有没有办法遏制这种行为?是否有我可以在不删除其他插件和设置的情况下清除的缓存区域?
16.04 ×2
bash ×2
gnome ×2
virtualbox ×2
12.04 ×1
13.04 ×1
apple ×1
bashrc ×1
capslock ×1
clipboard ×1
command-line ×1
geolocation ×1
keyboard ×1
networking ×1
pipe ×1
redshift ×1
screenshot ×1
ssh ×1
sublime-text ×1
sync ×1
thinkpad ×1
tpm ×1
vagrant ×1