我在 Linux Mint 19.3(内核 5.3.0-28)上,我的主板带有 Realtek ALC887 板载芯片(snd_hda_codec_realtek)。由于默认的电源管理,节电状态会定期打开和关闭,当编解码器重新打开到全功率时,会产生明显的“咔嗒”声。这很烦人,例如在访问带有嵌入式音频元素的网站时 - 每次通过扬声器都会发出咔嗒声。
如何永久禁用省电功能?
或者有没有办法通过 snd_hda_codec_realtek 模块的某种选项来解决这种爆裂噪声?我记得即使在启动时,我在 Windows 上也根本没有这种噪音。Realtek 还宣传 ALC887 具有“独特的 de-pop 电路:减少启动弹出噪声”。
所以我刚刚对 Linux Mint 20 进行了全新安装,但这个问题在 Linux Mint 19.3 中也存在。每次我尝试从软件管理器执行apt-get update或apt-get upgrade什至下载软件时,都会出现错误。当我尝试更新更新管理器推荐的内容时,发生了同样的事情。
我发现如果我在每次失败的尝试后继续运行该命令,我可以升级或更新sudo apt-get update/upgrade。由于每次更新/升级都以一定的百分比停止,当我再次运行该命令时,它会从相同的百分比继续,并通过执行几次更新/升级最终完成。
这是我尝试从软件管理器下载 VLC 时遇到的错误。它首先说:
Failed to download package files
Check your Internet connection.
Run Code Online (Sandbox Code Playgroud)
详细信息是:
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.12-12_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection …Run Code Online (Sandbox Code Playgroud) 我有一个基于 Linux Mint 20 Cinnamon Nvidia (GTX 1060) 的系统,当我注意到最新的 Nvidia 驱动程序已经过时,我想立即安装它们。
但是,我似乎无法安装它:
apt-get --dry-run install nvidia-driver-455
Run Code Online (Sandbox Code Playgroud)
抛出以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have …Run Code Online (Sandbox Code Playgroud) software-installation nvidia troubleshooting linux-mint proprietary-drivers
我想更改操作系统的名称,因此在 grub 菜单中它只显示 Linux mint 而不是 Linux Mint xfce 20.1,以使其尽可能干净 我在哪里可以更改名称?
从源(2.4.23)构建apache2 http 服务器后,我没有和命令。a2dissitea2ensite
配置是:
./configure --with-included-apr --prefix=/usr/local/apache2
Run Code Online (Sandbox Code Playgroud)
当我运行时:
whereis apache2
我得到:
apache2: /etc/apache2 /usr/local/apache2
Run Code Online (Sandbox Code Playgroud)
但which apache2什么也没显示,也许需要对/usr/bin? http://localhost工作正常。
源版本信息:
/usr/local/apache2/bin/apachectl -v
Server version: Apache/2.4.23 (Unix)
Server built: Nov 1 2016 22:52:26
Linux版本:
linux mint 17
3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64
Run Code Online (Sandbox Code Playgroud) 这可能是在将 linux mint 从 19.1 升级到 19.2 tina 之后发生的
$ df -Th 文件系统类型 已用大小 可用 使用% 安装于 udev devtmpfs 2.7G 0 2.7G 0% /dev tmpfs tmpfs 544M 8.3M 536M 2% /运行 /dev/sda5 ext4 19G 18G 31M 100% / tmpfs tmpfs 2.7G 74M 2.6G 3% /dev/shm tmpfs tmpfs 5.0M 4.0K 5.0M 1% /运行/锁定 tmpfs tmpfs 2.7G 0 2.7G 0% /sys/fs/cgroup /dev/sda3 保险丝块 94G 69G 25G 74% /mnt/34ADC09A5E6352AC /dev/sda4 保险丝块 112G 78G 35G 70% /mnt/1CEE91ED7C738E10 /dev/sda6 ext4 73G 20G 50G 29% /home …
在这个问题中,它表明这与 Wayland 会话有关
就我而言,当我运行提供的命令(echo $XDG_SESSION_TYPE)时,它给出输出x11而不是 wayland,这在其他答案中不是这种情况,我也在 linux mint 20 上使用 kde Plasma 而不是 gdm3 所以修改 / 的答案解决方案etc/gdm3/custom.conf 对我不起作用,当我在录制它们的同一设备上运行它们时,视频会按照预期播放,但尝试通过 Whatsapp 或其他东西分享它们或将它们移动到我的智能手机上它只是出现黑屏。
在 Linux Mint 20.1 Ulyssa 上,我收到了一个安全更新来修补两个安全漏洞,导致所有未修补的 sudo 版本在没有密码的情况下进行本地权限提升1.9.5,这里是更改日志的一部分:
sudo (1.8.31-1ubuntu1.2) focal-security; urgency=medium
* SECURITY UPDATE: dir existence issue via sudoedit race
- debian/patches/CVE-2021-23239.patch: fix potential directory existing
info leak in sudoedit in src/sudo_edit.c.
- CVE-2021-23239
* SECURITY UPDATE: heap-based buffer overflow
- debian/patches/CVE-2021-3156-pre1.patch: sanity check size when
converting the first record to TS_LOCKEXCL in
plugins/sudoers/timestamp.c.
- debian/patches/CVE-2021-3156-1.patch: reset valid_flags to
MODE_NONINTERACTIVE for sudoedit in src/parse_args.c.
- debian/patches/CVE-2021-3156-2.patch: add sudoedit flag checks in
plugin in plugins/sudoers/policy.c.
- debian/patches/CVE-2021-3156-3.patch: fix …Run Code Online (Sandbox Code Playgroud) Linux Mint 的软件包在提交给软件管理员之前是否经过任何形式的手动审核?
我问这个问题是因为像discord这样需要多次下载的应用程序只有53条评论,而像Rider这样的应用程序只有2条评论。是否有人调查这个软件包,并验证它们确实来自正确的来源并且不是木马?
linux-mint ×10
linux ×2
security ×2
apache-httpd ×1
apt ×1
audio ×1
compiling ×1
debian ×1
filesystems ×1
grub ×1
ip ×1
kde ×1
networking ×1
nvidia ×1
sudo ×1
ubuntu ×1