有没有办法在 Fedora 23/24 上为 Chromium 添加 H.264 支持?
任何解决方法或替代解决方案都可以。
我目前使用spot 的 Chromium repo。
编辑:看来,目前没有其他不需要重新编译 Chromium 的选项。编辑:Ubuntu 有添加必要的编解码器的chromium-codecs-ffmpeg-extra 包。但是这种支持必须在 Chromium 编译时启用。
我尝试使用 dm-crypt 和 LVM 设置 Fedora 25,但很难使 TRIM 工作。
$ sudo fstrim -av
/boot: 28.6 MiB (30003200 bytes) trimmed
/: 56.5 GiB (60672704512 bytes) trimmed
$ sudo fstrim -av
/boot: 0 B (0 bytes) trimmed
/: 56.5 GiB (60671877120 bytes) trimmed
Run Code Online (Sandbox Code Playgroud)
从上面的输出中可以看出,重复运行fstrim
在未加密的ext4 上有效 /boot
,但似乎对/
(在同一磁盘上)没有影响。
设置是 SSD -> dm-crypt -> LVM -> XFS
$ lsblk -D
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda 0 512B 2G 0
??sda2 0 512B 2G 0
? ??luks-dd5ce54a-34c9-540c-a4cf-2a712b8a3a5e 0 512B …
Run Code Online (Sandbox Code Playgroud) 我知道这已经讨论过很多次了,但是互联网上有很多不同的意见,哪些优化对 SSD 有利(以及是否使用它们)。此外,技术已经进步,一些建议可能已经过时。
这似乎仍然相关,但根据ycombinator讨论中的用户 cabirum 的说法:
您不必过度配置未分区的空间并保留 20% 的分区可用空间。这是一个或另一个,关键是要有足够的可用空间来进行适当的磨损平衡。
另一方面,在ArchWiki或namhuy 的这篇文章中没有提到它。还有什么更简单的 Linux建议!
namhuy建议两者,ArchWiki和easylinux建议仅 noatime 和用户 andmarios 在ycombinator说:
noatime:这是旧的,使用relatime。
这是根据自 Linux 2.6.30 以来的手册页默认行为。
这可能是最大的混乱
/etc/rc.local
. 不要使用discard
挂载选项。fstrim.service
和fstrim.timer
. 警告有关discard
.discard
选项。ArchWiki、namhuy、easylinux建议将浏览器缓存移至 RAM。这在ycombinator 中通常是不同意的。 …
我需要安装libvirt
Vagrant 插件,但它失败并出现以下错误:
$ vagrant plugin install libvirt
The plugin(s) can't be installed due to the version conflicts below.
This means that the plugins depend on a library version that conflicts
with other plugins or Vagrant itself, creating an impossible situation
where Vagrant wouldn't be able to load the plugins.
You can fix the issue by either removing a conflicting plugin or
by contacting a plugin author to see if they can address the conflict.
Vagrant could not find …
Run Code Online (Sandbox Code Playgroud)