我正在使用双显示器,其中之一与
xrandr --output HDMI-1 --rotate left
Run Code Online (Sandbox Code Playgroud)
我在两台显示器上的 Google Chrome(从Chrome 的 PPA安装,而不是 Chromium)上看到屏幕撕裂,尽管在旋转的显示器上更明显。我似乎没有在其他程序中看到屏幕撕裂,例如 gnome-terminal。
我的 GPU 是
$ inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.4 driver: i915 resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 19.0.8
Run Code Online (Sandbox Code Playgroud)
我尝试添加
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TripleBuffer" "true"
Option "TearFree" "true"
Option "DRI" "false"
EndSection
Run Code Online (Sandbox Code Playgroud)
要/etc/X11/xorg.conf.d/20-intel-graphics.conf按照这一问题,但问题是这个命令让我的双显示器作为一个监视器(相同的图片显示了两个监视器)。我尝试删除TripleBuffer …
我通过运行其安装脚本安装了一些软件
sudo ./install.sh
Run Code Online (Sandbox Code Playgroud)
安装后,我的 Ubuntu 笔记本电脑上的所有帐户都可以通过简单地发出命令获得 root 访问权限sudo -s,即使是标准(非管理员)帐户。发出命令时也没有密码提示sudo -s。
我的/etc/sudoers看起来像这样:
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
ALL ALL=(ALL) NOPASSWD:ALL
Run Code Online (Sandbox Code Playgroud) 如何在 Ubuntu上安装Google Roboto 字体的常规无衬线版本(不是等宽版本)?
有一个关于 Roboto Mono的问题,但我的问题是关于 Roboto,而不是等宽版本。
我做到了do-release-upgrade -d并得到了这个回溯。早些时候,我做了一些尝试用upgrade-alternatives指向python来python3,指着python3到python3.8,但我sudo update-alternatives --remove-all python并sudo apt install --reinstall编着他们两个。
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,319 kB]
Fetched 1,320 kB in 0s (0 B/s)
authenticate 'eoan.tar.gz' against 'eoan.tar.gz.gpg'
extracting 'eoan.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://ca.archive.ubuntu.com/ubuntu disco InRelease
Hit http://ca.archive.ubuntu.com/ubuntu …Run Code Online (Sandbox Code Playgroud) 我将 Python 2.7.15+ 符号python链接到python3. 当我尝试将 Ubuntu 升级到 19.04 时
sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
它返回以下错误:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-k7w2kx7r/disco", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeMain.py", line 238, in main
if app.run():
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 2085, in run
return self.fullUpgrade()
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1906, in fullUpgrade
if not self.askLivepatch():
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1175, in askLivepatch
version = next((r.version for r in di.get_all("object") if r.series == self.toDist), self.toDist)
AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all'
Error in …Run Code Online (Sandbox Code Playgroud) 为什么 Ubuntu 重命名这个包?Debian 的名称不那么“企业就绪”。