我有两台运行相同 Ubuntu 18.10 的机器。在它们两个上我都有几个绑定安装,/etc/fstab
如下所示:
# file system mount point type options dump pass
/mnt/hdd/folder /home/user/data none bind,x-gvfs-hide 0 0
Run Code Online (Sandbox Code Playgroud)
将其中一台机器升级到 19.04 后,出现以下两个错误:
我无法将文件从绑定安装移动到垃圾箱(既不能使用 Nautilus GUI,也不能通过gio trash
):
$ gio trash file.txt
gio: file:///home/user/data/file.txt:
Trashing on system internal mounts is not supported
Run Code Online (Sandbox Code Playgroud)fstab
没有隐藏并显示为一个已安装的分区我该如何解决?或者我在哪里提交错误报告?或者有解决方法吗?(毕竟自 19.04 发布以来已经过去了几个月。)尤其是非工作垃圾很烦人。
我希望我的 Ubuntu 在每次锁定屏幕时自动将键盘布局切换为英语,这样我就不必每次都手动输入密码。我怎么做?
另外,我希望每次解锁屏幕后我的键盘布局也都是英文。是否可以?
我已经尝试过的方法:
字体 -> 抗锯齿 -> 无
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
</fontconfig>
Run Code Online (Sandbox Code Playgroud)
Xft/Hinting 1
Xft/HintStyle "hintslight"
Xft/Antialias 0
Xft/RGBA "rgb"
Run Code Online (Sandbox Code Playgroud)
然后运行xsettingsd
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.antialias: 0
Xft.rgba: rgb
Run Code Online (Sandbox Code Playgroud)
然后运行xrdb -merge ~/.Xresources
(从这里获取这些:https://wiki.archlinux.org/index.php/Font_configuration#In Correct_hinting_in_GTK_applications )
但仍有一些应用程序具有抗锯齿功能,例如 VLC、Telegram、Viber。我如何在那里禁用它?
更新。一个特例是 Evince 文档查看器。当它渲染 PDF 时,它会使用一些其他设置,而不是渲染 …
19.04 ×1
antialiasing ×1
fonts ×1
fstab ×1
gnome ×1
lock-screen ×1
login ×1
mount ×1
nautilus ×1
trash ×1