小编Tej*_*kar的帖子

将鼠标灵敏度降低至标准限值以下

我的 Ubuntu 笔记本上连接了一个 USB 鼠标。这款鼠标(不幸的是)非常敏感,因此有时很难用鼠标指针点击小图标。这确实是一个硬件问题,它不是错误,也不是 Ubuntu/gnome 的错。尽管如此,我还是非常希望通过软件解决这个问题(通过硬件解决意味着购买新鼠标)。

回到 Windows,如果我将灵敏度设置得非常低,那就足够舒服了。在 Ubuntu 中,即使是可用的最低灵敏度和加速度(在System>Prerences>Mouse菜单中)仍然令人沮丧。如何将其降低到默认最小值以下?

我试过xset,但它似乎xset只处理加速度和阈值,而不是实际的灵敏度。

mouse gnome 10.10

49
推荐指数
2
解决办法
5万
查看次数

如何将 SSD 启动驱动器与 HDD 数据驱动器结合使用?

我有一个 64 GB 的 SSD 和一个 6 GB/s 1 TB 的硬盘。我只想将 SSD 用作引导设备,也可能用作交换存储。在 1 TB 的硬盘驱动器上,我想拥有主文件系统。就像在 Windows 中一样,我喜欢至少有 2-3 个分区示例用于音乐游戏程序等。

您向我推荐哪种分区布局?

partitioning ssd system-installation

20
推荐指数
2
解决办法
5万
查看次数

从 18.10 升级到 20.04 选项

我花了很长时间试图弄清楚如何从 18.10 升级到 20.04 现在它快结束了。我意识到我已经走到了生命的尽头,必须在另一个生命尽头升级,这看起来非常困难,建议是重新安装

然而,我只是通过将我的 /etc/apt/sources.list 更新为cosmic来实现它focal- 我不得不删除我使用的 EOL 源到标准

deb http://archive.ubuntu.com/ubuntu focal main restricted universe
deb http://archive.ubuntu.com/ubuntu focal-security main restricted universe
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe
Run Code Online (Sandbox Code Playgroud)

进而

apt update
apt upgrade
apt dist-upgrade
Run Code Online (Sandbox Code Playgroud)

它给出了一个关于 whoopsie 的预删除脚本的错误,但我设法用

dpkg --purge --force-all whoopsie
apt install whoopsie
Run Code Online (Sandbox Code Playgroud)

我意识到force-all这不是很好,但我找不到其他方法来解决它,而且 whoopsie 似乎能够在重新安装后报告自己!

然后继续我所在的地方当我尝试时do-release upgrade,它说没有新版本,因为它似乎已经执行了升级 -lsb_release -a给出20.04

还有什么我需要做的吗?我非常幸运吗?只是想把它放在那里以防其他人也在尝试同样的事情

upgrade 18.10 20.04

14
推荐指数
1
解决办法
1万
查看次数

sudo apt-get update 并添加存储库错误

每当我 sudo apt-get update 时,我都会收到错误。以下是日志中的错误:

  Err:13 http://ppa.launchpad.net/ehoover/compholio/ubuntu eoan Release 
  404  Not Found [IP: 91.189.95.83 80] 

  Err:14
  http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu eoan Release     
  404  Not Found [IP: 91.189.95.83 80] 

 Err:15
  http://ppa.launchpad.net/pipelight/stable/ubuntu eoan Release       
  404  Not Found [IP: 91.189.95.83 80] 

  E: The repository 'http://ppa.launchpad.net/ehoover/compholio/ubuntu 
  eoan Release' does not have a Release file. 

  N: Updating from such a repository can't be done securely, and is 
  therefore disabled by default. 

  N: See apt-secure(8) manpage for repository creation and user 
  configuration details. 

  E: The repository 'http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu 
  eoan Release' …
Run Code Online (Sandbox Code Playgroud)

updates apt ppa

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

llvm 开发包缺少 libclangBasic

(使用 19.10 完全更新)

我正在使用 cmake 构建 emacs 讽刺服务器

Cmake 正在进一步加载一个 llvm cmake 文件;

/usr/lib/llvm-8/lib/cmake/clang/ClangTargets.cmake
Run Code Online (Sandbox Code Playgroud)

这测试文件是否存在

/usr/lib/llvm-8/lib/libclangBasic.a
Run Code Online (Sandbox Code Playgroud)

这对于llvm-9包也是一样的。所以我的结论是包装llvm dev坏了,已经坏了一段时间了,我也看到其他人报告这个包装坏了。

除了下载 llvm/clang 和构建之外,还有一个解决方法。

另外,你能修复这个包吗?

package-management compiling

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

如何在 WSL 下终止失控的控制台进程?

我在运行命令时犯了错误:

cat /dev/urandom

控制台(托管在 Windows 上)充满了垃圾并停止响应Ctrl-Z或其他任何内容。

有什么办法可以恢复控制台吗?

command-line windows-subsystem-for-linux

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

运行 apt-get update 时出现签名验证错误

运行时出现以下错误apt-get update

An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: http://za.archive.ubuntu.com precise Release.
Failed to fetch http://za.archive.ubuntu.com/precise/Release
Run Code Online (Sandbox Code Playgroud)

我正在从全新安装运行更新。我所做的唯一配置更改是将网络从 DHCP 更改为静态。

这是apt-get update命令的错误输出:

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages  Hash Sum mismatch …
Run Code Online (Sandbox Code Playgroud)

apt

4
推荐指数
1
解决办法
1万
查看次数

如何解决这个 GPG 错误?

当我尝试更新和升级我的 apt 时,出现以下错误:

\n
Get:1 https://cli.github.com/packages stable InRelease [3\xe2\x80\xaf743 B]\nHit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease                                                                                                      \nErr:1 https://cli.github.com/packages stable InRelease                                                                                                                  \n  The following signatures were invalid: EXPKEYSIG C99B11DEB97541F0 Nate Smith <vilmibm@github.com>\nHit:3 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                                                                                                      \nHit:4 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                                                                                                   \nHit:5 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                        \nHit:6 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                                                                          \nHit:7 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease                                                                           \nHit:8 https://packages.zorinos.com/stable focal InRelease                                                         \nHit:9 https://packages.zorinos.com/patches focal InRelease    \nHit:10 https://packages.zorinos.com/apps focal InRelease      \nHit:11 https://packages.zorinos.com/drivers focal InRelease   \nHit:12 http://se.archive.ubuntu.com/ubuntu focal InRelease    \nHit:13 http://se.archive.ubuntu.com/ubuntu focal-updates InRelease\nHit:14 http://se.archive.ubuntu.com/ubuntu focal-backports InRelease\nReading package lists... Done\nW: GPG error: https://cli.github.com/packages …
Run Code Online (Sandbox Code Playgroud)

apt sudo

3
推荐指数
1
解决办法
4864
查看次数

计算器无法启动

我正在运行 18.10,最近 gnome-calculator 停止运行。从命令行运行它会得到以下结果:

jr@Ubuntu-HP:~$ gnome-calculator 
You need to connect this snap to the gnome platform snap.

You can do this with those commands:
snap install gnome-3-26-1604
snap connect gnome-calculator:gnome-3-26-1604 gnome-3-26-1604

(the '3-26-1604' number defines the platform version and might change)
Run Code Online (Sandbox Code Playgroud)

因此,请遵循以下说明:

jr@Ubuntu-HP:~$ snap install gnome-3-26-1604
snap "gnome-3-26-1604" is already installed, see 'snap help refresh'
jr@Ubuntu-HP:~$ snap connect gnome-calculator:gnome-3-26-1604 gnome-3-26-1604
error: snap "gnome-calculator" has no plug named "gnome-3-26-1604"


jr@Ubuntu-HP:~$ apt-cache policy gnome-calculator
gnome-calculator: 
   Installed: (none) 
   Candidate: 1:3.30.1-1ubuntu1 
   Version table:
      1:3.30.1-1ubuntu1 …
Run Code Online (Sandbox Code Playgroud)

gnome-calculator 18.10

2
推荐指数
1
解决办法
4327
查看次数