小编tom*_*ozb的帖子

类似于 xcalib 的程序来反转桌面颜色

我正在使用xcalib在家中的计算机上反转颜色。我有两台显示器在工作,不幸的xcalib -i -a是,它们只反转了其中一个(我不想反转的那个)。我还没有找到解决此问题的任何解决方案,因此我正在寻找xcalib.

目标是能够仅反转选定显示器的颜色或同时反转两者。顺便说一下,我正在使用 Mint 13 Mate。

更新:计算机是带有集成英特尔卡的戴尔 Optiplex 990。

lspci -k | grep VGA

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Run Code Online (Sandbox Code Playgroud)

数据来自xrandr

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
VGA1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x800 …
Run Code Online (Sandbox Code Playgroud)

colors multi-monitor linux-mint monitors intel-graphics

12
推荐指数
2
解决办法
4443
查看次数

通过 SSH 连接到其他主机时更改 PS1 颜色

我正在尝试根据我使用 SSH 连接的主机来更改 PS1 外观。我现在的 PS1:

PS1='\[\e[1;32m\]\u@\h\[\e[1;34m\] \w\[\e[1;31m\]$(__git_ps1)\[\e[1;0;37m\] \$\[\e[0m\] '
Run Code Online (Sandbox Code Playgroud)

主机host1我想和黄色这是为了替换第一颜色1;33和用于host21;35作为一个例子。

如何确定我已使用 SSH 连接到给定主机并相应地更改 PS1?

colors bash prompt

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