想知道是否有任何方法可以监控wifi和以太网数据消耗(分别向上和向下)并记录它。我正在尝试计算 Wifi 和以太网的每日、每周和每月数据消耗量。如果可能的话,也按会话进行。
我看到系统监视器已经显示发送和接收的数据。想知道是否存在任何方法来获取此类数据并记录它。shell 脚本或 Python。我懂一点Python,谢谢。
PS:使用22.04
想知道是否有任何方法可以监控wifi和以太网数据消耗(分别向上和向下)并记录它。我正在尝试计算 Wifi 和以太网的每日、每周和每月数据消耗量。如果可能的话,也按会话进行。
我看到系统监视器已经显示发送和接收的数据。想知道是否存在任何方法来获取此类数据并记录它。shell 脚本或 Python。我懂一点Python,谢谢。
PS:使用22.04
是否可以让 Rhythmbox 从上次关闭时的位置开始?我有一个将近 2 小时的音乐文件,我想从我离开的地方继续播放。我还有一些文件,例如 40 分钟、90 分钟等,我正在尝试这样做。遗憾的是,每次启动 Rhythmbox 时我都必须从头开始。我正在使用 Ubuntu 22.04。
任何帮助都会很棒。谢谢。
当我尝试VirtualBox 7
在 22.04 上安装时,它要求MOK
在重新启动时添加到固件。这样做安全吗?我有一台Secure Boot
启用了 HP 笔记本电脑。
它会永久更改固件吗?我在同一台笔记本电脑上安装了双启动 Windows 10。
我看到一些旧答案。希望它在 22.04 中更简单。
我用
sudo auto-cpufreq
管理我的 CPU 以获得更好的备用电池。每次我的笔记本电脑启动时,我都必须在终端中运行这个命令。想知道我是否可以自动化该过程,以便在每次启动时自动启动。谢谢。
可以自定义的低电量警告确实很有帮助。但是当电池充满时没有警告。如果无人看管,会导致电池磨损。当电池电量达到 95% 或 100% 时,有什么方法可以得到警告?
我正在使用 22.04。
我从 21.10 升级到 22.04。一切都很好。但是当我更换壁纸时,我所有的桌面图标都消失了。我看到一个带有壁纸和图标底座的普通桌面。
如何恢复桌面图标?谢谢。
编辑 1:选中“扩展”,没有可用的桌面 NG 扩展。
它在 2.10 中运行良好。现在我升级到 22.04,USB 和我在 NTFS 中的双启动 Windows 10 分区没有安装。我尝试了 Ventoy USB,它工作正常,能够浏览内容。
有出路吗?谢谢。
我很高兴低电量通知现在显示为 20%,而不是之前的 10%。是否可以在 15% 时收到通知或将警告更改为 15% 的电池电量?
这是一个为我工作的数字。所以我宁愿以 15% 而不是 20% 插入。谢谢。
我有 Nvidia 1650 4GB 显卡。在 21.10 中一切正常。但我不断看到有关 Mesa 的文章,上面说它们是针对 Nvidia 的。
我主要做 GIMP、Inkscape 和 Blender。添加任何特殊的驱动程序有帮助吗?谢谢。
我有自己的光标主题,几乎可以在 21.10 的其他任何地方使用。但在里面Firefox
,我看到光标回退到默认值。有什么方法可以确保光标在内部Firefox
也保持不变?
谢谢。
我正在使用 Ionic,但我的构建失败了。它说我需要最新的 npm 和 node.js。可悲的是,到目前为止,我的尝试远离另一个主题等等sudo apt-get update
,sudo apt-get upgrade
但未能移动14.17.3 LTS
网站所说的 t 版本latest LTS
。
https://nodejs.org/en/download/
我有很多设置,也不想破坏其他设置。如果有人可以提供正确的命令来更新到latest npm and nodejs LTS
.
我经历的主题具有特定版本的命令并且是旧的。谢谢。
更新 1:
我从 Snap 商店安装了 nodejs 14。但不知道现在在哪里。当我使用 nodejs --version 它显示 v10。
每次我Send error report
尝试通过Software and updates
. 目前,我点击它并没有任何反应。
我尝试使用sudo apt-get update
. 在终端中,我收到很多错误说未签名,如下所示
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Origin' value from 'LP-PPA-tista-plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Label' value from 'Plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Suite' value from 'focal' to 'focal-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
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: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
自过去 2 周以来,顶部栏上也有此错误图标和下拉菜单
更新 1:
sudo apt update
根据 + Kulfy 的评论尝试
Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Get:18 http://in.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [207 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [55.6 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [87.9 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
Get:23 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [12.9 kB]
Get:24 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [16.2 kB]
Get:25 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [171 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [25.3 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [436 B]
Get:28 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [755 kB]
Get:29 http://in.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [560 kB]
Get:30 http://in.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [159 kB]
Get:31 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Get:32 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [200 kB]
Get:33 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [356 kB]
Get:34 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
Get:35 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [16.5 kB]
Get:36 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [4,356 B]
Get:37 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.6 kB]
Get:38 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [5,508 B]
Get:39 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:40 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:41 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:42 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Get:43 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
Reading package lists... Error!
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer signed.
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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
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: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
更新 2:
再试sudo apt update
一次
$ sudo apt update
[sudo] password for myPC:
Get:1 http://in.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Hit:2 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease
Ign:3 http://dl.google.com/linux/webdesigner/deb stable InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:5 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
Ign:6 http://linux.dropbox.com/ubuntu disco InRelease
Err:5 http://packages.microsoft.com/repos/code stable InRelease
Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:8 http://linux.dropbox.com/ubuntu disco Release [6,598 B]
Hit:9 http://archive.canonical.com/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal InRelease
Get:11 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Err:9 http://archive.canonical.com/ubuntu focal InRelease
Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:14 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Hit:15 http://dl.google.com/linux/webdesigner/deb stable Release
Hit:16 http://ppa.launchpad.net/tista/plata-theme/ubuntu focal InRelease
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
Ign:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Err:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
File has unexpected size (32 != 520). Mirror sync in progress? [IP: 91.189.95.85 80]
Hashes of expected file:
- Filesize:520 [weak]
- SHA256:a3773bb530cff42a2d0897847644b9d65187c8ecb3556a98641ed51a199bafe0
- SHA1:dd9a0819692490aaa173d9d4509651e08ec89c2c [weak]
- MD5Sum:e38999641c7c26e004f9ad328196758b [weak]
Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Reading package lists... Error!
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer signed.
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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
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: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
此刻,我只想将我的备用桌面用作存储空间。我有几个疑问
如何通过 WiFi 网络访问服务器机器?它没有连接显示器、鼠标或键盘。但有一个 WiFi 适配器并运行 18.04。
我想找到一些put and take
从服务器获取文件的方法。主要是媒体文件。和一些文档文件。
整个设置适用于我的主机空间不足并运行 18.04。文件传输完成后,我需要找到一些方法从主机关闭服务器。
请帮助解决这些问题。
编辑 :
我找到了 1 和 2 的解决方案。我现在需要了解如何从我的主 PC 关闭服务器 PC。两者都是 Ubuntu 18.04。谢谢。
目前,我去破折号,键入Screenshot
启动截图工具。有没有快捷键可以召唤它?谢谢。
Github 上的 Yaru repo 有一个 gnome-shell 文件夹
https://github.com/ubuntu/yaru/tree/master/gnome-shell
我们可以通过usr/share/themes
或通过.themes
文件夹构建它并在 Ubuntu 18.04 上使用 Yaru Gnome Shell 主题吗?
如果我把它弄复杂了,Yaru repo 有 gnome shell 主题文件夹,可以在 18.04 上工作吗?如果是,请告诉我如何。谢谢。