Merge pull request #27 from Donkey-Hao/branch-1

Branch 1 finished
This commit is contained in:
Donkey 2022-09-07 20:06:54 +08:00 committed by GitHub
commit d18d6dd862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
131 changed files with 8543 additions and 1931 deletions

View File

@ -0,0 +1,91 @@
[#]: subject: "Introduce the different Fedora Linux editions"
[#]: via: "https://fedoramagazine.org/introduce-the-different-fedora-linux-editions/"
[#]: author: "Arman Arisman https://fedoramagazine.org/author/armanwu/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15003-1.html"
Fedora Linux 的各种版本
======
![Introduce the differenct Fedora Linux editions][1]
我们在使用 Fedora Linux 时有不同的偏好。例如,有些人选择 Fedora Linux是因为 Fedora Workstation 默认使用 GNOME 作为其桌面环境。但也有一些人想使用 Fedora Linux 但想使用不同的桌面环境。或者也有一些人使用 Fedora Linux 有特定的需求,但不想被系统配置和应用安装所困扰。甚至有些人想根据自己的需要自由安装 Fedora Linux。因此 Fedora Linux 根据你的需要提供了多个版本。本文将介绍不同的 Fedora Linux 版本。
### Fedora 官方版本
我们从 Fedora Linux 的 <ruby>官方版本<rt>Edition</rt></ruby> 开始,即 Fedora Workstation、Fedora Server 和 Fedora IoT。 Fedora Workstation 是 Fedora Linux 的官方版本,可以安装在笔记本电脑和台式电脑上。此版本附带 GNOME 作为默认桌面环境和各种标准应用,因此 Fedora Linux 已为日常使用做好准备。而 Fedora Server 专门用于服务器用途提供邮件服务器、DNS 等的安装。最后一个是 Fedora IoT用于物联网和边缘设备生态系统。
在 Fedora 项目网站主页上你可以找到另外两个版本Fedora CoreOS 和 Fedora Silverblue。Fedora CoreOS 是一个自动更新的操作系统,旨在安全、大规模地运行容器化工作负载。而 Fedora Silverblue 是一个不可变的桌面操作系统,旨在支持以容器为中心的工作流。
![Introduce the different Fedora Linux editions: Fedora Workstation][4]
更多信息可在此链接获得:
> **[https://getfedora.org/][5]**
### Fedora 定制版:可选桌面
Fedora <ruby>定制版<rt>Spin</rt></ruby> 很受那些非常在意桌面外观的人的欢迎。大多数人都知道 Fedora Linux 只有 GNOME 作为默认桌面环境。即使你真的想使用 GNOME 以外的桌面环境,也有几个替代桌面选项。使用 Fedora 定制版,你可以在安装 Fedora Linux 时立即获得你最喜欢的桌面环境。你可以从 KDE Plasma、XFCE、LXQt、MATE、Cinnamon、LXDE 和 SoaS 中进行选择。此外对于喜欢平铺窗口管理器的人Fedora Linux 还提供了 Fedora i3 定制版,其中 i3 作为默认窗口管理器,并附带了几个标准应用。
![Introduce the different Fedora Linux editions: Fedora Plasma][6]
![Introduce the different Fedora Linux editions: Fedora Cinnamon][7]
更多信息可在此链接获得:
> **[https://spins.fedoraproject.org/][8]**
### Fedora 实验室:功能包
Fedora <ruby>实验室<rt>Lab</rt></ruby> 是根据特定需求打包的 Fedora Linux 软件包集合。因此这些版本的安装包都根据其功能提供了应用和必要的内容。Fedora 实验室提供多种软件包选择,例如<ruby>天文学<rt>Astronomy</rt></ruby><ruby>计算神经学<rt>Comp Neuro</rt></ruby><ruby>设计套件<rt>Design Suite</rt></ruby><ruby>游戏<rt>Games</rt></ruby>、JAM、<ruby>Python 教室<rt>Python Classroom</rt></ruby><ruby>安全实验室<rt>Security Lab</rt></ruby><ruby>机器人套件<rt>Robotics Suite</rt></ruby><ruby>科学<rt>Scientific</rt></ruby>。如果你想使用 Fedora Linux 进行设计工作,那么设计套件是你的正确选择。但是如果你喜欢玩游戏,你可以选择游戏版。
![Introduce the different Fedora Linux editions: Fedora Design Suite][9]
![Introduce the different Fedora Linux editions: Fedora Games][10]
更多信息可在此链接获得:
> **[https://labs.fedoraproject.org/][11]**
### Fedora 的其它下载
Fedora 的<ruby>其它下载<rt>Alt Download</rt></ruby> 集合了特定目的的可选 Fedora Linux 安装程序,例如用于测试或用于特定架构。还有其他可选格式,例如网络安装程序或种子下载等格式。在这里你可以找到<ruby>网络安装程序<rt>Network Installer</rt></ruby><ruby>种子下载<rt>Torrent Downloads</rt></ruby><ruby>可选架构<rt>Alternative Architectures</rt></ruby><ruby>云基础镜像<rt>Cloud Base Images</rt></ruby><ruby>所有内容<rt>Everything</rt></ruby><ruby>测试镜像<rt>Testing Images</rt></ruby> 和 Rawhide。
更多信息可在此链接获得:
> **[https://alt.fedoraproject.org/][12]**
### 总结
你可以自由选择适合你偏好的 Fedora Linux 版本,而不是官方版本。但是,如果你想获得具有各种桌面外观的 Fedora Linux那么 Fedora 定制版适合你。如果你希望 Fedora Linux 根据你的需要包含应用和软件包,你可以选择 Fedora 实验室。但是,如果你是专家并且想要更自由地安装 Fedora Linux你可以在 Fedora 其它下载处浏览替代选项。希望本文可以帮助你选择合适的 Fedora Linux并请在评论中分享你使用 Fedora Linux 的经验。
(题图由 [Frédéric Perez][2] 发布在 [Unsplash][3]
--------------------------------------------------------------------------------
via: https://fedoramagazine.org/introduce-the-different-fedora-linux-editions/
作者:[Arman Arisman][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://fedoramagazine.org/author/armanwu/
[b]: https://github.com/lkxed
[1]: https://fedoramagazine.org/wp-content/uploads/2021/11/FedoraMagz-FedoraEditions-Intro-816x345.png
[2]: https://unsplash.com/@fredericp?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
[3]: https://unsplash.com/s/photos/blue-abstract?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
[4]: https://fedoramagazine.org/wp-content/uploads/2021/11/g-monitor-overview.png
[5]: https://getfedora.org/
[6]: https://fedoramagazine.org/wp-content/uploads/2021/11/screenshot-kde-1024x640.jpg
[7]: https://fedoramagazine.org/wp-content/uploads/2021/11/screenshot-cinnamon-1024x576.jpg
[8]: https://spins.fedoraproject.org/
[9]: https://fedoramagazine.org/wp-content/uploads/2021/11/Fedora-Design-1024x792.png
[10]: https://fedoramagazine.org/wp-content/uploads/2021/11/Fedora-Games-1024x792.png
[11]: https://labs.fedoraproject.org/
[12]: https://alt.fedoraproject.org/

View File

@ -3,35 +3,34 @@
[#]: author: "Jim Hall https://opensource.com/users/jim-hall"
[#]: collector: "lkxed"
[#]: translator: "Donkey-Hao"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14983-1.html"
如何在 Linux 上使用 Bash 自动化任务
======
Bash 有一些方便的自动化功能,可以让我在 Linux 上处理文件时更轻松。
![bash logo on green background][1]
![](https://img.linux.net.cn/data/attachment/album/202208/30/181814f4v7ahztuaaxwqwg.jpg)
图源Opensource.com
> Bash 有一些方便的自动化功能,可以让我在 Linux 上处理文件时更轻松。
通过 Bash 命令行进行自动化任务是极好的一种方式。不论你使用运行在服务器上的 Linux,进行管理日志文件还是其他文件,或者你在个人电脑上整理文件,使桌面保持整洁,使用 Bash 的自动化功能会使你的工作变得更简单
通过 Bash 命令行进行自动化任务是极好的一种方式。不论你使用运行在服务器上的 Linux 进行管理日志文件或其他文件,还是你在个人电脑上整理文件以使桌面保持整洁,使用 Bash 的自动化功能会使你的工作变得更轻松
### Linux `for` 命令:自动执行文件任务
### 自动执行文件任务for
如果你对一堆文件要同时处理,并且对每个文件进行相同的操作,请使用 `for` 命令。该命令会遍历文件列表,并执行一个或多个命令。`for` 命令如下所示:
```
for variable in list
for 变量 in 列表
do
    commands
    命令
done
```
我在示例中添加了额外的空格,来分开 `for` 命令中不同的部分。多个命令可能无法在命令行中同时运行,不过你可以使用 `;` 将所有命令放在同一行中,就像这样:
我在示例中添加了额外的空白和换行,来分开 `for` 命令中不同的部分。看起来好像无法在命令行中同时运行多个命令,不过你可以使用 `;` 将所有命令放在同一行中,就像这样:
```
for variable in list ; do commands ; done
for 变量 in 列表 ; do 命令 ; done
```
让我们看看它的实际效果。我使用 `for` 命令来重命名一些文件。最近,我有一些截图,想要重命名。这些截图名称为 `filemgr.png``terminal.png`,我想将 `screenshot` 放在每个名称前。我可以使用 `for` 命令一次性将 30 个文件重命名。这是两个文件的示例:
@ -44,54 +43,54 @@ $ ls
screenshot-filemgr.png  screenshot-terminal.png
```
`for` 命令使得在一系列文件中执行一种或多种操作变得容易。你可以用一些有意义的变量,比如 `image``screenshot`,或者你用示例中“缩写的”变量 `f`。当我在使用 `for` 循环写脚本的时候,会选择有意义的变量名。但是当我在命令行中使用 `for`,我通常会选择缩写变量名,比如 `f` 代表文件,`d` 代表目录等。
`for` 命令使得在一系列文件中执行一种或多种操作变得容易。你可以用一些有意义的变量,比如 `image``screenshot`,或者你用示例中“缩写的”变量 `f`。当我在使用 `for` 循环写脚本的时候,会选择有意义的变量名。但是当我在命令行中使用 `for`,我通常会选择缩写变量名,比如 `f` 代表文件,`d` 代表目录等。
不论你选择怎样的变量名,请确保在引用变量时添加 `$` 符号。这会将变量扩展为你正在处理的文件的名称。在 Bash 提示符下键入 `help for` 以了解有关 `for` 命令的更多信息。
### Linux `if` 条件执行
### 按条件执行if
当你需要对每个文件执行相同操作时,使用 `for` 循环遍历一些文件很有帮助。但是,如果你需要对某些文件做一些不同的事情怎么办?为此,你需要使用 `if` 语句进行条件执行。`if` 语句如下所示:
```
if test
if 测试
then
    commands
    命令
fi
```
你也可以使用 `if/else` 语句进行判断:
你也可以使用 `if`、`else` 语句进行判断:
```
if test
if 测试
then
    commands
    命令
else
    commands
    命令
fi
```
你可以使用 `if/else-if/else` 语句来实现更复杂的程序。当我一次性需要自动处理很多文件时,我会在脚本中使用:
你可以使用 `if`、`elif`、` else` 语句来实现更复杂的程序。当我一次性需要自动处理很多文件时,我会在脚本中使用:
```
if test
if 测试1
then
    commands
elif test2
    命令
elif 测试2
then
    commands
elif test3
    命令
elif 测试3
then
    commands
    命令
else
    commands
    命令
fi
```
`if` 命令可以让你进行不同的判断,例如判断一个文件是否是一个文件,或者一个文件是否为空文件(零字节)。在命令行中输入 `help test`,可以立即查看使用 `if` 语句能够进行的不同种测试。
`if` 命令可以让你进行各种判断,例如判断一个文件是否是一个文件,或者一个文件是否为空文件(零字节)。在命令行中输入 `help test`,可以立即查看使用 `if` 语句能够进行的种测试。
例如,假设我想清理一个包含几十个文件的日志目录。日志管理中的一个常见任务是删除所有空日志,并压缩其他日志。解决这个问题的最简单方法是删除空文件。没有一个 `if` 测试可以完全匹配,但是我们有 `-s` 选项来判断是否是一个文件,并且判断该文件不是空的(大小不为零)。这与我们想要的相反,但我们可以使用 `!` 来否定测试,以判断某些内容不是文件或为空。
例如,假设我想清理一个包含几十个文件的日志目录。日志管理中的一个常见任务是删除所有空日志文件,并压缩其他日志。解决这个问题的最简单方法是删除空文件。没有可以完全匹配的 `if` 测试,但是我们有 `-s` 选项来判断是否是一个文件,并且判断该文件不是空的(大小不为零)。这与我们想要的相反,但我们可以使用 `!` 来否定测试,以判断某些内容不是文件或为空。
让我们用一个示例来看看这个过程。我创建了两个测试文件:一个是空的,另一个包含一些数据。我们可以使用 `if` 判断,*如果*文件为空打印消息 “empty”
让我们用一个示例来看看这个过程。我创建了两个测试文件:一个是空的,另一个包含一些数据。我们可以使用 `if` 判断,*如果*文件为空打印消息 `empty`
```
$ ls
@ -134,7 +133,7 @@ via: https://opensource.com/article/22/7/use-bash-automate-tasks-linux
作者:[Jim Hall][a]
选题:[lkxed][b]
译者:[Donkey-Hao](https://github.com/Donkey-Hao)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -0,0 +1,135 @@
[#]: subject: "Marktext is an Excellent Editor Even for Those Who Dont Know Markdown"
[#]: via: "https://itsfoss.com/marktext-editor/"
[#]: author: "Abhishek Prakash https://itsfoss.com/"
[#]: collector: "lkxed"
[#]: translator: "Chth0lly"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14986-1.html"
即使对那些不知道 Markdown 的人来说Marktext 也是一个绝佳的编辑器
======
![](https://img.linux.net.cn/data/attachment/album/202208/31/170837f0kx77ewii4hkih0.jpg)
又一个 Markdown 编辑器?我们见的 Markdown 编辑器还少吗?
我明白你的感受,如果你是个 Markdown 爱好者,你可能已经用过很多 Markdown 编辑器了,比如 [Joplin][1] 和 [Zettlr][2]。但如果你不是的话,你可能根本就不在乎。
Markdown 是一个非常好的标记语言,特别是对那些在网络上写作的人来说。我不想在这里讲太多细节,但如果你有兴趣的话,我们有一篇 [非常棒的 Markdown 初学者教程][3]。
这次我想推荐给你另一个Markdown 编辑器,它叫 [Marktext][4],并且它是用 Electron 制作的(我们都明白这什么意思,先别急着埋怨我)。
我发现这将是一个很完美的编辑器。它很漂亮,而它运行起来也一样棒。下面是我这几天来的使用体验。
### Marktext: 人人可用的 Markdown 编辑器
尽管我很讨厌 [Electron 框架][5],但不得不承认基于 Electron 的应用都有一个干净、现代的界面。
![Marktext interface][6]
我更喜欢深色模式主题,除此之外官方还提供了五种其它主题。
![Marktext dark theme][7]
打开软件你就可以立刻进行写作,如果你不记得某个语法了,那也没有问题,输入 `@` 就可以得到语法提示,如:
* 标题
* 分隔线
* 表格
* Latex 数学公式
* HTML 块
* 代码块
* 引用
* 列表
* 检查清单
* 用 Vega-lite.js、Flowchart.js、js-sequence-diagrams 和 PlantUML 制作的图表
![Use various document elements in the editor by pressing @][8]
选中文本你会得到一个格式选项框,来改变文本为粗体、斜体、下划线、删除线等。你也可以用黄色背景高亮文本、转换为内联代码、内联公式或插入超链接。
![Text formatting options][9]
Marktext 也支持图片。我们都知道图片不是 Markdown 文件的一部分,它们是外部元素,但是你可以选择将图片保存到 .md 文件所在的目录下。
![Images are supported too][10]
通过插入菜单来添加图片非常容易。你可以选择文本并且从弹出的格式选项中选择图片来添加,或使用 `Ctrl+Shift+I` 快捷键。但是不能为图片添加替换文本或图片说明,这点确实需要改进。
我喜欢 Marktext 的表格功能。你可以直接插入预先定义好大小的图表。如有需要,还可以很容易的改变大小。你可以只用鼠标移动列和行,而不用担心底层的代码。
![Tables are very well supported in Marktext][11]
你可以启用侧边栏视图。侧边栏有三个功能:你可以打开包含多个 Markdown 文件的文件夹,在打开的文件夹中的所有文件上执行全局搜索,并显示当前打开的文件的大纲目录。大纲目录是根据子标题自动生成的。
![Sidebar view has three options: Show folder content, global search and table of content][12]
底部的齿轮按钮是设置功能。你可以改变主题、改变图片设置、视图、开启自动保存等等。
![Configuration and settings][13]
### 如何安装 Marktext
Marktext 是一个跨平台的开源应用程序。所以不止在 Linux 上,你还可以在 Windows 和 macOS 安装。
在 Linux 上,你可以选择 AppImage 软件包或 Flatpak 软件包。从 [这里][14] 可以得到 Marktext 的 Appimage 软件包。
我选择了 Flatpak 版本因为这样可以获得更好的系统集成。它运行良好Marktext 自动成为我的 Ubuntu 22.04 系统上 .md 文件的默认编辑器。
请确保你启用了 Flatpak 支持,之后用以下方法添加上 Flathub 仓库:
```
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
在这之后,用以下命令安装 Marktext 到你的系统上:
```
flatpak install flathub com.github.marktext.marktext
```
如果用了一段时间后你不喜欢 Marktext可以用以下命令卸载
```
fkatpak uninstall com.github.marktext.marktext
```
### 总结
Marktext 有很多小功能例如字数统计、Latex 数学公式、拼写检查器、复制粘贴为 Markdown/HTML 格式,我留给你们自己去尝试。
实话实说,尽管多年来一直使用 Markdown 来写文章,但我也总会忘掉一些语法。我能记得常见的标题、列表、代码块等,但如果我必须创建一个表格,我不得不在网上搜索。
我已经 [尝试了许多 Markdown 编辑器][15],这其中确实有很多不错的。但是,我还是喜欢用 Marktext它会在我的系统上存在很长时间。
如果你已经用过了话,请在评论区分享你的经验。
--------------------------------------------------------------------------------
via: https://itsfoss.com/marktext-editor/
作者:[Abhishek Prakash][a]
选题:[lkxed][b]
译者:[Chth0lly](https://github.com/Chth0lly)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/joplin/
[2]: https://itsfoss.com/zettlr-markdown-editor/
[3]: https://itsfoss.com/markdown-guide/
[4]: https://github.com/marktext/marktext/
[5]: https://www.electronjs.org/
[6]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-interface.png
[7]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-dark-theme.png
[8]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-insert-options.png
[9]: https://itsfoss.com/wp-content/uploads/2022/08/text-formatting-options-marktext.png
[10]: https://itsfoss.com/wp-content/uploads/2022/08/images-in-marktext.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/tables-in-marktext.png
[12]: https://itsfoss.com/wp-content/uploads/2022/08/sidebar-view-marktext.png
[13]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-settings.png
[14]: https://github.com/marktext/marktext/releases
[15]: https://itsfoss.com/best-markdown-editors-linux/

View File

@ -3,12 +3,15 @@
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14981-1.html"
如何列出连接到 Linux 系统的 USB 设备
======
![](https://img.linux.net.cn/data/attachment/album/202208/30/094927nu106ijzz0iiiwj1.jpg)
你如何列出 Linux 中的 USB 设备?
这个问题可以有两种含义。
@ -28,25 +31,25 @@ lsusb
![list usb with lsusb command linux][1]
但是了解 lsusb 的输出并不容易,当你只想查看和访问已挂载的 USB 驱动器时,你可能不需要复杂
但是理解 `lsusb` 的输出并不容易,当你只想查看和访问已挂载的 USB 驱动器时,你可能不需要那么复杂。
我将向你展示可用于列出连接到系统的 USB 设备的各种工具和命令。
除非另有说明,我在例子中连接了一个 2GB 的 U 盘、1TB 的外置硬盘、通过 MTP 连接的 Android 智能手机 USB 鼠标。
除非另有说明,在我的例子中连接了一个 2GB 的 U 盘、1TB 的外置硬盘、通过 MTP 连接的 Android 智能手机,以及 USB 鼠标。
让我从桌面用户最简单的选项开始。
### 以图形方式检查连接的 USB 设备
你的分发文件管理器可用于查看连接到你的计算机的 USB 存储设备。正如你在下面的 NautilusGNOME 文件管理器)的截图中看到的那样。
The connected devices are shown in the sidebar (Only USB Storage devices are shown here).
你的发行版的文件管理器可以用来查看连接到你的计算机的 USB 存储设备。正如你在下面的 NautilusGNOME 文件管理器)的截图中看到的那样。
连接的设备显示在边栏中(此处仅显示 USB 存储设备)。
![Nautilus showing connected USB devices][2]
你还可以使用 GNOME Disks 或 Gparted 等 GUI 应用来查看、格式化和分区连接到计算机的 USB 存储设备。默认情况下,大多数使用 GNOME 桌面环境的发行版都预装了 GNOME Disks
你还可以使用 GNOME <ruby>磁盘<rt>Disks</rt></ruby> 或 Gparted 等 GUI 应用来查看、格式化和分区连接到计算机的 USB 存储设备。默认情况下,大多数使用 GNOME 桌面环境的发行版都预装了 GNOME “磁盘”
这个应用也可以作一个非常好的[分区管理器][3]。
这个应用也可以作一个非常好的 [分区管理器][3]。
![Use GNOME Disks to list mounted USB devices][4]
@ -54,9 +57,9 @@ The connected devices are shown in the sidebar (Only USB Storage devices are sho
### 使用 mount 命令列出挂载的 USB 设备
mount 命令用于挂载 Linux 中的分区。你还可以使用相同的命令列出 USB 存储设备。
`mount` 命令用于挂载 Linux 中的分区。你还可以使用相同的命令列出 USB 存储设备。
通常USB 存储挂载在 media 目录中。因此,在媒体上过滤 mount 命令的输出将为你提供所需的结果。
通常USB 存储挂载在 `media` 目录中。因此,在媒体上过滤 `mount` 命令的输出将为你提供所需的结果。
```
mount | grep media
@ -66,7 +69,7 @@ mount | grep media
### 使用 df 命令
[df 命令][6]是一个标准的 UNIX 命令,用于了解可用磁盘空间的大小。你还可以使用此命令列出已连接的 USB 存储设备。
[df 命令][6] 是一个标准的 UNIX 命令,用于了解可用磁盘空间的大小。你还可以使用此命令列出已连接的 USB 存储设备。
```
df -Th | grep media
@ -76,7 +79,7 @@ df -Th | grep media
### 使用 lsblk 命令
lsblk 命令用于列出终端中的块设备。因此,这里也通过过滤包含 media 关键字的输出,你可以获得所需的结果,如下面的截图所示。
`lsblk` 命令用于列出终端中的块设备。因此,这里也通过过滤包含 `media` 关键字的输出,你可以获得所需的结果,如下面的截图所示。
```
lsblk | grep media
@ -84,7 +87,7 @@ lsblk | grep media
![Using lsblk to list connected USb devicesUsing blkid to list connected USb devices][8]
如果你比较好奇,可以使用 `blkid` 命令了解 UUID、标签、块大小等。
如果你想知道,也可以使用 `blkid` 命令了解 UUID、标签、块大小等。
此命令提供更多输出,因为你的内部驱动器也被列出。因此,你必须参考上述命令来识别你希望了解的设备。
@ -96,7 +99,7 @@ sudo blkid
### 使用 fdisk
fdisk 是一款不错的老式命令行分区管理器,它还可以列出连接到你计算机的 USB 存储设备。这个命令的输出也很长。因此,通常连接的设备会列在底部,如下所示
`fdisk` 是一款不错的老式命令行分区管理器,它还可以列出连接到你计算机的 USB 存储设备。这个命令的输出也很长。因此,通常连接的设备会列在底部,如下所示
```
sudo fdisk -l
@ -106,7 +109,7 @@ sudo fdisk -l
### 检查 /proc/mounts
通过检查 /proc/mounts 文件,你可以列出 USB 存储设备。如你所见,它向你显示了文件系统使用的挂载选项以及挂载点。
通过检查 `/proc/mounts` 文件,你可以列出 USB 存储设备。如你所见,它向你显示了文件系统使用的挂载选项以及挂载点。
```
cat /proc/mounts | grep media
@ -116,11 +119,11 @@ cat /proc/mounts | grep media
### 使用 lsusb 命令显示所有 USB 设备
我们重新审视有名的 lsusb 命令。
我们重新审视有名的 `lsusb` 命令。
Linux 内核开发人员 [Greg Kroah-Hartman][12] 开发了这个方便的 [usbutils][13] 程序。这为我们提供了两个命令,即 `lsusb``usb-devices` 来列出 Linux 中的 USB 设备。
lsusb 命令列出系统中有关 USB 总线的所有信息。
`lsusb` 命令列出系统中有关 USB 总线的所有信息。
```
lsusb
@ -138,9 +141,9 @@ usb-devices
![][15]
Greg 还开发了一个名为 [Usbview][16] 的小型 GTK 应用。此应用向你显示连接到计算机的所有 USB 设备的列表。
Greg 还开发了一个名为 [usbview][16] 的小型 GTK 应用。此应用向你显示连接到计算机的所有 USB 设备的列表。
该应用可在大多数 Linux 发行版的官方仓库中找到。你可以使用发行版的[包管理器][17]轻松安装 `usbview` 包。
该应用可在大多数 Linux 发行版的官方仓库中找到。你可以使用发行版的 [包管理器][17] 轻松安装 `usbview` 包。
安装后,你可以从应用菜单启动它。你可以选择任何列出的设备以获取详细信息,如下面的截图所示。
@ -148,7 +151,7 @@ Greg 还开发了一个名为 [Usbview][16] 的小型 GTK 应用。此应用向
### 总结
列出的大多数方法仅限于 USB 存储设备。 只有两种方法可以列出其他外围设备; usbview 和 usbutils。 我想我们还有一个理由感谢 Linux Kernel 开发人员 Greg 开发了这些方便的工具。
这里列出的大多数方法仅限于 USB 存储设备。只有两种方法可以列出其他外围设备; usbview 和 usbutils。 我想我们应该感谢 Linux 内核开发人员 Greg 开发了这些方便的工具。
我知道还有很多方法可以列出连接到系统的 USB 设备。 欢迎你提出建议。
@ -159,7 +162,7 @@ via: https://itsfoss.com/list-usb-devices-linux/
作者:[Anuj Sharma][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -0,0 +1,39 @@
[#]: subject: "Wii U Emulator Cemu Going Open Source Is Significant For Emulation, Heres Why"
[#]: via: "https://www.opensourceforu.com/2022/08/wii-u-emulator-cemu-going-open-source-is-significant-for-emulation-heres-why/"
[#]: author: "Laveesh Kocher https://www.opensourceforu.com/author/laveesh-kocher/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14979-1.html"
Wii U 模拟器 Cemu 走向开源对仿真技术意义重大
======
![](https://img.linux.net.cn/data/attachment/album/202208/29/152146nvs93gzs720ftfy8.jpg)
Wii U 模拟器 Cemu 的开发者上周二宣布了一个重要的 2.0 版本发布,首次交付了 Linux 上的二进制文件并开源了他们八年的成果。Cemu 是一个 Wii U 模拟器,并于 2017 年创造了历史 —— 每个月可以通过 Patreon 获得支持其发展的数千美元赞助。Cemu 以其在 Patreon 上曾短暂达到 25,000 美元的最高收入而为人所知,这引起了人们对“仿真是否道德”的关注,特别是它被用来换取金钱,而项目却是“闭源的”而不是“开源”的 —— 也就是说源代码没有向公众开放。
仿真社区保护自己免受法律诉讼的主要方式之一是向公众提供其源代码,允许像任天堂这样的“诉讼公司”检查它,并验证在反向工程过程中没有使用他们的专有代码。
据 Exzap 称Cemu 对 Linux 的支持“仍然相当粗糙”,但他相信随着更多的模拟器开发者熟悉 Cemu并开始为该项目做出贡献这种情况将迅速改变。Cemu 以前只兼容 Windows但现在支持 Linux可以在 Steam Deck 上快速安装。在 Cemu 引入 Flatpak 支持一键安装之前,在 Deck 上使用它并不那么简单,不过这个话题已经在 GitHub 上讨论过了。
Cemu 的作者利用 2.0 发布公告简要地讨论了该模拟器的历史;在该模拟器的大部分历史中,他们是唯一的开发者,他们声称过去两年对项目的压力特别大。
Exzap 将继续做出贡献,但预计拥有其他开发者将有助于创建几个重要的功能,如暂停和恢复仿真的能力,以及提高在旧硬件上的性能。
“我已经在 Cemu 上工作了近 8 年看着这个项目从一个似乎不可行的实验发展到在其高峰期有超过一百万人使用的东西”Exzap 在上周二的公告中写道,“即使在今天,当 Wii U 已经被大部分人遗忘的时候,我们每个月仍然有 25 万次下载。仍然有这么多人在用 Cemu 享受 Wii U 游戏,我将永远感激让我有机会以积极的方式影响这么多人的生活,哪怕只是一丁点。”
--------------------------------------------------------------------------------
via: https://www.opensourceforu.com/2022/08/wii-u-emulator-cemu-going-open-source-is-significant-for-emulation-heres-why/
作者:[Laveesh Kocher][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.opensourceforu.com/author/laveesh-kocher/
[b]: https://github.com/lkxed

View File

@ -0,0 +1,157 @@
[#]: subject: "5 GNOME 43 Features to Keep an Eye On"
[#]: via: "https://news.itsfoss.com/gnome-43-features/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14985-1.html"
5 个需要关注的 GNOME 43 功能
======
> GNOME 43 即将到来。下面是你可以期待在该版本中出现的功能。
![5 个值得关注的 GNOME 43 功能][1]
GNOME 43 将于 2022 年 9 月 21 日发布。截至目前GNOME 43 的测试版已经可供测试。
我们在 GNOME 43 测试版中发现的功能和变化应该随着最终版本的发布而到来。
那么,哪些是你最值得期待的 GNOME 43 功能呢?
让我们来看看一些关键的变化。
这个列表集中在视觉/交互式变化上。关于技术变化的完整列表,你可以参考文章底部链接的更新日志。
### 1、改造了快速设置
![GNOME 快速设置][2]
GNOME 桌面菜单位于右上角,你可以在这里快速调整音量、访问网络连接,以及开/关电脑,在这个版本中它终于得到了视觉上的更新。
现在,它看起来更像是安卓的快速切换栏,这应该会增强用户体验,同时减少一些多余的点击。
![GNOME 快速设置][3]
你不需要前往设置来打开深色模式和夜光。新的快速切换菜单就可以让你可以访问到它们。
此外,像选择 Wi-Fi 网络和改变音频设备这样的事情比以前更容易做到。
### 2、对 Nautilus 文件管理器的改变
虽然我们已经在之前的报道中提到了 GNOME 43 中对 Nautilus 最重要的改变。
> **[GNOME 43 中 Nautilus 文件管理器的 6 个新变化][4]**
有几件事值得再次重申。其中一些包括:
* 使用 GTK 4 的全新外观。
* 拖动和选择文件的能力(橡皮筋选择)。
* 紧凑窗口的自适应视图。
* 新的文件上下文菜单。
![Nautilus 文件管理器][6]
总的来说,在 GNOME 43 中,你会发现 Nautilus 文件管理器有了一些视觉上的调整,并有动画的细微改进。
你可以点击每一个选项,访问目录的属性等等来探索其中的差异。它应该感觉更直观一些。
### 3、设备安全信息
![][7]
我们之前报道过 GNOME 会在你禁用安全启动时显示警告。
> **[安全启动已被禁用? GNOME将很快向您发出警告][8]**
你会在你的闪屏和锁屏中看到这个警告。
GNOME 的设置菜单也有一个新的 “设备安全” 选项,在这里你可以看到安全启动状态和其他重要信息,比如:
* TPM
* 英特尔 BootGuard
* IOMMU 保护
### 4、GNOME Web 的扩展支持
![GNOME Web 扩展][10]
GNOME Web 在每次更新都会变得更好一些。有了 Web 扩展的支持,它成为了一个有吸引力的选择,可以取代你的日常使用的浏览器。
> **[有了扩展GNOME Web 正慢慢成为桌面 Linux 上一个有吸引力的选择][11]**
在写这篇文章的时候,该支持仍然是 **实验性的**,你必须得手动安装扩展。
对于初学者来说,你可以在 Mozilla Firefox 附加组件门户上下载 .xpi 扩展文件。
### 5、GNOME 软件中心的改进
GNOME 的软件中心目前的体验并不是很好。
虽然它在提供额外信息方面有所改进,但仍有改进的余地。
![GNOME 软件][13]
在 GNOME 43 中,你可以了解到更多关于 Flatpak 应用程序所需的权限。而且,你还可以看到一个 “其他应用程序” 部分,以寻找同一开发者的其它应用程序。
此外,软件包来源的显示方式也有了细微的视觉调整。
![GNOME 软件][14]
### 附加:新的墙纸
你会得到新的默认壁纸,有深色和浅色的变体。下面是深色壁纸背景的样子:
![][15]
而这是浅色版本:
![][16]
除了主要的亮点之外,其他一些变化包括:
* Adwaita 图标主题更新。
* GNOME 应用程序的性能改进。
* 各种代码的清理。
* 对日历的改进。
* 改良了“关于”窗口。
关于完整的技术细节,你可以参考 [GNOME 43 测试版更新日志][17]。
总的来说GNOME 43 在很大程度上注重提高可用性和用户体验。
最初还计划了一些有趣的功能,但它们没有进入 GNOME 43。*也许GNOME 44 会包括这些?*
> **[这里是开发者为 GNOME 43 规划的内容][18]**
*你对 GNOME 43 的功能有何看法?请在下面的评论中告诉我们你的想法。*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/gnome-43-features/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/gnome-43-features.jpg
[2]: https://news.itsfoss.com/content/images/2022/08/gnome-toggle-1.png
[3]: https://news.itsfoss.com/content/images/2022/08/gnome-toggle-settings.png
[4]: https://news.itsfoss.com/gnome-files-43/
[6]: https://news.itsfoss.com/content/images/2022/08/nautilus-file.gif
[7]: https://news.itsfoss.com/content/images/2022/08/secure-boot-gnome.png
[8]: https://news.itsfoss.com/gnome-secure-boot-warning/
[10]: https://news.itsfoss.com/content/images/2022/08/gnome-web-extensions-1.png
[11]: https://news.itsfoss.com/gnome-web-extensions-dev/
[13]: https://news.itsfoss.com/content/images/2022/08/gnome-software-screenshot-1.png
[14]: https://news.itsfoss.com/content/images/2022/08/gnome-43-software-center.jpg
[15]: https://news.itsfoss.com/content/images/2022/08/gnome-43-dark-wallpaper.jpg
[16]: https://news.itsfoss.com/content/images/2022/08/gnome-light-adaitwa.jpg
[17]: https://download.gnome.org/core/43/43.beta/NEWS
[18]: https://news.itsfoss.com/gnome-43-dev-plans/

View File

@ -3,17 +3,16 @@
[#]: author: "Don Watkins https://opensource.com/users/don-watkins"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14990-1.html"
5 款适用于 Linux 的笔记应用
======
\使用这些开源工具来记笔记。
![How to create outlines in Linux with TreeLine][1]
![](https://img.linux.net.cn/data/attachment/album/202209/01/173456nfc42fnqkiwfkh90.jpg)
图片来源Startup Stock Photos。知识共享 CC0 许可证
> 使用这些开源工具来记笔记
笔记是任何作者生活的一部分。我的大部分文章都是从笔记应用开始的,这对我来说通常是 [Joplin][2]。有大量适用于 Linux 的笔记应用,你可能使用的不是我最喜欢的应用。最近的一篇博客文章让我想起了其中的六个,所以我整理了一份我最喜欢的列表。
@ -21,23 +20,23 @@
![Joplin][3]
[Joplin][4] 适用于 Linux、Windows、macOS、Android 和 iOS。我喜欢 Joplin因为它会自动保存你添加的任何内容。笔记可以上传到 NextCloud、OwnCloud、Joplin Cloud甚至是 OneDrive、Dropbox 或任何 WebDav 应用等闭源服务。 Joplin 支持加密。
[Joplin][4] 适用于 Linux、Windows、macOS、Android 和 iOS。我喜欢 Joplin因为它会自动保存你添加的任何内容。笔记可以上传到 NextCloud、OwnCloud、Joplin Cloud甚至是 OneDrive、Dropbox 或任何 WebDav 应用等闭源服务。Joplin 支持加密。
以各种格式导出笔记也很容易。它带有八个不同的主题,可让你定制其外观。
Joplin 拥有 MIT 许可证。最初于 2017 年发布Joplin 正在与大量贡献者社区一起持续开发。
Joplin 采用 MIT 许可证。最初于 2017 年发布Joplin 正在与大量贡献者社区一起持续开发。
### Xournal
![Xournal][5]
[Xournal][6] 适用于 Linux、Windows、macOS 和 Android。它的目的是让你创建包含几乎任何你可以想象的媒体类型的笔记。它支持压敏手写笔和绘图板因此你可以创建[涂鸦笔记][7] sketchnotes。你可以在里面打字、绘制简单的矢量、导入图形、录制音频等等。你还可以使用 Xournal 来注释 PDF这就是我使用它的方式。它以 GPLv2 许可证发布,你可以以多种格式导出笔记。
[Xournal][6] 适用于 Linux、Windows、macOS 和 Android。它的目的是让你创建包含几乎任何你可以想象的媒体类型的笔记。它支持压敏手写笔和绘图板因此你可以创建 [涂鸦笔记][7]。你可以在里面打字、绘制简单的矢量、导入图形、录制音频等等。你还可以使用 Xournal 来注释 PDF这就是我使用它的方式。它以 GPLv2 许可证发布,你可以以多种格式导出笔记。
### Trillium
![Trillium][8]
[Trillium][9] 是一个层级笔记应用,专注于知识构建库。它具有丰富的所见即所得编辑功能,包括表格、图像和 markdown。它支持使用语法高亮编辑源代码中的注释。它是在 Gnu Affero 许可证下发布的。
[Trillium][9] 是一个层级笔记应用,专注于知识构建库。它具有丰富的所见即所得编辑功能,支持表格、图像和 Markdown。它支持使用语法高亮编辑源代码中的注释。它是在 AGPL 许可证下发布的。
Trilium 可用作 Linux 和 Windows 的桌面应用,以及你可以在自己的 Linux 服务器上托管的 Web 应用。
@ -45,7 +44,7 @@ Trilium 可用作 Linux 和 Windows 的桌面应用,以及你可以在自己
![Gnote][10]
[Gnote][11] 是一个为 Linux 编写的开源笔记应用。它是由 Hubert Figuière 从一个名为 [Tomboy][12] 的项目中克隆出来的。与 Tomboy 一样Gnote 使用类似 wiki 的链接系统来允许你将笔记链接在一起。
[Gnote][11] 是一个为 Linux 编写的开源笔记应用。它是由 Hubert Figuière 从一个名为 [Tomboy][12] 的项目中克隆出来的。与 Tomboy 一样Gnote 使用类似 Wiki 的链接系统来允许你将笔记链接在一起。
GNote 的源代码可在 [GitLab][13] 上找到。该软件是 GPLv3 许可。
@ -55,7 +54,7 @@ GNote 的源代码可在 [GitLab][13] 上找到。该软件是 GPLv3 许可。
CherryTree 支持层级笔记。在 CherryTree 中,所有东西都是一个节点。节点可以是纯文本、富文本、各种编程语言的语法高亮。每个节点可以有子节点,每个子节点有不同的格式。
CherryTree 具有富文本和语法高亮的特点,并可以将数据存储在一个 XML 或 [SQLite][15] 文件中。CherryTree 可以从各种格式导入,包括 Markdown、HTML、纯文本、Gnote、Tomboy 和其他。它可以将文件导出为 PDF、HTML、纯文本和它自己的 CherryTree 格式。
CherryTree 具有富文本和语法高亮的特点,并可以将数据存储在一个 XML 或 [SQLite][15] 文件中。CherryTree 可以从各种格式导入,包括 Markdown、HTML、纯文本、Gnote、Tomboy 和其他格式。它可以将文件导出为 PDF、HTML、纯文本和它自己的 CherryTree 格式。
CherryTree 使用 GPLv3 许可,可以安装在 Linux、Windows 和 macOS 上。
@ -66,7 +65,7 @@ via: https://opensource.com/article/22/8/note-taking-apps-linux
作者:[Don Watkins][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -0,0 +1,151 @@
[#]: subject: "What if a Lifelong Linux User Tried Windows or macOS for the First Time?"
[#]: via: "https://news.itsfoss.com/linux-user-trying-windows-macos/"
[#]: author: "Abhishek https://news.itsfoss.com/author/abhishek/"
[#]: collector: "lkxed"
[#]: translator: "Kira-Pgr"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15000-1.html"
用惯 Linux 的人第一次用 Windows 或 macOS 会怎样?
======
> Windows 用户在转换到 Linux 的过程中会遇到很多问题。如果反过来,一个一直用 Linux 的用户第一次用 Windows 或 macOS 会遇到什么问题呢?
![一直用 Linux 的人第一次用 Windows 或 macOS 会怎样?][1]
还记得 YouTube 频道 Linus Tech Tips 中 Linus Sebastian [尝试在 Linux 上玩游戏][2] 的场面吗? 尽管终端显示了明显的警告, 他最后还是把他的桌面环境删掉了。
![Linus Sebastian 弄坏了他的 Linux 系统][3]
考虑到 Sebastian 日常用 Windows 玩游戏, 换到 Linux 肯定需要一定的时间。
所以,这是 Linux 的问题吗? 还是 Sebastian 搞错了?
难道说,任何对操作系统不熟悉的用户在第一次尝试使用该系统的时候都会遇到问题?
接下来,你可以从不同的角度去了解 Linux 用户第一次使用 Windows 或者 macOS 的感受。
Linux 用户第一次用 Windows 或 macOS 会非常容易?还是会和 Sebastian 用 Linux 时一样感觉糟糕?
这肯定是非常有趣的话题……
一位 DevOps 高级工程师 **Scott Williams** 在一系列推文中假想了 Linux 用户第一次用 Windows 或 macOS 的场面。
### 在 Windows 11 上怎么启用 TPM 2.0
如何安装 Windows 的最新版本 Windows 11
> [Scott Williams][5]\
> 今晚,看我在能不能在这台用了 4 年的笔记本电脑上启用 TPM2.0 并运行 Windows 11。这台电脑支持 Intel PTT所以应该会很顺利吧
怎样启用 TPM 2.0? 如何在 BIOS 菜单中找到它? 启用 TPM 2.0 安全吗? 我是否需要刷一个更新的 BIOS? 更新 BIOS 的过程中是否会弄坏我的主版?
这些就是些每个 Linux 用户(甚至是 macOS/Windows 用户)将系统升级到 Windows 11 时都会遇到的一些问题。
Linux 用户从来没有必要做如此奇怪的事情来让系统正常工作。即使是在 2022 年。但是 Windows 11 需要你在升级前了解 BIOS 设置和 TPM 芯片的情况。
虽然 Scott 提到的是旧笔记本电脑,但值得注意的是,即使是最新的主板(比如 Z590你可能也需要调整 BIOS 设置或者刷一个版本更高的 BIOS 版本才能支持 Windows 11。
由于更新 BIOS 有一定的风险,这种事情即使是对于懂技术的用户也是很不方便。
### 我需要用杀毒软件吗?用哪个?
虽说苹果的 XProtect 和 Windows Defender 能提供基本保护,但对于想要更好保护的用户来说,在杀毒软件方面有几个选择:
> [Scott Williams][6]\
> 所以我究竟需不需要装杀毒软件?装哪个?
网上有那么多选择和软文,用户很难确定那个杀毒软件最好,已经为之付费是否值得。
而 Linux 用户就会这么想: *我竟然还要安装这个? 不会很浪费性能吗? 我需要这么多安全防护功能吗? Windows 不是一个安全的操作系统吗?*
### macOS 和 iCloud:一个爱情故事?
> [Scott Williams][7]\
> iCloud 是什么?我怎么把它删掉?
Linux 用户们并不喜欢集成的云服务。他们宁愿挂载一个网盘(或网络存储器)。
即使他们选择了网盘,也应该按照用户的意图来工作。但是,在 macOS 上,你会经常被提示要使用 iCloud同时 Siri 还会跳出来捣乱。
### Linux 用户清理注册表
原先使用 Linux 的新手 Windows 用户为了能优化系统性能去清理注册表,但在面对那么多清理注册表和优化系统以提高性能的工具和选项时,可能会以一个没有反应的 Windows 而告终。
> [Scott Williams][8]\
> Reddit上有些人说需要“清理注册表”我按照几个教程删除了一些东西然后现在我的 Windows 变得很奇怪。
即使在 2022 年,对于应该在什么时候手动或者用工具清理注册表还是没有明确的规定。
虽说资深 Linux 用户喜欢在尝试新东西前关注细节。但如果 GUI 中没有恰当的警告或提示,还怎么知道所有的注意事项呢。
### 经常需要重启
虽说不像 Linux 的重启那样Windows 的重启可以修复问题。不过,我到底要在更新 Windows 或者安装软件后重启多少次啊?
> [Scott Williams][9]\
> 第一次尝试 Windows 或 macOS 的 Linux 用户是这样的:\
> “究竟需要安装多少个版本的 .NET? 已经重启了多少次了?” \
> “为什么我的 Adobe 版本不支持这个版本的 macOS? 难怪那么多人在用 macOS 时会遇到麻烦。苹果公司需要修复这个问题了。”
每次我重启的时候后台运行的程序都被干掉了。
为什么 Windows 就不能在检测新安装的程序或者更新的时候简单地刷新一下而不是重启呢。Windows 为什么反着来呢。
### 这些东西还需要花钱? 我有 Windows 许可证还不够?
Linux 主要是自由和开源软件构成的,因此预装的工具也是免费的。
所以, 一个用惯那些工具的用户就不得不突然需要花钱买一个 Windows 许可证,而且还要支付软件费用。
微软是不是太贪婪了呢?
### 默认就缺少必须的软件包
在安装完 Windows 后我连压缩包都解压不了Windows 真的是现代操作系统吗?
### macOS 配置多显示器
> [Scott Williams][10]\
> 怎样让我的显示器在 macOS 上工作呢?
在 Linux 上配置多显示器非常轻松。但在 macOS 上完全不是那回事。
### 总结
归根到底这要看用户的标准和你熟悉的内容。Windows 和 macOS 经常被看作标准的桌面系统。
然而相比之下,大多数人除了知道 Linux 很难用外,对有关 Linux 的东西了解甚少。
不过,你只要掌握使用 Linux 的要领,就像你掌握 Windows、macOS 那样,用 Linux 桌面环境就很轻松了。
只不过在用 Linux 的过程会遇到各种各样的问题,但你只要有耐心就能享受整个过程了。
Linux 本身没有什么问题,是其他系统用户未能熟悉 Linux 的问题。我们并不希望 Linux 变成 Windows也不希望 Windows 表现得像 Linux任何操作系统都应该“做它自己”。
但话又说回来,不应该因为一个长期使用 Windows 的用户在最初使用时没有良好的体验就把 Linux 排除在外,因为同样的情况也可能发生在一个长期使用 Linux 的用户尝试 Windows/MacOS 时。
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/linux-user-trying-windows-macos/
作者:[Abhishek][a]
选题:[lkxed][b]
译者:[Kira-Pgr](https://github.com/Kira-Pgr)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/abhishek/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/linux-windows.png
[2]: https://www.youtube.com/watch?v=0506yDSgU7M&t=788s
[3]: https://news.itsfoss.com/content/images/2022/08/linus-sebastian-nukes-pop-os-while-installing-steam-os.webp
[4]: https://news.itsfoss.com/more-linux-distros-become-linus-proof/
[5]: https://twitter.com/vwbusguy/status/1463543535630569473
[6]: https://twitter.com/vwbusguy/status/1463556939728572419
[7]: https://twitter.com/vwbusguy/status/1463579003504136192
[8]: https://twitter.com/vwbusguy/status/1463595769051549697
[9]: https://twitter.com/vwbusguy/status/1463538368956887043
[10]: https://twitter.com/vwbusguy/status/1463606807906029570

View File

@ -0,0 +1,144 @@
[#]: subject: "Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users"
[#]: via: "https://itsfoss.com/blackbox-terminal/"
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14992-1.html"
Blackbox极简主义 Linux 用户的美观终端
======
![](https://img.linux.net.cn/data/attachment/album/202209/01/230823b2n8vhe6jn5vz5uq.jpg)
有 [许多可用于 Linux 的终端仿真器][1]。从 Terminator 到 Tilix你有多种终端可供选择。
但这并没有阻止新终端应用的到来。你最近已经见过了 [GNOME Console][2] 吧,今天,我将向你介绍 Blackbox。
### Blackbox 终端:概述和功能
Blackbox 是一个支持 GTK4 的终端仿真器。开发者为了他可以在 Linux 上使用外观优美的终端应用而创建了这个项目。
所以,不要指望它有很多功能。它只是一个使用 GTK4 工具包并支持主题的终端仿真器。
换句话说,它更多注重的是关于外观而不是功能。
以下是 Blackbox 的主要亮点:
* 可设置主题(支持 [Tilix][3] 兼容的配色方案)
* 主题与窗口装饰的融合
* 自定义字体
* 各种可自定义的 UI 设置
* 标签
* 可切换的标题栏
* 点击打开链接
* 文件拖放支持
谈到外观,让我们来看看它提供的不同外观。默认窗口将类似于下面的截图。
![Default look of Blackbox terminal][4]
#### 没有标题栏
你也可以取消标题栏,如下所示。这是 GTK4 应用程序中最“流行”的功能之一。
![Blackbox without header bar][5]
你还可以在无标题栏模式下启用浮动控件。
![Floating controls with no header bar mode][6]
#### 轻松复制和粘贴(不要抗拒)
`Ctrl+C``Ctrl+V` 就像复制粘贴的通用键盘快捷键。
但是古老的 Unix 在宇宙之前就存在了,因此它使用 [Ctrl+C 键来终止终端中正在运行的程序][7]。
但是,有些人发现不能使用他们最喜欢的快捷键来 [在终端中复制粘贴][8] 有点不方便。
Blackbox 允许你通过启用“轻松复制和粘贴”设置来更改它。启用此设置后,你可以使用 `Ctrl+C``Ctrl+v` 进行复制粘贴操作。
不用担心。`Ctrl+C` 仍可用于停止正在运行的命令。
![Easy copy-paste mode allows using Ctrl+C and Ctrl+V keys][9]
#### 主题
你还可以从设置中选择不同的主题。有几个浅色和深色主题可供选择。你还可以使用 Tilix 风格的主题。
![Available themes for Blackbox][10]
让我们看看它在 Yaru 主题和不扩展选项卡的情况下的外观,这与默认的 Blackbox 行为不同。
![Blackbox with a changed theme][11]
#### 重置为默认
还有一些更方便的功能,例如记住窗口大小、按像素滚动等。
好消息是,如果你对设置进行了太多更改,你可以将它们全部还原并重置为默认设置。
该选项在“<ruby>首选项<rt>Preferences</rt></ruby>”的“<ruby>高级<rt>Advance</rt></ruby>”选项卡中可用。
![reset blackbox settings to default][12]
### 安装 Blackbox 终端
请记住,**Blackbox 处于开发的早期阶段**。我在切换主题时出现过崩溃。
要安装 Blackbox 终端,你应该在系统中安装 [Flatpak 并启用 Flathub 仓库][13]。
使用此命令在你的系统上安装 Blackbox
```
flatpak install flathub com.raggesilver.BlackBox
```
在 Fedora 和其他一些与 Flatpak 集成的发行版上,你可以从软件中心安装 Blackbox。
![Blackbox can also be installed in GNOME Software Center][14]
安装后,你可以从应用菜单启动它。
#### 卸载 Blackbox 终端
如果你不喜欢 Blackbox 并想将其删除,请输入以下命令将其删除。
```
flatpak uninstall flathub com.raggesilver.BlackBox
```
### 结论
在我看来Blackbox 是一个不错的终端模拟器。在不支持 GTK4 的发行版上,你可以获得 GTK4 所能提供的所有精彩内容。它提供的功能足以应付日常工作。
最后,这一切都取决于个人喜好。你可能会喜欢它,也可能不喜欢它。如果你喜欢体验,请尝试一下,并在评论栏与我们分享你的经验。
--------------------------------------------------------------------------------
via: https://itsfoss.com/blackbox-terminal/
作者:[Anuj Sharma][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/anuj/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/linux-terminal-emulators/
[2]: https://itsfoss.com/gnome-console/
[3]: https://github.com/gnunn1/tilix
[4]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-default.png
[5]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-noheader.png
[6]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-floating-controls.png
[7]: https://itsfoss.com/stop-program-linux-terminal/
[8]: https://itsfoss.com/copy-paste-linux-terminal/
[9]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-easy-copy-paste.png
[10]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-theme-selection.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-yaru.png
[12]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-reset.png
[13]: https://itsfoss.com/flatpak-guide/
[14]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-install.png

View File

@ -0,0 +1,149 @@
[#]: subject: "sudo apt update vs upgrade: Whats the Difference?"
[#]: via: "https://itsfoss.com/apt-update-vs-upgrade/"
[#]: author: "Abhishek Prakash https://itsfoss.com/"
[#]: collector: "lkxed"
[#]: translator: "Yufei-Yan"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14994-1.html"
apt 的 update 和 upgrade 命令的区别是什么?
======
![](https://img.linux.net.cn/data/attachment/album/202209/02/224416uecz5x75yalc0axc.jpg)
如果想让你的 Ubuntu 或者 Debian 系统保持更新,要用 `sudo apt update``sudo apt upgrade` 命令组合。
一些以前的教程也会提到 `sudo apt-get update``sudo apt-get upgrade`
`apt``apt-get` 命令运行起来几乎一样,除了一些细微的差别,后面我会讨论。
我们首先讨论一下 `update``upgrade` 的区别。这两个难道不是一样的吗?
### apt 的 update 和 upgrade 的区别
尽管听上去运行 `apt update` 可以给你一个包的最新版本,然而这并不正确。`update` 命令只会获得系统上所有包的最新信息,并不会下载或者安装任何一个包。而是 `apt upgrade` 命令来把这些包下载和升级到最新版本。
还是有点困惑?让我来接着解释。我建议阅读 [包管理器的概念][1]。这个会帮你更好的理解这些东西。
![Linux Package Manager Explanation][2]
基本上,你的系统围绕着一个所有可用包的数据库(缓存)工作。注意,这个缓存(或者数据库)并不包含这些包本身,仅仅是关于包的元数据(版本、仓库、依赖等)。
如果你不更新这个数据库,系统就不会知道是否有更新的版本。
当你运行 `apt update` 或者 `apt-get update` 命令,它会获取这些包的最新元数据(包的版本等)。
![apt update][3]
这时候本地缓存就被更新了,有一些包可以升级。用 `sudo apt upgrade` 可以升级所有(可升级的)包。
它会显示要升级的包,并且通过回车(默认选择是 `Y`)或者按下 `Y` 键进行确认。要在这个阶段取消升级,可以按下 `N`
![apt upgrade][4]
下面这些可能会帮助你记忆:
* `apt update`:更新包缓存(可以知道包的哪些版本可以被安装或升级)
* `apt upgrade`:升级包到最新版本
因为有一些管理员命令,需要作为 root 运行。因此需要使用 `sudo` 配合其他命令。`sudo` 使你能够作为 root 在 Ubuntu 和 Debian 上运行命令。
既然理解了 `update``upgrade` 是如何一起运行的,我们接下来来讨论一下 `apt``apt-get` 的用法。
### apt 还是 apt-get应该用哪个
Debian 和 Ubuntu 使用的是 APT 包管理系统。不要和 `apt` 命令弄混了。
有许多和 APT 包管理交互的命令;`apt-get`、`apt`、`dpkg`、`aptitude` 等。
这里面最受欢迎的就是 `apt-get` 命令。它是一个<ruby>低层级<rt>low-level</rt></ruby>且功能丰富的命令。`apt` 是 `apt-get` 命令的一个更新而更简单的版本。
可以读一下这篇文章来 [了解 atp 和 apt-get 命令的不同][5]。下面重点讨论这些命令中 `update``upgrade` 选项的区别。
#### apt update vs apt-get update
`apt-get update``apt update` 做的是同样的事,都是更新本地包缓存,这样的话你的系统就知道有哪些包的版本是可用的。
从技术上讲,其实并没有区别。然而,`apt update` 在一个方面比 `apt-get update` 做的好,**它会告诉你可升级的包的数量**。
```
Hit:15 https://ppa.launchpadcontent.net/slimbook/slimbook/ubuntu jammy InRelease
Fetched 213 kB in 4s (55.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
```
`apt-get update` 甚至不会告诉你包是否可以升级。
![apt get update][6]
![apt update output][7]
`apt` 中可以看到 [列出可升级的包][8],而 `apt-get` 甚至没有这个选项。
```
# apt list --upgradable
Listing... Done
fprintd/jammy-updates 1.94.2-1ubuntu0.22.04.1 amd64 [upgradable from: 1.94.2-1]
gnome-control-center-data/jammy-updates,jammy-updates 1:41.7-0ubuntu0.22.04.4 all [upgradable from: 1:41.7-0ubuntu0.22.04.1]
gnome-control-center-faces/jammy-updates,jammy-updates 1:41.7-0ubuntu0.22.04.4 all [upgradable from: 1:41.7-0ubuntu0.22.04.1]
gnome-control-center/jammy-updates 1:41.7-0ubuntu0.22.04.4 amd64 [upgradable from: 1:41.7-0ubuntu0.22.04.1]
libpam-fprintd/jammy-updates 1.94.2-1ubuntu0.22.04.1 amd64 [upgradable from: 1.94.2-1]
vivaldi-stable/stable 5.4.2753.40-1 amd64 [upgradable from: 5.4.2753.37-1]
```
现在来比较一下两个命令中 `upgrade` 的选项。
#### apt upgrade vs apt-get upgrade
`apt-get upgrade``apt upgrade` 命令根据本地包缓存(通过 `update` 命令更新)的数据,安装可升级包的最新版本。
然而,`apt upgrade` 命令会做两件与 `apt-get upgrade` 不同的事情。
`apt upgrade` 命令可以升级 Linux 内核版本,`apt-get upgrade` 不能。`apt-get` 命令需要使用 [apt-get dist-upgrade][9] 来升级内核版本。
![apt-get upgrade command cannot upgrade Linux kernel version][10]
这是因为升级内核版本意味着安装一个全新的包。`apt-get upgrade` 命令不能安装一个新的包。它只能升级现有的包。
`apt upgrade``apt-get` 做的好的另一件小事是,它会在底部**显示一个进度条**。
![apt upgrade progress bar][11]
### 总结
`update``upgrade` 两个词很相似,这就是为什么很多新用户会感到困惑。有时候,我觉得 `apt update` 命令应该和 `apt upgrade` 命令合并。
我意思是 `upgrade`(所有已安装的包)和 `update`(本地包元数据缓存)一起完成工作。为什么要有两个分开的命令呢?把这两个领命合成一个 `upgrade` 命令吧。Fedora 就是这样对 DNF 命令进行了改进。不过这只是我的观点。
我希望这篇文章可以解释一些关于 `apt-get update`、`apt-get upgrade` 和 `apt update` 以及 `apt upgrade` 命令的问题。
如果有任何问题,请与我联系。
--------------------------------------------------------------------------------
via: https://itsfoss.com/apt-update-vs-upgrade/
作者:[Abhishek Prakash][a]
选题:[lkxed][b]
译者:[Yufei-Yan](https://github.com/Yufei-Yan)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/package-manager/
[2]: https://itsfoss.com/wp-content/uploads/2020/10/linux-package-manager-explanation.png
[3]: https://itsfoss.com/wp-content/uploads/2022/08/apt-update.png
[4]: https://itsfoss.com/wp-content/uploads/2022/08/apt-upgrade.png
[5]: https://itsfoss.com/apt-get-upgrade-vs-dist-upgrade/
[6]: https://itsfoss.com/wp-content/uploads/2022/08/apt-get-update.png
[7]: https://itsfoss.com/wp-content/uploads/2022/08/apt-update-output.png
[8]: https://itsfoss.com/apt-list-upgradable/
[9]: https://itsfoss.com/apt-get-upgrade-vs-dist-upgrade/
[10]: https://itsfoss.com/wp-content/uploads/2022/08/apt-get-upgrade.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/apt-upgrade-progress-bar.png

View File

@ -0,0 +1,118 @@
[#]: subject: "How to Get KDE Plasma 5.25 in Kubuntu 22.04 Jammy Jellyfish"
[#]: via: "https://www.debugpoint.com/kde-plasma-5-25-kubuntu-22-04/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14997-1.html"
如何在 Kubuntu 22.04 中安装 KDE Plasma 5.25
======
![](https://img.linux.net.cn/data/attachment/album/202209/03/233812h11u1b18p8j0u8ct.jpg)
KDE 开发人员现在启用了流行的向后移植 PPA并对 KDE Plasma 5.25 进行了必要的更新,你现在可以将其安装在 Kubuntu 22.04 Jammy Jellyfish 中。下面是方法。
KDE Plasma 5.25 于不久前的 2022 年 6 月 14 日发布,其中包含一些令人振奋的更新。在此版本中,你将获得**动态强调色**、改进的登录头像、**浮动面板**以及我们在 [功能亮点文章][1] 中介绍的许多功能。
但是,如果你正在运行早在 2022 年 4 月发布的 [Kubuntu 22.04 Jammy Jellyfish][2],那么你使用的是带有 KDE Framework 5.92 的 KDE Plasma 5.24。
你可能正在稳定的 Kubuntu 22.04 版本中等待享受新功能,现在可以通过著名的向后移植 PPA 在 Kubuntu 22.04 中安装它。
### 如何在 Kubuntu 22.04 中安装 KDE Plasma 5.25
这是使用最新的 KDE Plasma 5.25 升级 Kubuntu 22.04 的方法。
#### GUI 方式
如果你惯于使用 KDE 的软件应用 “<ruby>发现<rt>Discover</rt></ruby>”,请打开该应用。然后进入 “<ruby>设置<rt>Settings</rt></ruby>” > “<ruby>软件源<rt>Sources</rt></ruby>” 并添加 PPA`ppa:kubuntu-ppa/backports-extra`。然后单击“<ruby>更新<rt>Updates</rt></ruby>”。
#### 终端方法(推荐)
我建议你打开一个终端并进行此升级以更快地执行和安装。
打开 Konsole 并运行以下命令以添加 [向后移植 PPA][3]。
```
sudo add-apt-repository ppa:kubuntu-ppa/backports-extra
```
![Upgrade Kubuntu 22.04 with KDE Plasma 5.25][4]
现在,通过运行以下命令刷新包列表。然后验证 5.25 包是否可用。
```
sudo apt update
```
```
apt list --upgradable | grep 5.25
```
![KDE Plasma 5.25 packages are available now][5]
最后,运行最后一个命令来启动升级。
```
sudo apt full-upgrade
```
总共下载大约 200 MB 的软件包。根据你的互联网连接速度,整个过程大约需要 10 分钟。
上述命令完成后,重新启动系统。
重启后,你应该会在 Kubuntu 22.04 LTS 中看到新的 KDE Plasma 5.25。
![KDE Plasma 5.25 in Kubuntu 22.04 LTS][6]
### 其他向后移植 PPA
请注意,[另外的向后移植 PPA][7] `ppa:kubuntu-ppa/backports` 目前提供的是 Plasma 5.24。因此,请勿使用与上面不同的 PPA。我不确定这个 PPA 是否会得到更新。
```
sudo add-apt-repository ppa:kubuntu-ppa/backports // 不要使用这个
```
### 如何卸载
在任何时候,如果你想回到 KDE Plasma 桌面的原始版本,那么你可以安装 `ppa-purge` 并删除该 PPA然后刷新包。
打开终端,依次执行以下命令:
```
sudo apt install ppa-purge
sudo ppa-purge ppa:kubuntu-ppa/backports-extra
sudo apt update
```
完成上述命令后,重启系统。
### 结束语
这就是全部了。一个漂亮而简单的步骤,将 Jammy Jellyfish 中的 KDE Plasma 升级到 Plasma 5.25。我希望你升级顺利。
如果你遇到任何错误,请在评论栏告诉我。
干杯。
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/kde-plasma-5-25-kubuntu-22-04/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed
[1]: https://www.debugpoint.com/kde-plasma-5-25/
[2]: https://www.debugpoint.com/kubuntu-22-04-lts/
[3]: https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/backports-extra
[4]: https://www.debugpoint.com/wp-content/uploads/2022/08/Upgrade-Kubuntu-22.04-with-KDE-Plasma-5.25.jpg
[5]: https://www.debugpoint.com/wp-content/uploads/2022/08/KDE-Plasma-5.25-packages-are-available-now.jpg
[6]: https://www.debugpoint.com/wp-content/uploads/2022/08/KDE-Plasma-5.25-in-Kubuntu-22.04-LTS-1024x575.jpg
[7]: https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/backports

View File

@ -0,0 +1,131 @@
[#]: subject: "How I analyze my music directory with Groovy"
[#]: via: "https://opensource.com/article/22/8/groovy-script-java-music"
[#]: author: "Chris Hermansen https://opensource.com/users/clhermansen"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15004-1.html"
我如何使用 Groovy 分析我的音乐目录
======
![](https://img.linux.net.cn/data/attachment/album/202209/06/091157xsta20az0az0ws0k.jpg)
> 为了简化 Java 的繁琐,我制作了一个 Groovy 工具来分析我的音乐目录。
最近,我一直在研究 Groovy 是如何简化略微繁琐的 Java 的。在这篇文章中,我开始了一个简短的系列,通过创建一个分析我的音乐目录的工具来演示 Groovy 脚本。
在本文中,我将演示 `groovy.File` 类如何扩展和精简 `java.File` 并简化其使用。这为查看音乐文件夹的内容提供了一个框架,以确保预期的内容(例如,`cover.jpg` 文件)就位。我使用 [JAudiotagger 库][2] 来分析音乐文件的标签。
### 安装 Java 和 Groovy
Groovy 基于 Java需要安装 Java。 Java 和 Groovy 的最新和稳定的版本可能都在你的 Linux 发行版的仓库中。 Groovy 也可以直接从 [Apache Foundation 网站][3] 安装。对于 Linux 用户来说,一个不错的选择是 [SDKMan][4],它可用于获取 Java、Groovy 和许多其他相关工具的多个版本。对于本文,我使用以下 SDK 版本:
* Java版本 11.0.12-open 的 OpenJDK 11
* Groovy版本 3.0.8
### 音乐元数据
最近,我重整了我的音乐消费方式。我决定使用优秀的开源 [Cantata][5] 音乐播放器,它是开源 [MPD 音乐播放器][6] 的一个前端。我所有的电脑的音乐都存储在 `/var/lib/mpd/music` 目录下。在该音乐目录下有艺术家子目录,在每个艺术家子目录下有专辑子目录,包含音乐文件、`cover.jpg`,偶尔还有 PDF 格式的内页说明。
我绝大部分的音乐文件都是 FLAC 格式的,有一些是 MP3 格式,可能还有一小部分是 OGG 格式。我选择 JAudiotagger 库的一个原因是它可以透明地处理不同的标签格式。当然JAudiotagger 是开源的!
那么查看音频标签有什么意义呢?以我的经验,音频标签的管理极差。(提到音频标签,)我的脑海中浮现出“粗心”这个词。这是标签本身真正存在的问题,也可能是出于我自己的学究倾向。无论如何,这是一个可以通过使用 Groovy 和 JAudiotagger 解决的重要问题。不过,它不仅适用于音乐收藏。许多其他现实世界的问题也适用,如需要下沉到文件系统中的目录树来处理在那里找到的内容。
### 使用 Groovy 脚本
这是此任务所需的基本代码。我在脚本中加入了注释,这些注释反映了我通常留给自己的(相对简写的)“注释提醒”:
```
// 定义音乐库目录
def musicLibraryDirName = '/var/lib/mpd/music'
// 输出 CSV 文件标题行
println "artistDir|albumDir|contentFile"
// 迭代音乐库目录中的每个目录
// 这一层应该是艺术家目录
new File(musicLibraryDirName).eachDir { artistDir ->
// 迭代艺术家目录中的每个目录
// 这一层应该是专辑目录
artistDir.eachDir { albumDir ->
// 迭代专辑目录中的每个目录
// 这里应该是内容
// 或相关内容(如 `cover.jpg`PDF 格式的内页说明)
albumDir.eachFile { contentFile ->
println "$artistDir.name|$albumDir.name|$contentFile.name"
}
}
}
```
如上所述,我使用 `groovy.File` 在目录树中移动。具体来说:
第 7 行创建一个新的 `groovy.File` 对象并在其上调用 `groovy.File.eachDir()`,第 7 行的 `{` 和第 18 行的结尾的 `}` 之间的代码是传给 `eachDir()``groovy.Colsue` 参数。
这意味着 `eachDir()` 为目录中找到的每个子目录执行该代码。这类似于 Java *lambda*(也称为“匿名函数”)。 Groovy 闭包不会像 lambda 那样限制对调用环境的访问(在最新版本的 Groovy 中,如果你愿意,也可以使用 Java lambda。如上所述音乐库目录中的子目录应该是艺术家目录例如“Iron Butterfly” 或 “Giacomo Puccini”因此 `artistDir``eachDir()` 传递给闭包的参数。
第 10 行对每个 `artistDir` 调用 `eachDir()`,第 10 行的 `{` 和第 17 行的 `}` 之间的代码形成另一个处理 `albumDir` 的闭包。
第 14 行,在每个 `albumDir` 上调用 `eachFile()`,第 14 行的 `{` 和第 16 行的 `}` 之间的代码形成了处理专辑内容的第三级闭包。
在本文的范围内,我对每个文件唯一需要做的就是开始构建信息表,我将其创建为一个以竖线分隔的 CSV 文件,它可以导入 [LibreOffice][7] 或 [OfficeOnly][8] 或任何其他电子表格。现在,代码输出前三列:艺术家目录名、专辑目录名和内容文件名(同样,第 2 行输出 CSV 标题行)。
在我的 Linux 笔记本电脑上运行它会产生以下输出:
```
$ groovy TagAnalyzer.groovy | head
artistDir|albumDir|contentFile
Habib Koite & Bamada|Afriki|02 - Ntesse.flac
Habib Koite & Bamada|Afriki|08 - NTeri.flac
Habib Koite & Bamada|Afriki|01 - Namania.flac
Habib Koite & Bamada|Afriki|07 - Barra.flac
Habib Koite & Bamada|Afriki|playlist.m3u
Habib Koite & Bamada|Afriki|04 - Fimani.flac
Habib Koite & Bamada|Afriki|10 - Massake.flac
Habib Koite & Bamada|Afriki|11 - Titati.flac
Habib Koite & Bamada|Afriki|03 Africa.flac
[...]
Richard Crandell|Spring Steel|04-Japanese Lullaby [Richard Crandell].flac
Richard Crandell|Spring Steel|Spring Steel.pdf
Richard Crandell|Spring Steel|03-Zen Dagger [Richard Crandell].flac
Richard Crandell|Spring Steel|cover.jpg
$
```
在性能方面:
```
$ time groovy TagAnalyzer.groovy | wc -l
9870
real 0m1.482s
user 0m4.392s
sys 0m0.230s
$
```
又好又快。它在一秒半内处理近 10,000 个文件!对我来说足够快。可观的性能、紧凑且可读的代码,还有什么不喜欢的?
在我的下一篇文章中,我会打开 JAudiotagger 并查看每个文件中的标签。
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/8/groovy-script-java-music
作者:[Chris Hermansen][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/clhermansen
[b]: https://github.com/lkxed
[1]: https://opensource.com/sites/default/files/lead-images/programming-code-keyboard-laptop-music-headphones.png
[2]: http://www.jthink.net/jaudiotagger/examples_read.jsp
[3]: https://groovy.apache.org/download.html
[4]: https://opensource.com/article/22/3/manage-java-versions-sdkman
[5]: https://opensource.com/article/17/8/cantata-music-linux
[6]: https://www.musicpd.org/
[7]: https://opensource.com/tags/libreoffice
[8]: https://opensource.com/article/20/7/nextcloud

View File

@ -0,0 +1,75 @@
[#]: subject: "Debian Finally Starts a General Resolution to Consider a Non-Free Firmware Image"
[#]: via: "https://news.itsfoss.com/debian-non-free/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14988-1.html"
Debian 终于开始讨论非自由固件镜像了
======
> Debian 终于开始考虑将非自由固件纳入一般决议中了。那么,将会如何呢?
![Debian 终于开始考虑非自由固件映像的一般决议][1]
由于其稳定性和新功能之间的平衡的做法Debian 是最受欢迎的 Linux 发行版之一。
但是,它并没有配备任何非自由固件。
对于想在新硬件上使用 Debian 的用户来说,这已经成为一个问题。
大多数最新的设备和配置都需要非自由固件来使其工作,这包括 Wi-Fi、图形显示等等。
为了解决这个问题,前 Debian 项目负责人、开发者 Steve McIntyre 已经对此积极讨论了一段时间。最近在 DebConf 22 会议上,正如 [Geeker's Digest][2] 所发现的那样Steve 谈到了修复固件的混乱局面,更好地向用户和开发者表明了这一点。
现在社区中讨论的进展是,看起来 Debian 已经启动了一项一般决议,让其利益相关者投票决定如何处理非自由固件的问题。
### Debian 的一般决议提案
这个一般决议案有四个提案LCTT 译注:原文和官方提案说明不够清晰,我根据理解重新梳理了):
* 提案 A改变原有的官方镜像集安装镜像和实况镜像Debian 将在官方镜像中包含非自由固件包。包含的固件将在检测到需求时默认启用。然而它也将包括让用户在启动时禁用的方法。截止本文发表时的提案支持人数17
* 提案 B不改变原有的镜像集保留原来的不包含非自由固件的镜像另外单独提供包含非自由固件的官方镜像。新的镜像下载链接将更醒目以方便新用户找到它们而原来的镜像的视觉优先级将变低。截止本文发表时的提案支持人数10
* 提案 C和提案 B 类似在用户下载不包含自由固件的镜像时提醒他们还有包含非自由固件的镜像可供下载。截止本文发表时的提案支持人数6
* 提案 D继续遵守《<ruby>Debian 社会契约<rt>Debian Social Contract</rt></ruby>》第 1 节和第 5 节的精神,继续保持现状,不在 Debian 中包含任何非自由软件但支持它们的使用并欢迎其他人分发这样的作品。截止本文发表时的提案支持人数6
这些是一些有趣的建议。我认为提案 A 对所有人都很方便,同时给高级用户禁用非自由固件的机会。
你可以在 [官方网页][3] 中了解更多关于一般决议的信息。
你怎么看?
### 将非自由固件纳入官方发行版中
至于目前的情况,你可以找到带有非自由固件的“**非官方**”的 Debian 镜像。
然而,并不是每个用户都知道它,即使它在 Debian 的下载页面上被宣传,“**非官方**”的说法也不会让用户比推荐的镜像更喜欢。
此外,当用户可以选择任何基于 Ubuntu 的发行版或 Ubuntu 作为替代品时,期望他们安装非自由固件是违反直觉的。
不仅仅限于这些问题Steve 在他的 [博客][4] 中还提到了其他一些问题,包括:
* 维护独立的非自由镜像是很耗时的。
* 由于缺乏非自由固件,许多用户不喜欢官方镜像。
*那么,你认为 Debian 的一般决议的投票结果是什么?一个单独的介质镜像?还是把它包括在官方镜像中?*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/debian-non-free/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/wordpress/2022/07/debian-non-free-firmware.jpg
[2]: https://www.geekersdigest.com/debian-on-the-verge-to-include-non-free-firmware-in-official-releases/
[3]: https://www.debian.org/vote/2022/vote_003#timeline
[4]: https://blog.einval.com/2022/04/19#firmware-what-do-we-do

View File

@ -0,0 +1,115 @@
[#]: subject: "Some ways to get better at debugging"
[#]: via: "https://jvns.ca/blog/2022/08/30/a-way-to-categorize-debugging-skills/"
[#]: author: "Julia Evans https://jvns.ca/"
[#]: collector: "lkxed"
[#]: translator: "aftermath0703"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14991-1.html"
提高调试能力的一些方法
======
![](https://img.linux.net.cn/data/attachment/album/202209/01/222854m78u44otl68yxbyu.jpg)
你们好!我一直在编写一本关于调试的杂志(这是 [目录的初稿][1])。
作为其中的一部分,我认为阅读一些关于调试的学术论文可能会很有趣,上周 [Greg Wilson][2] 给我发了一些关于调试学术研究的论文。
其中一篇论文(《[建立一个调试教学的框架[付费墙]][3]》)对我们有效调试所需的不同种类的知识/技能进行了分类,我非常喜欢。它来自另一篇关于故障排除的更一般性的论文:《[学会排错:一个新的基于理论的设计架构][4]》。
我认为这个分类对于思考如何更好地进行调试是一个非常有用的结构,所以我把论文中的五个类别重新规划为你可以采取的行动,以提高调试的效率。
以下是这些行动:
#### 1、学习代码库
要调试一些代码,你需要了解你正在使用的代码库。
这似乎有点显而易见(当然,不了解代码的工作原理,你就无法调试代码!)
这种学习随着时间的推移会很自然地发生,而且实际上调试也是 *学习* 一个新的代码库如何工作的最好方法之一——
看到一些代码是如何崩溃的,有助于你了解它是如何工作的。
该论文将此称为“系统知识”。
#### 2、学习系统
论文中提到,你需要了解编程语言,但我认为不止于此 —— 为了修复 bug往往你需要学习很多更广泛的环境而不仅仅是语言。
举个例子,如果你是后端 Web 开发者,你可能需要的一些“系统”知识包括:
* HTTP 缓存如何工作
* CORS
* 数据库事务是如何工作的
我发现我经常需要更有意识地去学习像这样的系统性的东西 —— 我需要真正花时间去查找和阅读它们。
该论文将此称为“领域知识”。
#### 3、学习你的工具
现在有很多工具,例如:
* 调试器GDB 等)
* 浏览器开发工具
* <ruby>剖析器<rt>profiler</rt></ruby>
* `strace` / `ltrace`
* `tcpdump` / `wireshark`
* 核心转储
* 甚至像错误信息这样的基本东西(如何正确阅读它们)
我在这个博客上写了很多关于调试工具的文章,并且肯定学习这些工具给我带来了巨大的变化。
该论文将此称为“处理性知识”。
#### 4、学习策略
这是最模糊的一类,在如何高效调试的过程中,我们都有很多策略和启发式方法。比如说:
* 写一个单元测试
* 写一个小的独立程序来重现这个错误
* 找到一个能工作的版本的代码,看看有什么变化
* 打印出无数的东西
* 增加额外的日志记录
* 休息一下
* 向朋友解释这个错误,然后在中途发现问题所在
* 查看 GitHub 上的问题,看看是否有匹配的问题
在写这本杂志的时候,我一直在思考这个类别,但我想让这篇文章简短,所以我不会在这里多说。
该论文将此称为“战略知识”。
#### 5、获得经验
最后一个类别是“经验”。这篇论文对此有一个非常有趣的评论:
> 他们的研究结果并没有显示出新手和专家所采用的策略有什么明显的区别。专家只是形成了更多正确的假设,并且在寻找故障方面更有效率。作者怀疑这个结果是由于新手和专家之间的编程经验不同造成的。
这真的引起了我的共鸣 —— 我遇到过很多第一次遇到时非常令人沮丧和困难的 bug而在第五次、第十次或第二十次时就非常简单了。
对我来说,这也是最直接的知识类别之一 —— 你需要做的就是调查一百万个 bug反正这就是我们作为程序员的全部生活 : ) 。这需要很长的时间,但我觉得它发生得很自然。
本文将此称为“经验知识”。
#### 就这样吧!
我打算把这篇文章写得很短,我只是非常喜欢这个分类,想把它分享出来。
--------------------------------------------------------------------------------
via: https://jvns.ca/blog/2022/08/30/a-way-to-categorize-debugging-skills/
作者:[Julia Evans][a]
选题:[lkxed][b]
译者:[aftermath0703](https://github.com/aftermath0703)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://jvns.ca/
[b]: https://github.com/lkxed
[1]: https://twitter.com/b0rk/status/1562480240240525314?s=20&t=BwKd6i0mVCTaCud2HDEUBA
[2]: https://third-bit.com/
[3]: https://dl.acm.org/doi/abs/10.1145/3286960.3286970
[4]: https://www.researchgate.net/profile/Woei-Hung/publication/225547853_Learning_to_Troubleshoot_A_New_Theory-Based_Design_Architecture/links/556f471c08aec226830a74e7/Learning-to-Troubleshoot-A-New-Theory-Based-Design-Architecture.pdf

View File

@ -0,0 +1,79 @@
[#]: subject: "Evernote Alternative Notesnook is Now Open Source"
[#]: via: "https://news.itsfoss.com/notesnook-goes-open-source/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15001-1.html"
印象笔记的替代品 Notesnook 现已开源
======
![](https://news.itsfoss.com/content/images/size/w2000/2022/09/notesnook-ft.png)
> Notesnook 是一个以隐私为重点的新的记事本应用程序,它决定开源了。
当你想到一个开源的安全记事本应用程序时,你会想到什么?
可能是 <ruby>[标准笔记][2]<rt>Standard Notes</rt></ruby>
🔒 它是一个开源的、端到端加密的应用程序。而且也正是 Linux 用户最好的记事应用程序之一。
然而,提供类似于流行的印象笔记功能的注重隐私的标准笔记替代品较少。
幸运的是,我们有一个新的选择加入了名单,即 **Notesnook**
📢 Notesnook 最近在 GPLv3 许可下进行了开源,以让社区帮助改进它,并确保该项目不至于走样。
目前,开发人员希望把重点放在改进 GitHub 仓库上,然后继续增加新的功能/其他开发活动。
### Notesnook它能提供什么
![notesnook][5]
Notesnook 是一个开源的零知识笔记存储平台,具有端到端加密功能。
与标准笔记类似,你可以免费使用它,也可以选择高级计划来解锁更多的好处。一些亮点包括:
* 手机端的应用锁。
* 私人笔记保险库。
* 密码保护的笔记共享。
* 跨平台。
界面看起来像是组合了各种有用的东西。我有兴趣单独写篇点评,或许写篇比较文章,听起来不错,对吗?
它可用于 Windows、mac 和 Linux。你可以下载用于 Linux 桌面的 AppImage 文件,或者 .deb/.rpm。
🏷️ 💲 **为了庆祝开源**Notesnook 还为其 [年度高级计划][6] 提供高达 75% 的折扣,并提供 30 天退款保证。你可以试一试,看看你是否需要高级计划。
在印度付费的话,我看到有 80% 的折扣,使得一年的订阅费用只有 10 美元。其他地区的情况可能不同。
探索其 [GitHub 页面][7] 或 [官方网站][8] 以了解更多。此外,你可以阅读他们的 [博客文章][9],了解他们为什么决定要开源。
> **[Notesnook][10]**
💬 *你认为 Notesnook 作为一个以隐私为中心的新的记事应用程序怎么样?*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/notesnook-goes-open-source/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/09/notesnook-ft.png
[2]: https://standardnotes.com/
[3]: https://itsfoss.com/note-taking-apps-linux/
[5]: https://news.itsfoss.com/content/images/2022/09/notesnook.jpg
[6]: https://notesnook.com/pricing/
[7]: https://github.com/streetwriters/notesnook
[8]: https://notesnook.com/
[9]: https://blog.notesnook.com/notesnook-is-going-open-source/
[10]: https://notesnook.com/

View File

@ -0,0 +1,74 @@
[#]: subject: "Microsoft Decides to Drop the Linux App for Teams to Replace it as a Progressive Web App Instead"
[#]: via: "https://news.itsfoss.com/microsoft-linux-app-retire/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14995-1.html"
微软决定放弃 Teams 的 Linux 应用,而用渐进式网页应用取代
======
> 微软将不再为 Teams 提供 Linux 应用。以下是你如何在 Linux 上使用 Teams 的方法。
![微软决定不再为 Teams 提供 Linux 应用程序取而代之的是渐进式Web应用程序][1]
**微软爱 Linux ...** 💔
如果你还记得微软的这个营销套路,那么在阅读这条新闻时,你就知道这并不完全正确。
早在 2019 年,微软就为 Teams 推出了 Linux 应用的公共预览版。现在,在其存在的三年后,他们决定在 2022 年 12 月退役其 Linux 客户端。
在发表这篇文章的时候,没有任何官方公告来宣布这一消息。这个消息有可能是一个使用微软 Teams 的管理员发现的,它可能是内部管理员的通知之一(据 [Hacker News][2])。
该通知提到:
> 我们将在 90 天内12 月初)退役 Linux 上的微软 Teams 桌面客户端,该客户端目前以公共预览提供。所有使用微软 Teams Linux 桌面客户端的用户将不得不过渡到网页PWA版本这是我们将继续投入开发资源的地方。我们会帮助所有目前在 Linux 上的客户开始使用 PWA 应用;一旦我们接近发布这一功能,我们将发布相应的指导。
### 渐进式网页应用PWA将取代 Linux 应用程序
![微软 Teams Linux 应用程序][3]
微软表示,再过段时间,他们将在 Linux 上提供一个 Teams 渐进式网页应用程序PWA
这个 PWA 将支持背景模糊、自定义背景、反应和其他一些类似桌面应用的功能。因此,对于一些用户来说,这是一个好消息。
目前还不清楚 PWA 将在何时推出,因为他们只提到你可以在未来几个月内期待它。
**不幸的是**Mozilla FirefoxLinux 的最佳浏览器之一)不提供对 PWA 的支持。
因此,根据官方信息,你可以在 [Edge][4] 和 [Linux 上的 Chrome 浏览器][5]上运行 PWA
> 我们听到你说希望在 Linux 上获得微软 Teams 的全部丰富功能,如背景效果、反应、画廊视图等。我们发现对此采取行动的最佳方式是在 Linux 上提供一个 Teams 渐进式网页应用PWA以作为我们当前网页客户端的一个新功能我们将在未来几个月向我们的 Linux 客户提供。
>
> PWA 使我们能够更快地将最新的 Teams 功能提供给我们的 Linux 客户,并帮助我们弥补 Linux 和 Windows 上 Teams 桌面客户端之间存在的差距。PWA 体验将在 Linux 上的 Edge 和 Chrome 浏览器上提供。
### 你现在能做什么?
老实说Linux 上的微软 Teams 应用的体验并不是很好。
因此,你应该开始使用网页应用,或者等待 PWA。当然如果你使用 PWA 的话,你可能不习惯使用微软 Edge 或 Chrome 浏览器。但是,没办法。
你也可以尝试一些非官方的 Linux 客户端,但我不确定那会有多好用。
*你对微软退役其官方 Linux 应用而偏爱 PWA 或网页版有何看法?在下面的评论中分享你的想法。*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/microsoft-linux-app-retire/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/09/ms-dropping-teams-for-linux.png
[2]: https://news.ycombinator.com/item?id=32678839
[3]: https://news.itsfoss.com/content/images/2022/09/teams-linux.jpg
[4]: https://itsfoss.com/microsoft-edge-linux/
[5]: https://itsfoss.com/install-chrome-ubuntu/

View File

@ -0,0 +1,176 @@
[#]: subject: "8 Exciting New Features in the Upcoming KDE 5.26 Release"
[#]: via: "https://news.itsfoss.com/KDE-plasma-5-26-features/"
[#]: author: "Rishabh Moharir https://news.itsfoss.com/author/rishabh/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14998-1.html"
即将发布的 KDE 5.26 版本中的 8 个令人感兴趣的新功能
======
> KDE Plasma 5.26 是一个令人兴奋的即将发布的更新版本,添加了大量有用的功能。
![](https://img.linux.net.cn/data/attachment/album/202209/04/115636wku1fkkl5zf5f5le.jpg)
在过去的五个月里,流行的桌面环境 KDE Plasma 做了一些重大的更新和大量的修复。
上一个版本 Plasma 5.25 已经有了许多新的功能和改进,特别是对用户界面和体验的改进,而下一个版本听起来更令人兴奋。
### KDE Plasma 5.26 有什么新功能?
让我们来抢先了解一下 KDE Plasma 5.26 的一些新功能。
> KDE Plasma 5.26 计划于 2022 年 10 月 6 日发布。
#### 1、用户界面的改进
如同上一个版本Plasma 5.26 也对用户界面的互动方式做了许多改进。你会发现一些细微的变化,以及对在 KDE Plasma 5.26 上互动/搜索东西做了调整,**给用户更多信息**。
例如,<ruby>格式<rt>Format</rt></ruby><ruby>语言<rt> Language</rt></ruby> 的设置页面现在已经合并了,可以给你一个更干净的外观,并摆脱了一些与之相关的常见错误。
Han Young 为 [这两个页面的合并][4] 做了大量工作。
因此,你可以很容易地设置默认格式,以及对 [你的地址、姓名风格、电话号码][5] 等进行设置。
![KDE Plasma 5.26][6]
另一个例子包括,如果你在系统设置的 “<ruby>自动启动<rt>Autostart</rt></ruby>” 窗口的 “<ruby>登录脚本<rt>Login Scripts</rt></ruby>” 部分添加一个 Shell 脚本,而该脚本没有被标记为可执行,就会显示一个警告。此外,它还包括一个按钮,单击即可设置为可执行。
感谢 Nicolas Fella 的这个 [贡献][7]
![][8]
以及,任务切换效果 “<ruby>覆盖<rt>Cover</rt></ruby>” 和“<ruby>翻转<rt>Flip></rt></ruby>” 使用了 Plasma 对话框作为背景。
在概览效果中使用的同样的 UI 组件现在也替代应用了,给人一种更一致的外观。这也包括统一的背景和模糊的效果。
感谢 Ismael Asensio 的这一 [补充][9]
![][10]
更多的 UI 改进包括:
* 打磨 KDE 应用程序以获得更干净的用户体验。
* 调整系统设置,使其看起来更干净。
* 对配置文件夹与 Samba 共享进行了改进。
* 完善 Dolphin 文件管理器的用户界面。
#### 2、Dolphin 的新选择模式
尤其是那些使用触摸屏的用户,现在可以通过在文件夹或文件上执行长按来轻松选择或取消选择项目,就像在智能手机上一样。如果你使用的是鼠标和键盘,按空格键将进入或退出这个可选模式。
此外,也将显示带有一系列选项的上下文菜单,就像右键菜单一样。
感谢 Felix Ernst 的这个很酷的 [新增功能][11]。
![][12]
#### 3、“开始”的新紧凑模式
Plasma 的本地应用程序启动器“<ruby>开始<rt>Kickoff</rt></ruby>”,现在支持一种新的模式,叫做“<ruby>紧凑<rt>Compact</rt></ruby>”视图。
顾名思义,内容被缩小了,以便更多的项目可以被看到。请注意,这个设置对使用触摸模式的用户来说并不理想,因此被禁用。
这个有用的 [新增功能][13] 来自于 Nate Graham 的出色工作。
![][14]
#### 4、不再模糊的 XWayland 应用程序
使用 HiDPI 屏幕的 Wayland 用户面临着许多与应用程序的缩放有关的问题。为了解决这个问题,用户可以为他们的 XWayland 应用程序选择两种缩放方式。
一种方法是允许使用合成器进行统一缩放,这可能会导致轻微的模糊。
另一种是允许应用程序自己缩放。请注意,支持预置的 X11 HiDPI 的应用程序只能通过这种设置进行改善。
甚至在每个选项上都添加了一个帮助图标,详细说明了该选项的作用,因此用户可以得到更清晰的理解。
感谢 David Edmundson 和 Aleix Pol Gonzales 添加的缩放功能和 Nate Graham 的 [帮助工具提示][15]。
![][16]
#### 5、支持更多的硬件和固件数据
系统设置中的 “<ruby>关于本系统<rt>About This System</rt></ruby>”页面已经更新,以支持更新的硬件和固件。苹果 Mac/Macbook 用户会很高兴地知道,对苹果 M1 的支持也包括在内。
感谢 James Calligeros 提供的这一 [补充][17]。
![][18]
#### 6、对“发现”的增强
KDE 的旗舰应用商店 <ruby>发现<rt>Discover</rt></ruby> 已经得到了一些有用的补充,应该可以帮助用户在选择软件时避免混淆。
例如,如果正在应用页面上浏览的是测试版,“发现” 将显示一个信息框。此外,如果测试版频道已经过时或比稳定版频道更老,也会显示一个警告。
![][19]
如果该软件是一个插件,“<ruby>来自<rt>Distributed by</rt></ruby>”标签将不再显示项目的源码不可点击的 URL而是显示“KDE 商店”。
此外,用户终于可以为任何软件更新设置相应的通知频率了。
这些增强来自于 Aleix Pol Gonzalez 的出色工作。
#### 7、可重新绑定的鼠标按钮
![鼠标附加按钮配置][20]
如果你使用的鼠标有附加按钮,你可以把这些按钮分配给按键或键盘快捷键。
这是由 David Rdondo 实现的,这是 KDE Plasma 5.26 的一个相当好的功能。
#### 8、从文件搜索启动可执行文件
在 KDE Plasma 5.26 中,当你试图打开一个通过文件搜索找到的可执行文件时,你会得到一个提示:
你可以选择执行该文件或打开它。我认为这是一个相当有用的补充。
#### 🛠️ 其他功能和改进措施
除了上面列出的关键亮点外,还有大量的其他新增功能和错误修复。
一些值得注意的更多改进包括:
* 能够在主日历下同时设置和跟踪两个不同的日历。
* Elisa 播放器有了全屏模式。
* 可调整的面板小部件弹窗。
* 无需应用,一键预览桌面壁纸。
* 壁纸根据使用的浅色或深色方案自动调整图像。
* 可以禁用 Wayland 会话的鼠标中键点击粘贴。
* 使用 “<ruby>备用<rt>Alternate</rt></ruby>” 面板在小部件之间切换时,会保存旧小部件的设置。
💬 *你对 KDE Plasma 5.26 的变化感到兴奋吗?请在下面的评论中分享你的想法。*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/KDE-plasma-5-26-features/
作者:[Rishabh Moharir][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/rishabh/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w2000/2022/09/kde-5-26-release.png
[4]: https://invent.KDE.org/plasma/plasma-workspace/-/merge_requests/1147
[5]: https://bugs.KDE.org/show_bug.cgi?id=430801
[6]: https://news.itsfoss.com/content/images/2022/08/more-things-to-configure.webp
[7]: https://invent.KDE.org/plasma/plasma-workspace/-/merge_requests/878
[8]: https://news.itsfoss.com/content/images/2022/08/needs-to-be-executable.webp
[9]: https://invent.KDE.org/plasma/KDEplasma-addons/-/merge_requests/168
[10]: https://news.itsfoss.com/content/images/2022/08/switchui.webp
[11]: https://bugs.KDE.org/show_bug.cgi?id=427202
[12]: https://news.itsfoss.com/content/images/2022/08/selection-mode-in-dolphin.jpeg
[13]: https://invent.KDE.org/plasma/plasma-desktop/-/merge_requests/699
[14]: https://news.itsfoss.com/content/images/2022/08/compact_mode.png
[15]: https://invent.KDE.org/plasma/kscreen/-/merge_requests/108
[16]: https://news.itsfoss.com/content/images/2022/08/kscreen-kcm-help-in-a-tooltip.webp
[17]: https://invent.KDE.org/plasma/kinfocenter/-/merge_requests/104
[18]: https://news.itsfoss.com/content/images/2022/08/m1-in-about.webp
[19]: https://news.itsfoss.com/content/images/2022/08/bender-old-beta.jpeg
[20]: https://news.itsfoss.com/content/images/2022/09/kde-plasma-5-26-mouse-buttons.png

View File

@ -1,102 +0,0 @@
[#]: subject: "Celluloid Video Player Gets GTK 4 UI Refresh"
[#]: via: "https://news.itsfoss.com/celluloid-0-24-release/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Celluloid Video Player Gets GTK 4 UI Refresh
======
Celluloid 0.24 release gets a modern visual refresh with libadwaita and further refinements.
![Celluloid Video Player Gets GTK 4 UI Refresh][1]
Celluloid is a front-end for mpv (an open-source media player for the command-line).
If you want to avoid bothering with the technical details, Celluloid is one of the best video players for Linux. Many Linux distributions offer Celluloid pre-installed as the default video player, among other essential packages.
With Celluloid v0.24 release, it finally uses [libadwaita][2] along with other refinements.
### 🆕 Celluloid v.0.24: Overview
![][3]
Recently, several applications have migrated over to GTK 4 (using libadwaita).
Whether you hate/love the idea, the applications seem to blend in well with GNOME while providing a modern look.
For instance, a useful [BitTorrent client][4], **Fragments**, [received a UI refresh][5] earlier this year. There are more examples as well.
![][6]
![][7]
Similarly, **Celluloid v0.24** seems to hit the right spot in user experience with this move. In addition to this change, here are the key highlights of the release:
* Migrating to GTK 4
* Dark mode support using libadwaita.
* Redesigned control box.
* Make controls layout adaptive.
* Display chapter marks in the seek bar.
* Display chapter titles in the seek bar pop over.
* Add option to make the video area draggable.
![][8]
In my quick experience with Celluloid on Pop!_OS 22.04 LTS, the UI is refreshing, and works as one would expect.
The dark mode looks perfect. By default, it respects the system choice. However, I would want an option to explicitly choose the dark/light theme.
![][9]
Maybe, we can hope for this addition with the next update.
#### Suggested Read 📖
![][10]
![][11]
### 📥 Download Celluloid 0.24
If you are installing it from the repositories, you may not get the latest version yet (depends on your distribution).
The best way to get the latest release is to get the Flatpak package on [Flathub][12]. You can use the software center for that or install it via the terminal using the following command:
```
flatpak install flathub io.github.celluloid_player.Celluloid
```
You can refer to our [Flatpak setup guide][13] if you are new to Linux.
[Download Celluloid 0.24][14]
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/celluloid-0-24-release/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/celluloid-v-0-24.jpg
[2]: https://adrienplazas.com/blog/2021/03/31/introducing-libadwaita.html
[3]: https://news.itsfoss.com/content/images/2022/08/celluloid-0-24.jpg
[4]: https://itsfoss.com/best-torrent-ubuntu/
[5]: https://news.itsfoss.com/fragments-2-0-release/
[6]: https://news.itsfoss.com/zrythm-gtk4-alpha/
[7]: https://news.itsfoss.com/zrythm-gtk4-alpha/
[8]: https://news.itsfoss.com/content/images/2022/08/celluloid-about.png
[9]: https://news.itsfoss.com/content/images/2022/08/celluloid-light-0-24.jpg
[10]: https://itsfoss.com/video-players-linux/
[11]: https://itsfoss.com/video-players-linux/
[12]: https://flathub.org/apps/details/io.github.celluloid_player.Celluloid
[13]: https://itsfoss.com/flatpak-guide/
[14]: https://celluloid-player.github.io/

View File

@ -1,117 +0,0 @@
[#]: subject: "Kooha Screen Recorder Gets Enhanced Functionalities With Version 2.1 Release"
[#]: via: "https://news.itsfoss.com/kooha-2-1-release/"
[#]: author: "Sagar Sharma https://news.itsfoss.com/author/sagar/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Kooha Screen Recorder Gets Enhanced Functionalities With Version 2.1 Release
======
Kooha gets new feature additions to make it a more useful screen recorder for Linux. What do you think?
![Kooha Screen Recorder Gets Enhanced Functionalities With Version 2.1 Release][1]
Kooha is a fairly new screen recorder for Linux. It has been in development since 2021.
As a modern offering, it is a good pick for users who need a screen recorder for the Wayland desktop session. We've covered it earlier.
![][2]
![][3]
Now, a recent update, **Kooha 2.1,** made it even better and easy to recommend.
In case you are wondering about, what are those features? Well, I'll be sharing those right away.
### 🆕 Kooha 2.1: Key Highlights
![Record screen using Kooha in Linux][4]
[Kooha][5] is a minimal screen recording application with some of the essential options.
With the latest release, you can expect some handy features and under-the-hood changes to enhance your user experience.
So let me start off with highlight some of the best upgrades.
#### More Recording Delay Options
![Delay recording using Kooha screen recording in linux][6]
One of the key highlights for Kooha screen recorder is the ability to add a delay for recording.
While it already had options for five or ten-second delay, with Kooha 2.1, you get a **three-second** option.
It may not sound much of a big deal, but you get more flexibility with options. And, the ability to start a recording after a delay is one of my favorite features about it.
#### Remember Last Selection
![Remember last selection in kooha][7]
Kooha will remember the last option you went with to record the screen and record that window automatically if you've enabled the option to "**Remember this selection**".
Note that you need to have the window active for it to work. It will not launch the window for you, if you have closed it.
If you're dealing with the same window, again and again, this feature will surely come in handy.
#### 🛠️ Other Changes
Along with the key highlights, there are a couple of worthwhile improvements:
* "Show in files" notification will now lead you to files in the default file manager.
* "x264 encoder failing to initiate uneven resolution" is now fixed.
* Improved error handling.
* Codebase improvements for stability.
* Fixed minutes stuck on 00 if time is equal or more than 1 hour.
**Note:** *Technically, Kooha 2.1.1 is the latest version, which introduced minor fixes right after the major 2.1 upgrade.*
The newer fixes include:
* The tooltip text was improved on the settings button.
* Kooha will fall back to manual mode while failing to get the device name using the GStreamer device monitor.
#### Suggested Read 📖
![][8]
![][9]
### 📥 Download Kooha 2.1.1
The recommended way to install Kooha is to use the Flatpak package via [Flathub][10].
You can also head to its [GitHub page][11] to explore more.
[Download Kooha 2.1.1][12]
Kooha may not be an advanced screen recorder software, but it is a nice option for most users.
*Do you think Kooha can replace your default screen recorder program? Feel free to share your thoughts in the comments down below.*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/kooha-2-1-release/
作者:[Sagar Sharma][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sagar/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/kooha-ft.jpg
[2]: https://itsfoss.com/kooha-screen-recorder/
[3]: https://itsfoss.com/kooha-screen-recorder/
[4]: https://news.itsfoss.com/content/images/2022/08/Delay-screen-recording-using-Kooha.png
[5]: https://itsfoss.com/kooha-screen-recorder/
[6]: https://news.itsfoss.com/content/images/2022/08/Recording-delay-option.png
[7]: https://news.itsfoss.com/content/images/2022/08/Remember-this-selection.png
[8]: https://itsfoss.com/best-linux-screen-recorders/
[9]: https://itsfoss.com/best-linux-screen-recorders/
[10]: https://flathub.org/apps/details/io.github.seadve.Kooha
[11]: https://github.com/SeaDve/Kooha
[12]: https://github.com/SeaDve/Kooha

View File

@ -1,40 +0,0 @@
[#]: subject: "An Open Source Mod-Based Method Of Universal Windows Customization, Windhawk"
[#]: via: "https://www.opensourceforu.com/2022/08/an-open-source-mod-based-method-of-universal-windows-customization-windhawk/"
[#]: author: "Laveesh Kocher https://www.opensourceforu.com/author/laveesh-kocher/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
An Open Source Mod-Based Method Of Universal Windows Customization, Windhawk
======
![][1]
It seems like Microsoft is eliminating customising possibilities with every new version of Windows. An open source solution called Windhawk makes an effort to revive and add new Windows customizations. Windhawk was created by Ramen Software, known for other tools like Textify and 7+ Taskbar Tweaker, to streamline the process of making adjustments to programmes and the operating system.
An example is the developers own taskbar tweaker for Windows. Understanding some of the inner workings of the operating system, such as process injection or function hooking, is required to develop such an app. All programmers who want to build customizations must learn and comprehend these. Without having to construct these additional features, Windhawk was developed as a core for customizations to which anyone may contribute.
The modular design of Windhawk is one of its key concepts. Users of Windhawk can download and install mods and tweaks that developers have created on their systems. You can run Windhawk as a portable programme or with an installation. The programs primary interface lists a number of highlighted improvements, including Dark Mode for Notepad, mouse-over volume controls, and mouse-wheel scrolling for Chrome and Edge tabs.
All currently offered mods are displayed when “browse for mods” is clicked. Other notable changes included in these are the ability to turn off grouping on the taskbar, providing the ability to rearrange taskbar thumbnails with the left mouse, and adding text labels for apps in Windows 11. A new page with installation options, the source code, and a preview of the tweak may be accessed by clicking the details button. The mods that are available list compatibility details, but not all of them do.
On the local system, a fork option is available to create a customised version of a mod. Users can disable any development-related features in the Windhawk interface in the settings if they dont want them there.
A warning that changes may harm the system, violate privacy, or inflict other harm is displayed when you click install. To continue with the installation or cancel it, select “accept risk and install.” Installations proceed quickly and silently. To once more remove the mod from the system, the install button transforms into an uninstall button. The system adjustments could take a while to take effect.
--------------------------------------------------------------------------------
via: https://www.opensourceforu.com/2022/08/an-open-source-mod-based-method-of-universal-windows-customization-windhawk/
作者:[Laveesh Kocher][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.opensourceforu.com/author/laveesh-kocher/
[b]: https://github.com/lkxed
[1]: https://www.opensourceforu.com/wp-content/uploads/2022/08/microsoft-1536x1024.jpg

View File

@ -1,100 +0,0 @@
[#]: subject: "It's Massive! InfinityBook Pro 14 is a Lightweight Linux Laptop With a HUGE 99Wh Battery Offering"
[#]: via: "https://news.itsfoss.com/infinitybook-pro-14-release/"
[#]: author: "Sagar Sharma https://news.itsfoss.com/author/sagar/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
It's Massive! InfinityBook Pro 14 is a Lightweight Linux Laptop With a HUGE 99Wh Battery Offering
======
TUXEDO Computers is back with an impressive flagship lineup, a massive battery variant, and a storage edition. Let's check them out.
![It's Massive! InfinityBook Pro 14 is a Lightweight Linux Laptop With a HUGE 99Wh Battery Offering][1]
TUXEDO Computers are one of the few manufacturers that provide fine-tuned Linux experiences out of the box.
You can expect Ubuntu/TUXEDO OS as your default options with any of their devices, but they also support more Linux distributions.
Now, they have come up with a refreshed product lineup, i.e., **InfinityBook Pro 14 (Gen 7).**And, it happens to be one of their flagship offerings!
### InfinityBook Pro 14: Key Highlights
![Tuxedo infinitybook pro 14][2]
InifnityBook Pro 14 sports a 3K resolution display (a.k.a. *Omnia 3K display*) with a 16:10 ratio.
To elevate your visual experience, the display supports 400 nits of brightness and complete sRGB color space coverage, so colors will be more natural.
![tuxedo computer][3]
It also has a matt coating to the panel that should eliminate the disturbing glares that may end up disturbing your productivity.
Tuxedo came up with two lightweight variants for this lineup, so you can choose what your workflow demands the most without compromising portability.
🔋 **An endurance edition with 99 Wh Battery**(*1.1 kg*)   💾  **A storage giant with 4 TB SSD (***1.3 kg***)**
![Tuxedo infinitybook pro with 99Wh of battery][4]
99 Wh battery for a laptop sounds like a dream come true for users who want to get more out of their portable machines.
TUXEDO Computers claims around 10 hours of runtime while connected with active WLAN and web surfing and while used with battery saving mode/idle usage, this can go up to 16 hours!
![Tuxedo infinitybook pro 14 with 4TB of storage][5]
If you do not need maximum endurance, you can opt for the second variant with more storage expansion opportunity.
You can use **x2 available M.2 slots**, by which you can upgrade your storage up to 4 TB (considering 2TB on each slot).
To maximize storage performance/reliability, you can connect the SSDs in a RAID cluster form.
#### Suggested Read 📖
[13 Places to Buy Linux Laptops in 2021][6]
### 💻 Other Specifications
Along with a good display, enhanced storage options, and a massive battery, you can expect a pretty solid performance with the following specifications:
* 14-core Intel 12th gen processor (i7-12700H) equipped with 8 efficiency and 6 performance cores.
* NVIDIA GeForce RTX 3050 Ti (optional) Max-Q variant with TGP of 35 watts (boost up to 45 watts).
* Up to 64 GB DDR 3200 MHz RAM (to slots for dual-channel setup).
* Thunderbolt 4 with onboard transmission speed up to 40 Gbit/s.
* White backlit keyboard.
* Intel Wi-Fi 6 and Bluetooth 5.2.
* Full-size SD card reader.
* TUXEDO Control Center (TCC) to manage power, security, and a lot more.
### 🏷️ Pricing & Availability
If you want to go with the 99Wh battery variant, with *NVIDIA GeForce RTX 3050 Ti, 1x 8 GB 3200 MHz DDR4 RAM, and a 250 GB Samsung 980 EVO Plus NVMe SSD***,**it will cost you **1629,41 EUR.**
While if you're looking for the storage edition with a 53 Wh battery, it is priced at **1587,39 EUR** and includes one *250 GB Samsung 980 EVO Plus NVMe SSD,1x 8 GB 3200 MHz DDR4 RAM, NVIDIA GeForce RTX 3050 Ti 4 GB* for the base configuration.
It will be available to order by the end of August. As of now, you can configure, and pre-order it.
[Get InfinityBook Pro 14][7]
💬 *What do you think about the InifinityBook Pro 14? Does it seem interesting for you to get one? Share your thoughts in the comments below.*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/infinitybook-pro-14-release/
作者:[Sagar Sharma][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sagar/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/tuxedo-infinitybook-14-.jpg
[2]: https://news.itsfoss.com/content/images/2022/08/InfinityBook-Pro-14.jpg
[3]: https://news.itsfoss.com/content/images/2022/08/image.png
[4]: https://news.itsfoss.com/content/images/2022/08/InfinityBook-Pro-14-with-99Wh-battery.jpg
[5]: https://news.itsfoss.com/content/images/2022/08/InfinityBook-Pro-14-storage-edition.jpg
[6]: https://itsfoss.com/get-linux-laptops/
[7]: https://www.tuxedocomputers.com/en/TUXEDO-InfinityBook-Pro-14-Gen7.tuxedo#

View File

@ -1,35 +0,0 @@
[#]: subject: "Webmin 2.0 Is Now Available For Open Source Web-Based Server Administration"
[#]: via: "https://www.opensourceforu.com/2022/08/webmin-2-0-is-now-available-for-open-source-web-based-server-administration/"
[#]: author: "Laveesh Kocher https://www.opensourceforu.com/author/laveesh-kocher/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Webmin 2.0 Is Now Available For Open Source Web-Based Server Administration
======
With its significant “v2.0” release, Webmin, a well-liked open source web-based server administration/management software package that is a popular alternative to programmes like cPanel and Plesk, is now available.
Webmins safe web browser-based interface makes it simple to manage Linux servers. This programme is still primarily Perl-based and BSD-licensed. In the twenty years that Webmin has been used to manage Linux servers, it has placed a strong emphasis on preserving backwards compatibility. Years ago, there was talk about reworking much of the code and getting rid of a lot of the legacy support, including support for out-of-date Perl versions and end-of-life operating systems. For Webmin 2.0, this ultimately wasnt the case.
Webmin 2.0 was released this week as a more incremental improvement over the Webmin 1.xxx releases. Originally, the bump to Webmin 2.0 would have been deleting the legacy support that has accrued over the years. Webmin 2.0 now enforces the HTTP Strict Transport Security (HSTS) policy for its SSL enabled mode, improves HTTP to HTTPS redirection, supports managing multiple Webmin versions on systems based on systemd, improves upgrading between minor Webmin versions, and more.
Another significant improvement in Webmin 2.0 is the addition of support for AMD CPU temperature reporting within the administration interface.
Webmin 2.0 includes fixes such as restarting dependant services when firewalld is restarted, keeping Usermin and Webmins service status when upgrading packages, and more. You can download Webmin 2.0 (v2.000) from [GitHub][1].
--------------------------------------------------------------------------------
via: https://www.opensourceforu.com/2022/08/webmin-2-0-is-now-available-for-open-source-web-based-server-administration/
作者:[Laveesh Kocher][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.opensourceforu.com/author/laveesh-kocher/
[b]: https://github.com/lkxed
[1]: https://github.com/webmin/webmin/releases/tag/2.000

View File

@ -1,36 +0,0 @@
[#]: subject: "NGINX Pledges To Update, Improve, And Expand Its Open Source Ecosystem"
[#]: via: "https://www.opensourceforu.com/2022/08/nginx-pledges-to-update-improve-and-expand-its-open-source-ecosystem/"
[#]: author: "Laveesh Kocher https://www.opensourceforu.com/author/laveesh-kocher/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
NGINX Pledges To Update, Improve, And Expand Its Open Source Ecosystem
======
The maker of the well-known web server with the same name, NGINX, unveiled a number of upgrades at its free NGINX Sprint conference for open source programmers looking to create the newest applications. It also discussed its development over the last 18 years and presented its future vision, which will be based on the three promises of modernise, optimise, and extend.
Code management, decision-making transparency, and community involvement are all aspects of modernization that go beyond just the code itself. All of its future projects will be hosted on GitHub rather than the Mercurial version control system, as part of this and a recognition that the open-source world exists there. In addition, it will carefully consider community input and add codes of conduct to all of its projects.
It intends to launch a new SaaS service that connects with NGINX Open Source in order to enhance the developer experience. It also intends to remove the paywall from several essential NGINX Open Source and NGINX Plus capabilities so that customers can access them without charge. One item that will be made accessible in this way is DNS service discovery, and the business is appealing for user input on what else should be free in its Slack channel.
The third pledge is to keep developing NGINXs functionality. Currently, NGINX is most frequently utilised as a Layer 7 data plane, necessitating the adoption of numerous workarounds by developers for different deployment components. It aims to expand NGINX so that an open-source component that integrates with NGINX can fulfil each criteria for testing and deployment.
With the announcement of three upgrades that support these objectives, the company has already begun to fulfil these commitments. First, it will concentrate on its NGINX Kubernetes Gateway rather than its Kubernetes Ingress controller. Earlier this year, NGINX Kubernetes Gateway, a controller that implements the Kubernetes Gateway API, was made available.
The introduction of NGINX Agent, a compact application that can be installed alongside NGINX Open Source instances, was also announced. Features that were previously exclusively found in commercial offers will be included.
--------------------------------------------------------------------------------
via: https://www.opensourceforu.com/2022/08/nginx-pledges-to-update-improve-and-expand-its-open-source-ecosystem/
作者:[Laveesh Kocher][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.opensourceforu.com/author/laveesh-kocher/
[b]: https://github.com/lkxed

View File

@ -1,108 +0,0 @@
[#]: subject: "Lutris 0.5.11 Adds Open Source Macintosh Emulators and Amazon Games Integration"
[#]: via: "https://news.itsfoss.com/lutris-0-5-11-release/"
[#]: author: "Sagar Sharma https://news.itsfoss.com/author/sagar/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Lutris 0.5.11 Adds Open Source Macintosh Emulators and Amazon Games Integration
======
Lutris 0.5.11 is a nice update with new Macintosh emulators and Amazon Games integration.
![Lutris 0.5.11 Adds Open Source Macintosh Emulators and Amazon Games Integration][1]
Lutris is an open-source game manager on Linux, giving you easy access to all kinds of game clients like Ubisoft Connect, Epic Games Store, and more.
It made things so much easier for many Linux users. We also interviewed its creator in the past, with an insightful conversation:
[The Progress Linux has Made in Terms of Gaming is Simply Incredible: Lutris Creator][2]
Now, with the latest update to it (a minor release), we have some exciting feature additions!
### 🆕 Lutris 0.5.11: What's New?
![Lutris 0.5.11][4]
Being a point release, you may not notice any visual changes, but you get some new features and fixes to improve your user experience.
First, I'd like to mention some key features in this release:
* Integration for Amazon Games launcher.
* Added support for open-source Macintosh emulators named SheepShaver, BasiliskII, and Mini vMac.
* Made changes to shortcuts to toggle installed (Ctrl + i) games and hidden games (Ctrl + h).
* Gnome terminal and Deepin terminal are now recognized as terminal emulators.
* Added support for Gamescope on Nvidia driver 515 and above.
Let me discuss more about the changes:
#### 🕹️ Amazon Prime Games Integration
![Lutris with Amazon prime gaming support][5]
This may not sound much, but Amazon's game launcher is a Windows-specific thing for playing games. Now, thanks to the integration support by Lutris, you can access and try playing the games available under Wine.
You can enable Amazon Prime Gaming from **Preference>Sources**.
#### 🖥️ Addition of Open-Source Macintosh emulators
![Lutris with support for open-source macintosh emulators][6]
This release has added three Macintosh open-source runners (emulators).
Curious about what they do?
Well, two of them (Basilisk II and Mini vMac) are made to run 32-bit Macintosh machines. And, the third one, SheepShaver, is made to run programs from the PowerPC Macintosh lineup.
#### ⌨️ Recognize GNOME Console and Deepin Terminal
![Running games in Linux terminal with Lutris][7]
With this point release, the support for the GNOME console and Deepin terminal was added to emulate text-based programs.
So, you no longer have to rely on what Lutris gives you by default!
#### 🛠️ Other Changes
Along with the highlights, another key change includes the s**upport for Gamescope** for Nvidia drivers 515 and above.
Gamescope can be paradise while playing low-resolution games as it helps you to upscale the resolution.
Some other fixes and refinements include:
* Commands exiting with return code 256 for some installer is fixed.
* Lutris will no longer perform runtime even if the game is launched through shortcuts.
* Random crashes are now fixed when Lutris was not able to determine screen resolution.
* When Mangohud was used alongside Gamescope, it often crashed, which is now fixed.
#### 📥 Download Lutris 0.5.11
There are many ways to download the latest Lutris version for your Linux system. I would recommend using the Flatpak package from [Flathub][10].
You can also install it from your software center, or visit the official website to explore more options.
[Download Lutris][11]
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/lutris-0-5-11-release/
作者:[Sagar Sharma][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sagar/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/lutris-0-5-11-update.jpg
[2]: https://news.itsfoss.com/lutris-creator-interview/
[4]: https://news.itsfoss.com/content/images/2022/08/Lutris.png
[5]: https://news.itsfoss.com/content/images/2022/08/Amazon-Prime-games-integration.png
[6]: https://news.itsfoss.com/content/images/2022/08/Macintosh-emulators-1.png
[7]: https://news.itsfoss.com/content/images/2022/08/Deepin-terminal.png
[8]: https://itsfoss.com/epic-games-linux/
[10]: https://flathub.org/apps/details/net.lutris.Lutris
[11]: https://lutris.net/

View File

@ -1,36 +0,0 @@
[#]: subject: "Wii U Emulator Cemu Going Open Source Is Significant For Emulation, Heres Why"
[#]: via: "https://www.opensourceforu.com/2022/08/wii-u-emulator-cemu-going-open-source-is-significant-for-emulation-heres-why/"
[#]: author: "Laveesh Kocher https://www.opensourceforu.com/author/laveesh-kocher/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Wii U Emulator Cemu Going Open Source Is Significant For Emulation, Heres Why
======
The Wii U emulator Cemus developer announced a significant 2.0 version release on Tuesday, delivering Linux binaries for the first time and opening up eight years of labour. Cemu, a Wii U emulator, made history in 2017 by earning thousands of dollars each month through Patreon to support its development. Cemus well-known Patreon, which briefly reached a peak income of $25,000, raised concerns about the morality of emulation, particularly when money is exchanged and when a project is “closed source” as opposed to “open source,” which means that the source code isnt made available to the general public.
One of the main ways the emulation community defends itself from legal action is by making its source code available to the public, allowing litigious companies like Nintendo to examine it and verify that none of their proprietary code is used in the reverse-engineering process.
Linux support, according to Exzap, is “still pretty rough around the edges,” but he believes that will change rapidly as more emulator developers become familiar with Cemu and start to contribute to the project. Cemu was previously only compatible with Windows, but now that Linux is supported, it is possible to install it quickly on the Steam Deck. Before Cemu introduces flatpak support for one-click installation, it wont be simple to start using the Deck, however that topic is already being explored on Github.
The author of Cemu used the 2.0 announcement to briefly discuss the emulators history; they were the only developers for the most of the emulators existence, and they claimed that the last two years have been particularly taxing on the project.
Exzap will continue to contribute, but anticipates that having other developers will aid in the creation of several important features, such as the ability to pause and resume emulation and enhance performance on older hardware.
“I have been working on Cemu for almost 8 years now, watching the project grow from an experiment that seemed infeasible, to something that, at its peak, was used by more than a million people,” exzap wrote on Tuesday. “Even today, when the Wii U has been mostly forgotten, we still get a quarter million downloads each month. There are still so many people enjoying Wii U games with Cemu and I will be eternally grateful that I got the chance to impact so many peoples life in a positive way, even if just a tiny bit.”
--------------------------------------------------------------------------------
via: https://www.opensourceforu.com/2022/08/wii-u-emulator-cemu-going-open-source-is-significant-for-emulation-heres-why/
作者:[Laveesh Kocher][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.opensourceforu.com/author/laveesh-kocher/
[b]: https://github.com/lkxed

View File

@ -0,0 +1,74 @@
[#]: subject: "Live Debugger Tool for Apps, Sidekick, is Now Open Source"
[#]: via: "https://news.itsfoss.com/sidekick-open-source/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Live Debugger Tool for Apps, Sidekick, is Now Open Source
======
Sidekick is a live application debugger with useful features. It is now open-source and can be self-hosted.
![Live Debugger Tool for Apps, Sidekick, is Now Open Source][1]
Sidekick is a live application debugger, meaning it lets developers know about bugs and issues in their applications in real-time.
It was primarily a paid tool for the job, with a 14-day trial plan to test it out.
📢 *And now*: **it is open-source**!
So, if you were hesitating to pay for the tool as a subscription, you can now **self-host it and use it for free** as per your requirements.
### 💡 What is Sidekick?
![Meet Sidekick , Your Brand New Live Application Debugger 🔥][2]
[Sidekick][3] is a real-time application debugger.
You no longer need to recreate production environments on your local machine, Sidekick lets you debug as they're running. It tries to give you the same kind of perks that you get when you debug in your local environment.
It offers a range of features that lets you send the collected data to third-party apps like Slack, and use Sidekick plugin with some of your favorite IDEs including Visual Studio Code or IntelliJ IDEA.
You can filter out relevant data to quickly debug issues by using its data collection feature.
With the insights provided to you, Sidekick helps you optimize cost, eliminate issues, and collaborate efficiently to keep your application running without hiccups.
### 🚀 How to Get Started?
For starters, you can head to its [official website][6] and try it out in the [sandbox environment][7].
If you want a managed platform to use Sidekick, you can opt in for the subscription plans that start at **$29** per month.To opt for **self-hosting**, you can use their official Docker image available or choose to build it yourself.
You can find the source code and the instructions for it in its [GitHub page][8].
In either case, you should refer to its [official documentation][9].
[Sidekick GitHub][10]
💬 *What do you think about Sidekick as a free and open-source live application debugger? Have you tried it before? Kindly let us know your thoughts in the comments below.*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/sidekick-open-source/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/sidekick-live-debugger-open-source.png
[2]: https://youtu.be/qy4Nu6CIeuM
[3]: https://www.runsidekick.com/
[4]: https://itsfoss.com/install-visual-studio-code-ubuntu/
[5]: https://itsfoss.com/install-visual-studio-code-ubuntu/
[6]: https://www.runsidekick.com/
[7]: https://app.runsidekick.com/sandbox
[8]: https://github.com/runsidekick/sidekick
[9]: https://docs.runsidekick.com/
[10]: https://github.com/runsidekick/sidekick

View File

@ -0,0 +1,112 @@
[#]: subject: "OBS Studio 28.0 is a Massive Upgrade With Qt6, HDR Support; Also Works on Apple Silicon"
[#]: via: "https://news.itsfoss.com/obs-studio-28-release/"
[#]: author: "Jacob Crume https://news.itsfoss.com/author/jacob/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
OBS Studio 28.0 is a Massive Upgrade With Qt6, HDR Support; Also Works on Apple Silicon
======
OBS Studio 28.0 gets a visual refresh, and gears up for modern use-cases with new tech support.
![OBS Studio 28.0 is a Massive Upgrade With Qt6, HDR Support; Also Works on Apple Silicon][1]
One of the most popular pieces of open-source software, OBS Studio, gets a major upgrade.
It is one of the best screen recorders on Linux, and for that matter, pretty much every other desktop platforms too (Windows/macOS). This release brings a boatload of new features, which build upon the numerous previous features as well.
Lets take a look at whats new!
### 🆕 OBS Studio 28.0: Impactful Release
The last release that we covered, OBS 27.2, brought official Flatpak support as well as a plethora of UI improvements.
[OBS Studio 27.2 Adds Official Flatpak Support and Makes Things Easier for Linux Users][2]
With version 28.0, we are getting some of the key highlights that include:
* UI framework upgrade (Qt6).
* HDR and 10-bit color support.
* Native Apple Silicon support.
* New default theme (Yami).
* Encoding improvements.
Before you get to try it out, let me briefly discuss some enhancements.
#### Improved Color And High Dynamic Range Support
![obs studio][4]
As OBS Studio becomes ever more popular, it was time to support more modern use cases. One such case is the use of HDR to allow for significantly greater realism without “clipping” the screen. This means that whites can be whiter, and blacks can be blacker, without losing the accuracy of colors in between.
Speaking of colors, OBS Studio 28.0 also introduces 10-bit color support. In essence, this means that streams captured using OBS can support as many as 1 billion colors, compared to the measly 16 million offered by 8-bit color. The result is an almost complete removal of blocks of color in dark settings, as well as smoother gradients without having to resort to dithering.
#### Native Apple Silicon Support
Although not of particular relevance to Linux users, this release is the first with native Apple Silicon support. Weve already seen native ARM support for other platforms, (notably Linux and the Raspberry Pi), and it is great to see this support extend to Apples ARM platform.
However, it should be noted that not all plugins will work out of the box on these builds, as many depend on some x86-only components. Therefore, using the x86 version may still be better, at least until all the plugins you use get updated.
#### UI Framework Upgraded To Qt6 & New Theme (Yami)
![obs studio][5]
Qt, the software used to make the graphical components of OBS, has had a major upgrade within this version. Previously, OBS Studio used Qt5, the same software KDE Plasma is built using.
OBS Studio 28.0 finally brings Qt6 support, which has a huge number of benefits for all platforms. Firstly, it means that OBS Studio can use Vulkan or Metal instead of the outdated OpenGL API. For users on high DPI monitors, OBS Studio should also now scale correctly.
Unfortunately, this change also means that some older platforms can no longer be supported. So, if you are using Ubuntu 18.04 or older, Windows 7 or 8, or a 32-bit OS, it may not work.
One can expect a visual makeover with the UI framework update. And, the new default theme gives you that. It looks pretty clean compared to its older version.
### 🛠️ Other Changes
Alongside those previously mentioned, OBS Studio brings a couple of other, smaller changes. These include:
* Updated AMD Encoder on Windows.
* Support for ScreenCaptureKit on macOS 12.5+, resulting in significantly improved capture performance.
* Significant improvements to Apple VT encoder on macOS.
* Application-specific audio capture on Windows.
* Integrated NVIDIA Background Removal on Windows.
For more details, you can refer to the [official release notes][6].
### 📥 Download OBS Studio 28.0
The best way to get the latest version is to install the Flatpak package via [Flathub][9]. You can also get it using the Steam client on any platform.
For other platforms and options, you can head to its [GitHub releases section][10] to download packages.
[Download OBS Studio 28.0][11]
### Wrapping Up
Overall, this release has brought a huge number of exciting new changes, and Im curious to see how they affect peoples workflows.
Unfortunately, if you are on KDE, the main UI may look somewhat broken, due to an incompatibility with KDEs breeze theme. However, for everyone else, I wouldnt expect any major bugs.
*Please share your thoughts on this release in the comments down below!*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/obs-studio-28-release/
作者:[Jacob Crume][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/jacob/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/obs-28-0.jpg
[2]: https://news.itsfoss.com/obs-studio-27-2-release/
[4]: https://news.itsfoss.com/content/images/2022/08/obs-studio-28.png
[5]: https://news.itsfoss.com/content/images/2022/08/OBS-Screenshot-02.png
[6]: https://github.com/obsproject/obs-studio/releases/tag/28.0.0
[9]: https://flathub.org/apps/details/com.obsproject.Studio
[10]: https://github.com/obsproject/obs-studio/releases
[11]: https://obsproject.com/

View File

@ -0,0 +1,89 @@
[#]: subject: "Unity Desktop Makes a Comeback With the Upcoming Ubuntu 22.10"
[#]: via: "https://news.itsfoss.com/unity-remix-official-flavor/"
[#]: author: "Abhishek https://news.itsfoss.com/author/root/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Unity Desktop Makes a Comeback With the Upcoming Ubuntu 22.10
======
Ubuntu Unity Remix gets the official flavor tag.
![Unity Desktop Makes a Comeback With the Upcoming Ubuntu 22.10][1]
I loved the Unity desktop but not enough to keep on using it when Ubuntu ditched it in 2017 for GNOME.
I have started liking the customized GNOME Ubuntu offers. And the old flame enters again.
📣 Ubuntu Unity is going to be an official Ubuntu flavor with the release of version 22.10 Kinetic Kudu.
> Good news for all Ubuntu Unity lovers! We're an Ubuntu daily flavor now and our ISOs will now be built daily with all other flavors and uploaded to [https://t.co/pELGw8Cct0][2]. Ubuntu Unity 22.10 Beta will be our first release as an official recognized flavor (Sep 29). YAY! 🎉 (1/2) [pic.twitter.com/9ykBYmIA1V][3]
### A quick recap to Ubuntu Unity Remix
The young developer [Rudra Saraswat][5] started (another) new distribution called Ubuntu Unity Remix back in 2020. It was built on top of Ubuntu 20.04 LTS with the same Unity 7 that was abandoned by Ubuntu.
I ignored it. It was just the old Unity with Ubuntu 20.04 as base. A code untouched for three years? I saw no reasons to use it.
And it went on like that for almost two years. No changes were made to the Unity code base.
But then in June 2022, for the first time in six years, a new version of Unity was released.
[Announcing the stable release of Unity 7.6][6]
In my opinion, it was the first time the project showed real progress. It was no longer just a combination of the same old Unity code with a new Ubuntu base. There was actual code development.
The Ubuntu Unity Remix team seems determined to not just keep Unity alive but keep it healthy by fixing bugs and adding new features.
And that determination is what helped them gain the [official Ubuntu flavor][8]. Congratulations to them!
![Ubuntu Unity desktop][9]
### Official Ubuntu flavor? What kind of honor badge is that?
The diverse Linux world has several desktop environments (DEs).
While the Ubuntu developers focus on the GNOME desktop, community members offer Ubuntu with DEs like KDE (Kubuntu), Xfce (Xubuntu) etc. There are also special purpose variants like Ubuntu Studio (for audio and video editors) and Ubuntu Kylin (for Chinese users).
These official flavors follow the same release cycle as the main Ubuntu release and get the same packages and updates as the default Ubuntu GNOME.
Not all Ubuntu remixes are [official flavors][10] though. Ubuntu Cinnamon Remix and Ubuntu DDE Remix exist but don't have the 'official tag' yet.
### What next for Ubuntu Unity Remix?
First, it is now called Ubuntu Unity, not Ubuntu Unity Remix. Since it is an official flavor now, it can drop the 'remix' from its name. The 'remix' indicates that the project is not officially supported by Ubuntu/Canonical.
As an official flavor, the daily builds of Ubuntu Unity Remix version 22.10 will be served from the [Ubuntu archives][11] (not added at the moment).
It will follow the same release schedule as Ubuntu 22.10 and will be released in October along with the other Ubuntu flavors.
You can follow the project's progress on [its website][12] or join its social media channels.
💬 What do you think of Ubuntu Unity getting the official flavor status? Are you looking forward to going back to Unity? The comment section is all yours.
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/unity-remix-official-flavor/
作者:[Abhishek][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/root/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/09/Ubuntu-unity-official-flavor-status.png
[2]: https://t.co/pELGw8Cct0
[3]: https://t.co/9ykBYmIA1V
[4]: https://twitter.com/ubuntu_unity/status/1565309779031236608?ref_src=twsrc%5Etfw
[5]: https://about.ruds.io/
[6]: https://unity.ubuntuunity.org/blog/unity-7.6/
[8]: https://itsfoss.com/which-ubuntu-install/
[9]: https://news.itsfoss.com/content/images/2022/09/unity_desktop.png
[10]: https://ubuntu.com/desktop/flavours
[11]: https://cdimage.ubuntu.com/
[12]: https://ubuntuunity.org/

View File

@ -0,0 +1,91 @@
[#]: subject: "StackAid Helps Developers Fund Hundreds of Open-Source Project Dependencies in No Time"
[#]: via: "https://news.itsfoss.com/stackaid-beta/"
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
StackAid Helps Developers Fund Hundreds of Open-Source Project Dependencies in No Time
======
StackAid is an interesting initiative to help developers/contributors fund open-source project dependencies.
![StackAid Helps Developers Fund Hundreds of Open-Source Project Dependencies in No Time][1]
Free and open-source projects empower you with essential tools and services without spending a dime.
While that sounds exciting, these projects need funding to keep things running and potentially improve your experience with it.
Fortunately, we have several platforms to support and fund open-source projects:
[Easily Fund Open Source Projects With These Platforms - Its FOSS][2]
But, how can the maintainers/contributors fund the **dependencies associated with their projects?**
There are potentially hundreds of dependencies in a single project. So, to start funding, some daunting tasks include:
* Responsibility of supporting open-source projects.
* Selecting a project to fund.
* Deciding on the donation subscription tier for funding for each project.
* Keep track of dependencies to fund.
Interestingly, there is a service that **solves the problem, i.e. StackAid.**
### StackAid: What Does it Do?
> ⚠️ StackAid is not an open-source service, and it's in beta phase, targeted for developers and project contributors who want to fund the dependencies linked to their projects.
StackAid aims to help you quickly fund the dependencies of your project in one go.
It finds your project's dependencies (**direct and indirect**) through its GitHub app (**invite-only access**) and allocate funds as per your subscription to distribute it among them.
![][4]
The subscription to StackAid starts at **$15**.
You require your project's **package.json**file or generate a **stackaid.json** file (using [GitHub action][5]) to automate listing the dependencies. Of course, you can edit the list manually and add more as well.
You also get the ability to select the dependencies you want to support.
![][6]
It then automates the funding allocation by evenly distributing your subscription fee among various dependencies.
Note that StackAid receives the same amount as a direct dependency out of the subscription fee to make money. However, the maximum it takes is **7.5%** of the total subscription fee.
### How Do Open-Source Projects Get the Money?
StackAid explains that the open-source projects can claim their repositories by installing the StackAid GitHub app.
We reached out to them to clarify how the repository owners will get notified/know about StackAid in the first place. And, this was the response:
StackAid mentions that if a project does not claim the amount allocated to them by subscribers, the amount gets re-allocated to other dependencies that are claimed. This is a good thing.
You can explore more on their website.
[StackAid][7]
The concept sounds nice. And, it will be interesting if this can be a platform for users in the near future (not just developers or maintainers).
*💬 What do you think about StackAid? Kindly let us know your thoughts in the comments.*
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/stackaid-beta/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/09/stackaid.jpg
[2]: https://itsfoss.com/open-source-funding-platforms/
[4]: https://news.itsfoss.com/content/images/2022/09/stackaid_dashboard-1.png
[5]: https://github.com/marketplace/actions/stackaid-dependency-generator
[6]: https://news.itsfoss.com/content/images/2022/09/stackaid_dashboard_manage.png
[7]: https://www.stackaid.us/

View File

@ -1,247 +1,231 @@
[#]: subject: "What is the Difference Between macOS and Linux?"
[#]: via: "https://itsfoss.com/mac-linux-difference/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "Donkey-Hao"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
What is the Difference Between macOS and Linux?
macOS 和 Linux 有什么区别?
======
We often[compare Linux with Windows][1], but what about comparing it with macOS?
我们经常对比 [Linux 和 Windows][1],那 macOS 和 Linux 有什么区别呢?
While the differences between Linux and Windows are quite obvious, Linux and macOS may seem similar to many.
Linux 和 Windows 的差异很明显,但 Linux 和 macOS 却很相似。
Both can run Unix commands in the terminal, and the user experience is vastly different from Windows. And not all Windows applications and games are available for macOS and Linux.
二者都可以在命令行中运行 Unix 命令,并且与用户在 Windows 中的体验大相径庭。同时,并不是所有 Windows 上的应用和游戏可以在 macOS 和Linux 上运行。
This is why some people even think Apples macOS is based on Linux. But that is not the case. macOS is not Linux despite the similarities.
这就是为什么一些人认为苹果公司的 macOS 是基于 Linux 的系统。尽管有相似之处,但 macOS 并不是 Linux。
There are plenty of differences between the two UNIX-like operating systems and I shall highlight both the similarities and the differences in this article.
这两个类 Unix 的操作系统有很多不同之处,我将在这篇文章中指出二者的异同之处。
So, lets compare Apple and Orange Penguin.
就让我们来比较一下苹果和橙色企鹅吧。
### macOS vs. Linux: Origins
### macOS vs. Linux:起源
macOS has a fascinating history. The foundation of it was built by Steve Jobss NeXT computer company when he wasnt at Apple. Technically, it was based on the [Mach Kernel][2] and the UNIX-derived BSD.
macOS 有一段迷人的历史。它是由史蒂夫·乔布斯的计算机公司 NeXT 所开发的,那时候乔布斯不在苹果公司工作。从技术上讲,它是基于 [Mach 内核][2] 和 Unix 派生的 BSD。
Back then, a [NeXTSTEP][3] operating system was created to power the devices/computers built by **NeXT**. While it got some attention, it wasnt a big success. Apple later acquired NeXT and brought back Steve onboard as part of the deal, making NeXTSTEP OS the base for macOS.
那时候,**NeXT** 开发了 [NeXTSTEP][3] 操作系统来驱动它设计的设备和电脑。尽管有一些人注意到了该操作系统,但是它未获得成功。之后,苹果公司以恢复史蒂夫在董事会的席位作为交易的一部分,收购了 NeXT 公司,使得 NeXTSTEP OS 成为 macOS 的基础。
This is why macOS has a combination of Unix components along with Apples proprietary technologies.
这就是为什么 macOS 是 Unix 组件和苹果公司独家技术相结合的操作系统。
**On the contrary**, Linux (the kernel) was built as a free and open-source replacement for Unix.
**相反**Linux (内核)是自由并开源的 Unix 的替代品。
Linux is not an operating system but needs different components like [desktop environments][4] to form an operating system. There are [hundreds of Linux-based operating systems][5] called distributions.
Linux 不是一个操作系统,它需要一些组件比如 [桌面环境][4] 才能成为一个操作系统。有许多 [基于 Linux 的操作系统][5],称之为发行版 (distributions) 。
For simplicity, we tend to address it as **Linux** OS instead of a specific Linux distribution.
简单起见,我们将这些操作系统成为 **Linux** 操作系统而不是特定的发行版。
### macOS kernel vs Linux kernel
### macOS 内核 vs. Linux 内核
The macOS kernel is officially known as XNU. The [acronym][6] stands for “XNU is Not Unix.” According to [Apples Github page][7], XNU is “a hybrid kernel combining the Mach kernel developed at Carnegie Mellon University with components from FreeBSD and C++ API for writing drivers”. The BSD subsystem part of the code is [“typically implemented as user-space servers in microkernel systems”][8]. The Mach part is responsible for low-level work, such as multitasking, protected memory, virtual memory management, kernel debugging support, and console I/O.
macOS 内核的官方名称为 XNU。 [首字母缩略词][6] 代表 “XNU 不是 Unix”。根据 [苹果公司的 Github 页面][7]XNU 是“将卡内基梅隆大学开发的 Mach 内核,与来自 FreeBSD 的组件,和用于编写驱动程序的 C++ API 相结合的一个混合内核”。代码的 BSD 子系统部分是 [“在微内核系统中实现用户空间服务”][8]。Mach 部分负责底层工作,例如多任务处理、受保护内存、虚拟内存管理、内核调试支持和控制台 I/O。
While the macOS kernel combines the feature of a microkernel ([Mach][9])) and a monolithic kernel ([BSD][10]), Linux is solely a monolithic kernel. A [monolithic kernel][11] is responsible for managing the CPU, memory, inter-process communication, device drivers, file system, and system server calls.
虽然 macOS 内核结合了微内核 ([Mach][9]) 和单片内核 ([BSD][10]) 的特性,但 Linux 只是一个单片内核。 [单片内核][11] 负责管理 CPU、内存、进程间通信、设备驱动程序、文件系统和系统服务器调用。
### Heres What They Have in Common
### 二者共同之处
macOS utilizes Unix components, and Linux was built as an alternative to Unix. So, what do we have in common here?
macOS 利用 Unix 组件,而 Linux 是作为 Unix 的替代品而构建的。那么,二者有什么共同点?
Both give access to **Unix commands, bash/zsh, and other shells**.
二者都可以使用 **Unix 命令、bash/zsh、以及其他 shell**。或许 [默认 shell][12] 会有所不同,但是你可以根据你的喜好进行设置。除此之外,我想不到二者还有什么相似之处。
The [default shell][12] can be different, but you can always change it as per your preferences.
大概在十年前,我们可以说 Linux/macOS 都提供了更少的应用程序。但时过境迁。多年来,二者的软件生态和游戏支持都在不断发展,我们将在本文后面讨论。
Thats about it. I cant think of anything else similar between the two.
Probably a decade back, we could say that both Linux/macOS offered fewer applications.
But thats not the case anymore.
The software ecosystem and game support for both have evolved over the years, which we will discuss later in this article.
### Codebase: Proprietary vs. Open-Source
### 代码库:闭源与开源
![open source proprietary illustration][13]
macOS is a proprietary operating system, meaning you cannot view the complete operating systems source code.
macOS 是一个闭源的操作系统,意味着你无法看到完整的操作系统源码。
Sure, you have [part of the macOS (mostly GNU) libraries source code available][14]. There is also the [XNU kernel code][15] used in the development of macOS and iOS operating systems. But [you cannot just take this code and build a macOS clone][16] to be installed on any hardware.
当然,可以获得 [部分 macOS (大多为 GNU库的源码][14]。有用来开发 macOS 和 iOS 操作系统的 [XNU 内核代码][15]。但是 [你不能只用该代码构建 macOS 的克隆版][16],并安装在任何硬件上。
Its not the end of the world without the source code, but you get **less transparency** on Apples claims and practices to secure and enhance your computer experience.
没有源码的世界不会崩塌,但你会因为苹果公司保护和增强你使用电脑体验的声明和实践,而获得 **更少的透明度**
Some might argue that proprietary code remains hidden for security reasons. However, both proprietary and open-source software remain vulnerable to threats.
一些人认为出于安全的原因而保持闭源。然而,不论开源还是闭源都面临安全威胁。
**The difference between them** is: that open-source software often gets fixed sooner because of community participation by several developers, compared to limited employees working on macOS.
**二者的不同** 是:相对于员工数量有限的苹果公司来说,由于有很多开发者在开源社区中,所以会很快修复开源软件。
Unless you trust Apple without questions, Linuxs open-source model gets an edge.
除非你毫无保留的相信苹果,不然 Linux 的开源模式更胜一筹。
### Purpose and Usage: macOS vs. Linux
### 目的和用途: macOS vs. Linux
macOS is tailored for desktop and laptop usage. It is well-suited for **video editing, graphics designing, and audio editing**.
macOS 专为台式机和笔记本电脑使用而设计。它非常适合于 **视频编辑、图形设计和音频编辑**
When it comes to Linux, you get a host of possibilities. You can use Linux for:
当谈到 Linux ,你可以做很多事情。你可以将 Linux 用于:
* Desktop
* Toaster (yes! I hope you know about [IoT][17])
* Single Board Computers
* Server
* 客户端
* Toaster (希望你了解 [物联网 IoT][17]
* 单片机
* 服务器
Of course, it is not the same experience when using it on various platforms, but Linux can run for various use-cases.
当然,在各种平台上使用它的体验并不相同,但 Linux 可以针对各种用例运行。
So, if you like Linux, you can choose to continue using it on other platforms for a comfortable experience.
所以,如果你喜欢 Linux你可以选择在其他平台上继续使用它以获得舒适的体验。
### macOS vs Linux: User Experience
### macOS vs Linux: 用户体验
When it comes to user experience, it comes down to personal preferences.
当谈到用户体验,这取决于个人喜好。
macOS offers a **pleasing user interface**. It is visually appealing with subtle animations and high-resolution wallpapers/icons.
macOS 提供了 **令人愉悦的用户界面**。微妙的动画和高分辨率的壁纸、图标,这在视觉上很有吸引力。
![macOS Monterey][18]
You can expect an easy and seamless experience across the platform.
你可以期待 macOS Monterey 版的跨平台的无缝体验。
With Linux, you can get an equally pleasing user interface that is easy to use.
使用 Linux你可以获得同样令人愉悦且易于使用的用户界面。
![Zorin OS 16 Pro][19]
**Unfortunately**, the user experience slightly varies because of the distribution you decide to install and the desktop environment it comes along with.
**不幸的是**,用户体验随着不同发行版所安装的桌面环境而不同。
You can explore some of the [best desktop environments][20] listed. You can even opt for [macOS-like Linux distributions][21].
你可以查看 [最好的桌面环境][20] 列表。你甚至还可以选择 [类似 macOS 的 Linux 发行版][21]。
For instance, if you are using **Pop!_OS, Ubuntu, Zorin OS, or elementary OS**, you could have an excellent user experience.
例如,如果你使用 **Pop!_OS, Ubuntu, Zorin OS, 或者 elementary OS** ,你将获得超棒的体验。
![Pop!_OS 22.04 LTS][22]
If you end up using something like MX Linux, or different, the user experience may not be comparable to macOS.
如果你使用类似于 MX Linux 或者其他的发行版,用户体验无法与 macOS 相提并论。
![MX Linux][23]
Overall, the out-of-the-box experience with Linux is inconsistent, but it is capable enough if you know what you are doing.
总的来说Linux 的开箱即用体验是不一致的,但如果你知道自己在做什么,它就足够了。
And if you are coming from Windows, the interface could be confusing initially.
如果你之前使用 Windows刚开始会对 Linux 的界面感到困惑。
### Customizability
### 可定制性
![customizability][24]
If you want an operating system that lets you tinker with every aspect of it, macOS is not for you.
如果你想要一个可以让你对它的各个方面进行修补的操作系统,那 macOS 不适合你。
While Apples designs could be aesthetically pleasing by default, not everyone likes them.
尽管大多情况下苹果的设计在美学上会令人愉悦,但并不是每个人都喜欢它们。
If you want to personalize, take control, and heavily customize the operating systems nuts and bolts, Linux should be the perfect pick.
如果你想个性化、控制和大量定制操作系统的具体细节Linux 应该是完美的选择。
You can choose to customize the user interface as much as you want, with a wide range of different elements, and go wild with your preferences. To get started, look at our [KDE customization][25] guide to explore the possibilities.
你可以根据需要选择自定义用户界面,使用广泛的不同元素,并根据你的喜好尽情发挥。请查看我们的 [KDE 定制][25] 指南以探索可能性。
While that is good, it could backfire when customizing things on a Linux system. So, you need to learn/explore what you want to customize.
虽然这很好,但在 Linux 系统上自定义内容时可能会适得其反。因此,你需要学习、探索你想要自定义的内容。
### Hardware Requirements to run macOS vs Linux
### 运行硬件要求:macOS vs Linux
![hardware illustration][26]
This is where macOS suffers a solid defeat.
硬件使 macOS 受到“重创”。
If you want access to macOS and have a good experience with it, you need to purchase Apple hardware, which is costly.
如果你想获得 macOS 并有良好的体验,那需要购买昂贵的苹果硬件
For example, the base configurations for macOS-powered laptops start with **8 GB of RAM** and **256 GB of storage**, available for **$1200** or more.
例如,支持 macOS 的笔记本电脑的基本配置从 **8 GB RAM****256 GB 存储空间**开始,价格为 **$1200** 或更多。
Unless you want to constantly use the swap space for multitasking and already have a cloud storage space, it would be a terrible idea to get one for yourself.
除非你想经常使用交换空间进行多任务处理,并且已经拥有云存储空间,否则买苹果设备将是一个糟糕的主意。
In contrast, if you would rather not spend a lot but still want a decent configuration for your system (PC/laptop), it is easy to get a device with 16 GB RAM + 512 GB SSD to run Linux for around 800 USD.
相比之下如果你不想花很多钱但仍希望为你的系统PC/笔记本电脑)配置一个不错的配置,那么以 800 美元左右的价格购买一台配备 16 GB RAM + 512 GB SSD 的设备来运行 Linux 是很容易的。
**A personal note**: Im used to 32 Gigs of RAM + 500 GB of SSD storage. To get that kind of multitasking headroom (without using the swap), I will have to pay a premium to Apple.
**个人说明**:我习惯了 32 G 的 RAM + 500 GB 的 SSD 存储。为了获得这种多任务处理空间(不使用交换),我将不得不向苹果公司支付溢价。
Some skilled tinkerers try running macOS on non-Apple hardware. Such a system is called [Hackintosh][27] but it is certainly nowhere close to the comfort of running Linux on a regular computer.
一些熟练的“修补匠”尝试在非苹果公司的硬件上运行 macOS。这样的系统被称为 [Hackintosh][27],但它肯定远不及在一般计算机上运行 Linux 的舒适度。
### Software Ecosystem
### 软件生态
macOS offers a **top-notch native experience** with macOS-exclusive applications or tools made by Apple.
通过苹果公司为 macOS 制作的专有应用程序或工具,可以在 macOS 上获得 **一流的原生体验**
Yes, you may have to purchase those applications. However, unlike some subscription options, you get one-time purchase alternatives with macOS for professional applications.
是的,你可能必须购买这些应用程序。但是,与某些订阅选项不同的是,你可以通过 macOS 一次性购买专业应用程序。
![Final Cut Pro on macOS][28]
For users who want to design, edit videos, edit photos, and have a creative workflow, macOSs software suite should be a great choice if you do not mind investing in it.
对于想要设计、编辑视频、编辑照片并拥有创意的用户如果你不介意投资它macOS 的软件套件应该是一个不错的选择。
The free Apple tools like iMovie, Keynote, etc. are good themselves. Couple them with premium tools like Final Cut Pro, Affinity Designer, and more and you get world-class editing experience. Not to forget that creative tools like Adobe are also available on macOS.
免费的苹果工具(如 iMovie、Keynote 等)本身就很好。将它们与 Final Cut Pro、Affinity Designer 等高级工具结合使用,你将获得世界级的编辑体验。别忘了,在 macOS 上也可以使用 Adobe 等创意工具。
Additionally, Apple has strict guidelines for applications available for its platform that enhance the native experience with third-party apps (free or paid).
此外,苹果公司对其平台可用的应用程序有严格的指导方针,以增强第三方应用程序(免费或付费)的原生体验。
This is why many designers and editors prefer using macOS over any other operating systems.
这就是为什么许多设计师和编辑更喜欢使用 macOS 而不是任何其他操作系统的原因。
For the Linux platform, you have **great FOSS alternatives** to some macOS-only apps. Unless you like or have experience with macOS-specific applications, you should not have trouble with software available for Linux.
对于 Linux 平台,你可以使用 **很棒的 FOSS 替代品** 来替代一些仅限 macOS 的应用程序。除非你喜欢或有使用 macOS 特定应用程序的经验,否则你应该不会在使用适用于 Linux 的软件方面遇到问题。
![kdenlive editor][29]
The native app experience depends on the Linux distribution you use.
原生应用的体验基于你使用的 Linux 发行版。
![Planner (To-do list app for Linux)][30]
It may not be as seamless as macOS, but if you are not a professional-grade video/graphics editor, you should not have any issues.
它可能不像 macOS 那样完美,但如果你不是专业级的视频、图形编辑,你应该没有任何问题。
### Gaming on Linux and macOS
### 在 Linux 和 macOS 上游戏
![gaming illustration][31]
While Apples making good progress on making its new M1/M2 chips as capable as possible, macOS currently has poor support for games.
苹果公司在使其新的 M1/M2 芯片尽可能强大方面取得了不错的进展,但 macOS 目前对游戏的支持很差。
A handful of games work, and most arent supported officially. To be honest, investing in a Mac for gaming is not what it is for.
少数游戏可以正常工作,并且大多数都不受官方支持。说实话,为游戏而投资 Mac 并不是它的目的。
Regarding Linux, numerous AAA games and Indie titles work fine. Sure, there are some hiccups with certain games. But, with Valves push towards official game support for Steam Deck, even the latest releases like “**Spider-Man: Remastered**” are Steam Deck verified.
关于 Linux许多 AAA 游戏和独立游戏运行良好。当然,某些游戏存在一些问题。但是,随着 Valve 推动 Steam Deck 对正版游戏支持,即使是像 **《蜘蛛侠:重制》** 这样的最新版本,都得到了 Steam Deck 的验证。
Ultimately, helping improve the game support for the Linux platform.
最终,会帮助 Linux 平台对游戏的支持。
Additionally, considering that the PC graphics card market is almost back to normal (near or below MSRP), you can get a sweet PC build or laptop without worrying about performance bottlenecks.
此外,考虑到 PC 显卡市场几乎恢复正常(接近或低于建议零售价),你可以获得不错的 PC 版本或笔记本电脑,而不必担心性能瓶颈。
Would you spend upwards of **$1800 for a Mac with 16 GB of RAM and 512 GB of SSD** or get a PC/laptop with 32 GB RAM (or more), and at least 1 TB SSD (or more)?
你会花 **1800 美元以上购买配备 16 GB RAM 和 512 GB SSD 的 Mac**,还是购买配备 32 GB RAM或更多和至少 1 TB SSD或更多的 PC/笔记本电脑?
Thats your call.
那由你来决定。
### Package Manager
### 软件包管理
![package manager illustration new][32]
A package manager helps you quickly find, install, and remove software in your operating system.
软件包管理器能够让你很快地找到、安装或卸载你的操作系统中的软件。
Linux has been the superior force in package management compared to anything out there.
与现有的任何系统相比Linux 一直在包管理方面占据优势。
You get options like [Flatpak][33], [Snap][34], [Synaptic][35], and more out of the box.
你可以获得 [Flatpak][33]、[Snap][34]、[Synaptic][35] 等开箱即用的选项。
But, Mac users do not have anything to rely on by default. Fortunately, an option like [Homebrew][36] makes life easier for macOS users.
但是在默认情况下Mac 用户没有任何可依赖的东西。幸运的是,像 [Homebrew][36] 这样的选项极大的方便了 macOS 用户。
It also supports Linux. So, you can use it across multiple devices to make things easy.
它还支持Linux。因此你可以在多个设备上使用它来简化操作。
### Operating System Updates
### 系统升级
![software update illustration][37]
Apple does not share specific timelines for software updates to the operating system.
苹果公司不会发布其操作系统具体更新的时间。
For instance, **macOS Ventura** (the upcoming version upgrade at the time of writing) suddenly ditched all the Mac devices before 2017.
例如,**macOS Ventura** (在撰写本文时即将进行版本升级)突然放弃了 2017 年之前的所有 Mac 设备。
Interestingly, the previous operating system versions had average support for about **seven years**, but with newer changes, it seems to be about **five** now.
有趣的是,以前的操作系统版本平均支持大约 **七年**,但随着更新的变化,现在似乎大约是 **五年**
With Apple silicons, it may not be a straightforward answer. But, it is safe to assume at least 4-5 years of software support.
对于苹果公司设计的芯片,这或许不是一个简单的答案。但是,至少 4 到 5 年的软件支持是安全的。
Linux gives you options. If you want a stable operating system without feature upgrades but focused on maintenance and security, [LTS editions][38] of Linux distributions give you up to **five years** of updates for free. This is primarily true for [Ubuntu][39] or Ubuntu-based distributions like Linux Mint.
Linux 为你提供了选择。如果你想要一个没有升级功能只专注于维护和安全性的稳定操作系统Linux 发行版的 [LTS 版本][38] 可以免费为你提供 **五年** 的更新。这主要适用于 [Ubuntu][39] 或基于 Ubuntu 的发行版,如 Linux Mint。
Furthermore, theres a subscription plan for Ubuntu, where you can continue receiving security updates for up to **10 years**.
此外,有一个 Ubuntu 订阅项目,你可以持续 **十年** 获取安全更新。
And, it does not end there; you can also opt for [rolling-release distributions][40] that get constant bleeding-edge updates with no timeline for an end. As long as your hardware is competent enough, you should be able to update the operating system with no issues.
而且,它并没有就此结束;你还可以选择 [滚动发行的版本][40],来获得没有结束的时间的持续的前沿更新。只要你的硬件能够胜任,你应该就能毫无问题地更新操作系统。
### macOS vs. Linux: What Should You Pick?
### macOS vs. Linux: 你应该选择哪一个?
macOS can be well worth the price tag if you need it.
如果你需要的话macOS 物有所值。
It is not an easy recommendation for users who just need to surf the web, send emails, and perform some tasks that are possible on any platform.
不建议只需要上网、发送电子邮件,以及执行一些在任何平台上都可以执行的任务的用户购买 macOS。
macOS remains a niche pick.
macOS 仍然是一个不错的选择。
However, Linux has improved to become a usable choice for former Windows/macOS users, computer science students, developers, creative professionals (like us) and a wide range of potential users.
然而,随着 Linux 的改进,它已经成为先前是 Windows/macOS 的用户、计算机专业学生、开发人员、创意专业人士(如我们)以及广泛潜在用户的有用的选择。
There are many reasons to pick Linux over macOS, but not the other way around (I think). What are your thoughts on macOS vs. Linux? You are welcome to share your thoughts in the comments down below.
选择 Linux 而不是 macOS 的原因有很多,但(我认为)不矛盾。你对 macOS 与 Linux 有何看法?欢迎在下面的评论中分享你的想法。
--------------------------------------------------------------------------------
via: https://itsfoss.com/mac-linux-difference/
via: <https://itsfoss.com/mac-linux-difference/>
作者:[Ankush Das][a]
选题:[lkxed][b]
@ -260,35 +244,35 @@ via: https://itsfoss.com/mac-linux-difference/
[6]: https://github.com/apple/darwin-xnu
[7]: https://github.com/apple/darwin-xnu
[8]: http://osxbook.com/book/bonus/ancient/whatismacosx/arch_xnu.html
[9]: https://en.wikipedia.org/wiki/Mach_(kernel
[10]: https://en.wikipedia.org/wiki/FreeBSD
[11]: https://www.howtogeek.com/howto/31632/what-is-the-linux-kernel-and-what-does-it-do/
[12]: https://linuxhandbook.com/change-shell-linux/
[13]: https://itsfoss.com/wp-content/uploads/2022/08/open-source-proprietary-illustration.jpg
[14]: https://opensource.apple.com/releases/
[15]: https://github.com/apple/darwin-xnu
[16]: https://www.techrepublic.com/article/why-apple-open-sourcing-mac-os-x-isnt-terribly-exciting/
[17]: https://www.ibm.com/blogs/internet-of-things/what-is-the-iot/
[18]: https://itsfoss.com/wp-content/uploads/2022/08/macos-monterey-screenshot.jpg
[19]: https://itsfoss.com/wp-content/uploads/2021/12/zorin-os-16-mac.png
[20]: https://itsfoss.com/best-linux-desktop-environments/
[21]: https://itsfoss.com/macos-like-linux-distros/
[22]: https://itsfoss.com/wp-content/uploads/2022/08/pop-os-screenshot-2022.png
[23]: https://itsfoss.com/wp-content/uploads/2022/07/10.-MX-Linux.jpg
[24]: https://itsfoss.com/wp-content/uploads/2022/08/customizability-illustration.jpg
[25]: https://itsfoss.com/kde-customization/
[26]: https://itsfoss.com/wp-content/uploads/2022/08/hardware-illustration-800x450.jpg
[27]: https://www.freecodecamp.org/news/build-a-hackintosh/
[28]: https://itsfoss.com/wp-content/uploads/2022/08/final-cut-pro-mac.jpg
[29]: https://itsfoss.com/wp-content/uploads/2022/08/kdenlive-editor.jpg
[30]: https://itsfoss.com/wp-content/uploads/2021/08/planner-board-view.png
[31]: https://itsfoss.com/wp-content/uploads/2022/08/gaming-illustration.jpg
[32]: https://itsfoss.com/wp-content/uploads/2022/08/package-manager-illustration-new.jpg
[33]: https://itsfoss.com/what-is-flatpak/
[34]: https://itsfoss.com/use-snap-packages-ubuntu-16-04/
[35]: https://itsfoss.com/synaptic-package-manager/
[36]: https://itsfoss.com/homebrew-linux/
[37]: https://itsfoss.com/wp-content/uploads/2022/07/software-update-illustration.jpg
[38]: https://itsfoss.com/long-term-support-lts/
[39]: https://itsfoss.com/getting-started-with-ubuntu/
[40]: https://itsfoss.com/best-rolling-release-distros/
[9]: <https://en.wikipedia.org/wiki/Mach_(kernel>
[10]: <https://en.wikipedia.org/wiki/FreeBSD>
[11]: <https://www.howtogeek.com/howto/31632/what-is-the-linux-kernel-and-what-does-it-do/>
[12]: <https://linuxhandbook.com/change-shell-linux/>
[13]: <https://itsfoss.com/wp-content/uploads/2022/08/open-source-proprietary-illustration.jpg>
[14]: <https://opensource.apple.com/releases/>
[15]: <https://github.com/apple/darwin-xnu>
[16]: <https://www.techrepublic.com/article/why-apple-open-sourcing-mac-os-x-isnt-terribly-exciting/>
[17]: <https://www.ibm.com/blogs/internet-of-things/what-is-the-iot/>
[18]: <https://itsfoss.com/wp-content/uploads/2022/08/macos-monterey-screenshot.jpg>
[19]: <https://itsfoss.com/wp-content/uploads/2021/12/zorin-os-16-mac.png>
[20]: <https://itsfoss.com/best-linux-desktop-environments/>
[21]: <https://itsfoss.com/macos-like-linux-distros/>
[22]: <https://itsfoss.com/wp-content/uploads/2022/08/pop-os-screenshot-2022.png>
[23]: <https://itsfoss.com/wp-content/uploads/2022/07/10.-MX-Linux.jpg>
[24]: <https://itsfoss.com/wp-content/uploads/2022/08/customizability-illustration.jpg>
[25]: <https://itsfoss.com/kde-customization/>
[26]: <https://itsfoss.com/wp-content/uploads/2022/08/hardware-illustration-800x450.jpg>
[27]: <https://www.freecodecamp.org/news/build-a-hackintosh/>
[28]: <https://itsfoss.com/wp-content/uploads/2022/08/final-cut-pro-mac.jpg>
[29]: <https://itsfoss.com/wp-content/uploads/2022/08/kdenlive-editor.jpg>
[30]: <https://itsfoss.com/wp-content/uploads/2021/08/planner-board-view.png>
[31]: <https://itsfoss.com/wp-content/uploads/2022/08/gaming-illustration.jpg>
[32]: <https://itsfoss.com/wp-content/uploads/2022/08/package-manager-illustration-new.jpg>
[33]: <https://itsfoss.com/what-is-flatpak/>
[34]: <https://itsfoss.com/use-snap-packages-ubuntu-16-04/>
[35]: <https://itsfoss.com/synaptic-package-manager/>
[36]: <https://itsfoss.com/homebrew-linux/>
[37]: <https://itsfoss.com/wp-content/uploads/2022/07/software-update-illustration.jpg>
[38]: <https://itsfoss.com/long-term-support-lts/>
[39]: <https://itsfoss.com/getting-started-with-ubuntu/>
[40]: <https://itsfoss.com/best-rolling-release-distros/>

View File

@ -1,184 +0,0 @@
[#]: subject: "What if a Lifelong Linux User Tried Windows or macOS for the First Time?"
[#]: via: "https://news.itsfoss.com/linux-user-trying-windows-macos/"
[#]: author: "Abhishek https://news.itsfoss.com/author/abhishek/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
What if a Lifelong Linux User Tried Windows or macOS for the First Time?
======
Windows users face issues while switching to Linux. What if the tables are turned? What problems a lifelong Linux user will face while switching to Windows or macOS?
![What if a Lifelong Linux User Tried Windows or macOS for the First Time?][1]
Do you remember Linus Sebastian (from Linus Tech Tips) [trying out Linux for gaming][2]? He ended up deleting the desktop environment despite a clear warning shown in the terminal.
![Linus Sebastian destroys his Linux system][3]
Considering he utilizes Windows as his daily driver to play games, switching to Linux will definitely need some time.
So, is this a Linux issue? Or is Linus doing it all wrong? Bet ya!
[It's Time More Linux Distros and DEs Become 'Linus-Proof'][4]
Or, is it that any user unfamiliar with an operating system encounters problems during their first trials?
So, here, you get to read a different perspective of a Linux user trying Windows or macOS for the first time.
Will it be a smooth sail? Or will it be as bad as Linuss experience with Linux?
It is definitely going to be something exciting…
**Scott Williams** (a Senior DevOps Engineer) imagined the scenario in a series of tweets.
### Enable TPM 2.0 for Windows 11?
Considering Windows 11 is the latest available Windows version. How can Scott install it?
> @vwbusguy \
> Join me tonight as I try to enable TPM 2.0 on this four year old laptop to see if we can get Windows 11 to run on it. It says it supports Intel PTT, so this should be straightforward, right?
>
> @vwbusguy \
> Between Windows and MacOS, there are too many options. Can't all proprietary operating systems users come together and just make one perfect operating system that fits every use case and preference out of the box, but most specifically mine?
[Twitter @vwbusguy][5]
*How to enable TPM 2.0? How to find it in the BIOS menu? Is it safe to enable TPM 2.0? Should I flash a newer BIOS? Will I brick my motherboard in the process of updating the BIOS?*
These are some of the questions, every Linux user (and even Windows/macOS users) will have when they want to upgrade their system to Windows 11.
With Linux distributions, we never have to do such a peculiar thing to make it work. Even in 2022. But, Windows 11 wants you to know about the BIOS settings or the TPM chip before you can upgrade to it.
While Scott mentions about an older laptop, it is worth noting that even with the latest motherboards (for instance Z590), you may have to tweak the BIOS or flash a newer BIOS version to support Windows 11.
This is incredibly inconvenient, even for technical users because updating BIOS comes with its own risks.
### Do I Need an Antivirus Software? Which One?
While Apples XProtect and Windows Defender should be good for basics, there are several options when it comes to Antivirus if you want enhanced protection.
> @vwbusguy \
> I'm surprised that MacOS doesn't even come with a modern web browser installed and you have to go to a website to download one. That's not a great initial user experience.
>
> @NaheemSays \
> It is actually deeper than that. As a user of both systems, I think people subconsciously forget how weird Windows can be.
>
> Its biggest advantage is that it comes pre installed. First step of a new system: uninstall a lot of crap. Try even getting rid of Mcaffee or Norton!
>
> @vwbusguy \
> So do I or do I not need antivirus software and which one?
[Twitter @vwbusguy][6]
And, with so many choices and paid reviews online, it is tough to know whats actually a genuine option and if you should spend for it.
A Linux user will often wonder: *Why do I even need this? Wont this affect the performance? What do I do with so many protection features? Isnt Windows a secure operating system?*
### iCloud and macOS: A Love Story?
> @vwbusguy \
> How do I access files on my @btrfs drive in Windows or MacOS?
>
> @vwbusguy \
> What is iCloud and how do I make this go away?
>
> @mikecodemonkey \
> And then MacOS is sooooo annoying having to log into your iCloud every 5 seconds, set multiple passwords, constantly tell Siri to bugger off.
[Twtter @vwbusguy][7]
Linux users are not fond of integrated cloud services. They either mount a cloud storage drive (or a network drive).
Even if they opt for a cloud storage service, it should work as per their explicit actions. However, with macOS, you will be constantly reminded of iCloud while Siri popping up in between.
### Linux User Cleans the Registry
With so many options and tools to clean registries and optimize systems for better performance, a new Linux user may end up with an unresponsive Windows.
> Reddit says I need to "clean my registry" so I followed a few tutorials and deleted a few things and now this Windows box is acting really weird.
[Twitter @vwbusguy][8]
Even in 2022, there is no clarity when you work with the registry or tools that helps you “optimize” the registry.
Dare you, veteran Linux users love the details before trying anything. But, if there is no proper warning/notice in the GUI, how can one know about it all?
### Reboot All The Way
Its not like a reboot does not fix things in Linux. But, how many times do I have to reboot when updating Windows or after installing software?
> We can all be like, \
> "You have to install how many .NET framework versions? How many reboots so far?" \
> "My Adobe version doesn't support this version of MacOS? No wonder people have so many have trouble taking MacOS seriously. Apple needs to fix this."
[Twitter @vwbusguy][9]
Every time I reboot, I lose the active applications that were in the background.
Why cant Windows just detect the new installations and updated packages with a simple refresh instead of a reboot? Why is this so much counter-productive?
### Do I Have to Pay for All This? Wasnt the Windows License Enough?
Linux is primarily all about free and open-source software. Hence, the pre-installed utilities are free.
So, a user who is comfortable with those tools would have to suddenly pay for a Windows license, and also pay for software.
Isnt Microsoft too greedy here?
### Lack of Essential Packages by Default
I cant even extract an archive after I install Windows? Is it truly a modern OS?
### Multi-Monitor Setup for macOS
> @vwbusguy \
> How do I get my monitors to work with MacOS?
>
> I'm used to firmware updates just being automatic through LVFS on Linux. How do I update the firmware from Windows? This vendor site says I need to put something on a USB drive. Can I borrow one from someone?
>
> @acruiz \
> Indeed!!!! I had to install several extensions on macOS to get to a semi decent setup (plus some shitty drivers for multimonitor support in my dock station which worked OOTB on Linux)
[Twitter @vwbusguy][10]
It is a breeze to work with Linux when you have a multi-monitor setup. But, when it comes to macOS, everything breaks away.
### Final Thoughts
Ultimately, it depends on what the standard is and what you are familiar with. Windows and macOS are often considered the standard desktop operating system.
In contrast, most people know little associated with Linux, except the fact that it is difficult to use.
However, if you get to know the essentials, just like you know for Windows/macOS, Linux desktop experience will be a smooth experience.
It is just because there are a variety of things when it comes to Linux. However, with patience, you can enjoy the full experience of it.
Linux isnt problematic as a whole, it's the user that fails to get acquainted with coming from another operating system. We do not want Linux to be Windows nor Windows to act like Linux, everything should have a separate presence.
But then again, Linux should not be struck out just because a longtime Windows user did not have a good initial experience with it because the same can happen with a longtime Linux user trying Windows/macOS.
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/linux-user-trying-windows-macos/
作者:[Abhishek][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/abhishek/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w1200/2022/08/linux-windows.png
[2]: https://www.youtube.com/watch?v=0506yDSgU7M&t=788s
[3]: https://news.itsfoss.com/content/images/2022/08/linus-sebastian-nukes-pop-os-while-installing-steam-os.webp
[4]: https://news.itsfoss.com/more-linux-distros-become-linus-proof/
[5]: https://twitter.com/vwbusguy/status/1463543535630569473
[6]: https://twitter.com/vwbusguy/status/1463556939728572419
[7]: https://twitter.com/vwbusguy/status/1463579003504136192
[8]: https://twitter.com/vwbusguy/status/1463595769051549697
[9]: https://twitter.com/vwbusguy/status/1463538368956887043
[10]: https://twitter.com/vwbusguy/status/1463606807906029570

View File

@ -0,0 +1,50 @@
[#]: subject: "Usability and accessibility starts with open communication"
[#]: via: "https://opensource.com/article/22/9/accessibility-open-source"
[#]: author: "Klaatu https://opensource.com/users/klaatu"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Usability and accessibility starts with open communication
======
Use open source principles to make your project more accessible for your users.
Amazing though it may seem, we each experience the world differently. That's one reality with over 6 billion interpretations. Many of us use computers to broaden our experience of the world, but a computer is part of reality and so if you experience reality without, for instance, vision or sound, then you also experience a computer without vision or sound (or whatever your unique experience might be.) As humans, we don't quite have the power to experience the world the way somebody does. We can mimic some of the surface-level things (I can close my eyes to mimic blindness, for example) but it's only an imitation, without history, context, or urgency. As a result of this complexity, we humans design things primarily for ourselves, based on the way we experience the world. That can be frustrating, from an engineering and design viewpoint, because even when you intend to be inclusive, you end up forgetting something "obvious" and essential, or the solution to one problem introduces a problem for someone else, and so on. What's an open source enthusiast, or programmer, or architect, or teacher, or just everyday hacker, supposed to do to make software, communities, and processes accessible?
### Don't miss the opportunities
A friend of mine, who lives with hearing loss, recently signed up for a webinar and contacted the host to request captioning or, failing that, a transcript of the lessons. It was a great disappointment when the host, who had specifically emailed all participants with an invitation for feedback, never even responded to the request. In the end, some mutual friends attended the webinar and took notes.
The webinar was a small event run by an individual, so it's possible that emails all around were going unanswered until the end of the multi-week event. However, this incident can serve as a valuable lesson: Accessibility starts with communication.
You can't know the unique needs of every single person interacting with the thing (website, software, podcast, article, and so on) you produce. You can't predict what small arbitrary choice you make might lead to the accidental exclusion of someone who would otherwise have engaged with you. What you can do, though, is look for opportunities to learn about them. When someone sends an email about how the 8-point, thin, 45% gray font on a white background makes your website hard to read, don't ignore it, and don't chalk it up to a difference in opinion. When someone files a bug that Orca or [NVDA][5] can't navigate your application, don't close it until it's fixed.
### What to do when you can't help
Nobody knows everything, and that's true for each of us participating in open source. It's very likely that you'll get a comment from somebody with an issue in something you've designed, and you won't know how to fix it. Or you might know how to fix it, but you just won't have the time to implement the fix. That doesn't make you a bad person, it just reveals the one thing that's true for all of us: You have limited resources. But through open collaboration, there's more than likely an answer.
Open source is all about sharing, and this is as true for code as it is for community resources. Identifying a bug at the very least demonstrates what your project needs from potential future contributors. Possibly, the person making the request or filing the bug can help you find someone who knows how to fix the issue. Or maybe they have friends who help them find a work-around, and could at the very least document the round-about way they deal with the issue, which could be exactly the stop-gap you need while you upskill enough to find the "right" fix for the problem.
Answers to usability and accessibility aren't always as direct as you think they need to be. Sometimes, a simple work-around or accommodation is all that's needed. I contribute to a fairly technical podcast, and I was once asked whether I could release transcripts. It's beyond my means to produce those for every episode, but as a concession I have, ever since, included either existing reference documentation, or I write new documentation on the podcast's website, so that even if a potential listener can't process what I say in the podcast, at least the information I impart isn't lost. It's not the *best* solution (although admittedly my podcasts aren't always as focused as they could be, so actually reference documentation is probably the better option) but the "answer" to the problem is really easy for me to do, but something I hadn't thought to do until someone asked.
Sometimes the "right" answer is "no." I've gotten requests for visuals to accompany audio-only content before. While it was possible to do that, it would have required a completely different production and hosting infrastructure, and so the answer truly was "no." However, I was able to respond to the request with a list of resources that were providing similar content along with video. You can't be everything to all people. Knowing your project's, and your own, limitations is important, and it's equally important to respect them.
### Open communication
Communication is the starting point for usability and accessibility. When someone reaches out to you because something you're doing isn't accessible to them, that is, strange though it may seem, a marketing success. Somebody wants to engage with your content or your project. That's exciting! Don't pass up those opportunities.
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/9/accessibility-open-source
作者:[Klaatu][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/klaatu
[b]: https://github.com/lkxed

View File

@ -0,0 +1,110 @@
[#]: subject: "Opinion: Car Design Was Better Before Computers"
[#]: via: "https://news.itsfoss.com/car-design-was-better-before-computers/"
[#]: author: "Community https://news.itsfoss.com/author/team/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Opinion: Car Design Was Better Before Computers
======
The ethical hellscape of today's automobile industry, and why cars were better designed before the widespread use of computers.
![Opinion: Car Design Was Better Before Computers][1]
[Karla Alexander][2] on [Unsplash][3]
The ethical car designers will quickly discover that corruption in the car industry goes way beyond manufacturers' faked emission-tests; their mass-participation in war crimes; and the children they force to work in the cobalt, mica, and lithium mines. In fact, the corruption in *Car Land* begins the moment you switch on a computer and load your CAD software.
![Solvespace: An ethical, free, opensource parametric modeling tool][4]
All modern computer processors are backdoored-by-design, and so airgapping all production machines is the only rational solution. Intel's  'Management Engine' and AMD's 'Platform Security Processor' openly snoop on everything you do on your computer, reporting this data back to whoever has keys to the CPU backdoors.
The larger automobile conglomerates are inextricable from the state. National Socialism was essentially corporatism. Therefore, the problem can be stated simply: If you plan to design and engineer products, then it is foundational to ensure that your competitors cannot steal your designs.
If you are working in the car industry, then your  competitors are state-level combatants. In other words: Governments.
It is no accident that notorious car-manufacturers are able to fake their emissions-tests and build unchecked monopolies: These car companies 'own' vast swathes of the political apparatus. This gives these conglomerates access to surveillance systems; the Intel and AMD backdoors; and (you guessed it) access to your computer.
Remember, many of these car companies are currently child-slavers; several literally have Nazi-origins. These companies ran concentration-camps and, in the years since, have lied about poisoning our shared air-supply; multiple times, in multiple countries. This 'Automobile Establishment' will have no qualms about reading stolen information from your computer screen, assisted by the government(s) they think they own.
Airgapping all engineering-computers should be routine if you are working in the independent automotive-design field. To 'airgap' a computer means to remove any wifi, ethernet or bluetooth equipment from the system and to ensure the computer is completely disconnected from the internet or other exploitable network-connection.
By airgapping a system, you ensure that (although the CPU is backdoored) the computer can no longer spy on you because it cannot report its spying to anyone. The CPU will continue to monitor your work, but it will be trapped; unable to transfer this information out to the Automobile Establishment and their cronies in government(s).
Here, we should touch briefly on the issue of the ethics of CAD (Computer Aided Design) computers themselves. Almost every modern computer is manufactured in a Communist dictatorship, often by children. This is, after all, the reason companies manufacture in these regions: It is cheap to manufacture in the 'Slave Zones' because there are few human rights, and children are often used as labor.
Ethical options do exist, but they take some hunting down. For example, Raspberry Pi manufactures their computer boards in the UK. Although you might consider this an underpowered computer, it is perfectly sufficient for running software like the excellent [Solvespace][5] (for parametric modeling) or [Blender][6] (for visualization work).
Remember that most of the greatest cars ever designed came from an era before desktop computers. You should consider eliminating computers as much as possible from your engineering workflow. They tend to destroy creativity and generate lazy, derivative designs. The engineers who worked on the *Corvette Stingray*, for example, went nowhere near a computer.
![Corvette Stingray][7]
If you absolutely must use a 3D workstation for your automotive design, then the closest thing to an ethical PC are those made by Fujitsu, which are manufactured in Germany and Japan. Similarly, Eizo make their screens in Japan. This information is not given lightly: It took us many months to figure out that Raspberry Pi, Fujistu, and Eizo are the ethical options. Most country-of-manufacture information is hidden. Most major search engines are 'gamed' to stop the consumer from avoiding the profitable 'Slave Zone' manufacturers.
The elephant in the room of the computer industry is this: That most of our computers are made by slaves, and profit the slave-masters.
Even a Fujitsu PC contains many China-sourced parts. The balance, however, shifts towards ethical manufacture.
A second-hand Fujitsu and Eizo screen is perhaps the only option for CAD designers who don't want to fund slavery; but let us know if you discover other options.
Finally, there is the question of software. Given the association between the former-head of one major operating system manufacturer and Jeffrey Epstein, nobody with any sense of morality can use his product. The other major operating system (and computer) manufacturer is a major child-slaver, so again, we can rule them out.
The solution here is obvious: Linux.
If you haven't tried Linux in a few years, you will be surprised by how it has made strides past everything else. Now there is even a project in the works to connect *Blender* to *Solvespace*. The project is called [CAD Sketcher][8], and it drives parametric modeling on free, open-source software to dizzy new heights.
![CAD Sketcher: This software allows you to use Blender as a parametric modeler.][9]
Most impressive of all, however, is the work of a developer called RealThunder. This hotshot-coder is firing on all turbines and has produced [a fork of FreeCAD that outshines the original][10]. RealThunder's fork includes a topological naming feature and other slick hacks.
![][11]
In RealThunder's own words, "I am an extremely efficient coder. In fact, my coding pace is probably too fast for FreeCAD upstream."
That's fighting talk. Things are getting very interesting here in the frontier towns of Liberated CAD.
Given that open-source has overtaken the industry: What now for the legacy, closed-source CAD tools that the automobile industry has come to rely on? Look around you on the streets. Do these cars look good? In my opinion, they are irredeemably horrible and the tools that created them should be burned at the digital stake.
Form does not merely follow function; it also follows the tools we use to create the things we build.
Today's collapsing automobile-industry is a decrepit monster. Whatever tools were used to build this industry, and the cars it produced, were not fit for purpose. It's time for something new.
![][12]
Chris Stevens collaborated with Steve Jobs to bring [an interactive version of Alice in Wonderland][13] back into the popular consciousness. Stevens' work on *Alice* was promoted by Steve Jobs through global television advertising campaigns and together they shipped millions of copies of the software. Chris Stevens' work is also acclaimed by [Fast Company][14] and [The Atlantic][15] among others. After some serious self-reflection, Stevens sold his software company, *Atomic Antelope*, to *Oceanhouse Media*, in California, for an undisclosed sum. Stevens then left the world of closed-source forever. He is now an automotive engineer working on open-source automobiles. Stevens is a cheerleader for the open-source revolution. "If it's not open-source; then it's sauce," is Stevens' enduring motto.
**The views and opinions expressed in this article are those of the authors and do not necessarily represent opinions It's FOSS.**
The article originally appeared at [Volcano][16].
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/car-design-was-better-before-computers/
作者:[Community][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/team/
[b]: https://github.com/lkxed
[1]: https://images.unsplash.com/photo-1484687742385-1249620c2687?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDE2fHx2aW50YWdlJTIwY2FyfGVufDB8fHx8MTY2MjE3NTc0NA&ixlib=rb-1.2.1&q=80&w=1200
[2]: https://unsplash.com/@kmvrlv?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit
[3]: https://unsplash.com/?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit
[4]: https://news.itsfoss.com/content/images/2022/08/solvespace.jpg
[5]: https://solvespace.com/index.pl
[6]: https://www.blender.org/
[7]: https://news.itsfoss.com/content/images/2022/08/corvette-68.jpg
[8]: https://www.cadsketcher.com/
[9]: https://news.itsfoss.com/content/images/2022/08/CAD-Sketcher-Blender.jpg
[10]: https://www.patreon.com/thundereal
[11]: https://news.itsfoss.com/content/media/2022/09/drawstyle.webm
[12]: https://news.itsfoss.com/content/images/2022/09/chris-stevens-photo-1.jpeg
[13]: https://www.youtube.com/watch?v=gew68Qj5kxw
[14]: https://www.fastcompany.com/1694027/alice-ipad-co-creator-chris-stevens-risk-and-rabbit-holes
[15]: https://www.theatlantic.com/entertainment/archive/2011/03/the-most-technologically-advanced-book-for-the-ipad/72610/
[16]: https://vo.lc/ano/

View File

@ -1,209 +0,0 @@
[#]: subject: "Ubuntu vs Manjaro: Comparing the Different Linux Experiences"
[#]: via: "https://itsfoss.com/ubuntu-vs-manjaro/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lkxed"
[#]: translator: "Return7g"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Ubuntu vs Manjaro: Comparing the Different Linux Experiences
对比 Ubuntu 和 Manjaro :比较不同 Linux 发行版体验
======
Ubuntu is the most popular Debian-based Linux distribution for desktops and servers.
Ubuntu 是基于 Debian 最流行的桌面和服务器 Linux 发行版
And Manjaro Linux is an Arch-based distro tailored for desktops.
Manjaro Linux 是基于 Arch 量身定制的桌面发行版
Both are entirely different when it comes to user experience and features.
However, one of the common grounds is the [desktop environment][1] when considering Manjaros GNOME edition with Ubuntu.
But, what exactly are the differences? Is the package manager on Manjaro better? Are software tools available on both Ubuntu and Manjaro?
Here, we shall look at the differences in both the Linux distributions at certain key points.
### Release Cycle
Ubuntu offers two different release cycles, considering the version you pick. If you are going with the Long-Term Support version, you get security/maintenance updates for at least five years from its release.
Suppose if you install Ubuntu 22.04 LTS, you will be getting updates until **April 2027**.
![ubuntu22 04 lts about][2]
The LTS version is what we recommend for most desktop users.
However, if you want the latest and greatest, you can opt for the non-LTS releases that need an upgrade every **nine months**. Examples include Ubuntu 21.04, Ubuntu 21.10, and Ubuntu 22.10.
Note that the non-LTS releases involve changes that may affect your workflow and user experience. So, it isnt recommended for everyone.
When choosing Manjaro Linux, you get a rolling release schedule for updates. So, you do not have to worry about the support for the version you use. It will automatically upgrade to the latest available version through regular updates.
![manjaro about][3]
With a rolling release cycle, you get the latest packages quickly. So, if you want to keep using an older version of the software, Manjaro Linux may not be the right choice for you.
### Desktop Environments
Ubuntu features a customized version of the GNOME desktop. It may not be the latest, but it is likely to include the latest GNOME desktop environment if you use a newer Ubuntu version.
![ubuntu 22 04 wallpaper][4]
There are no other desktop environments by Canonical (the company behind Ubuntu).
However, if you want other desktop environments on top of Ubuntu, you can choose the official [Ubuntu flavours][5] including KDE, Budgie, LXQt, MATE, and XFCE as desktop environments. They are well-tested and stable Ubuntu Linux distributions when compared to unofficial or newer spins of Ubuntu with another desktop environment.
However, Ubuntu flavours do not get five years of software support; instead, you will be limited to three years of support for LTS versions.
With Manjaro, you can choose three official editions: XFCE, KDE, and GNOME. No matter the desktop environment, you stick to the rolling release model.
![manjaro gnome 42][6]
You do have some community editions with Budgie, MATE, LXQt, and more as well.
### Package Manager or Software Ecosystem
You shouldnt have trouble finding most of the [essential Linux apps][7] on both the distros.
However, Manjaro Linux gets an edge with a snappier experience using Pamac as its package manager.
![manjaro package manager][8]
Compared to the software center on Ubuntu, Manjaro Linux offers a better experience for quickly installing/updating the software. And, it also supports Flatpak/Snap out-of-the-box if you want to enable them with a single click.
Ubuntu emphasizes Snap packages, and you will find some applications pre-installed as Snap (like Firefox web browser).
![firefox as snap][9]
In the case of Manjaro Linux, you get the freedom to enable Flatpak/Snap if required.
With Ubuntu, the Software Center is not the best Linux offers. It could prove to be slower, as per your system configuration and over the year as you use it.
![ubuntu 22 04 software center][10]
In addition to that, Manjaro Linux has access to [AUR][11], which opens up access to almost every software that you may not find in Ubuntus software center.
So, in terms of the software ecosystem and the package manager, Manjaro Linux does provide many advantages over Ubuntu.
### Ease of Use and Targeted Users
Ubuntu desktop is primarily tailored for ease of use. It focuses on providing the best possible combination of software and hardware compatibility to let any computer user work with Ubuntu Linux without needing to know most of the things in the Linux world.
Even if someone doesnt know what a “package manager” on Linux is, they can understand it perfectly fine as a unique replacement to Windows/macOS when they use it.
Of course, we also have a guide to help you with [things to do after installing the latest Ubuntu version][12].
Manjaro Linux is also tailored for desktop usage. But, it isnt primarily tailored for first-time Linux users.
It aims to make the experience with Arch Linux easy. So, it mainly targets Linux users who want to use Arch Linux, but with some added convenience.
### Stability
![stability tux][13]
Ubuntu LTS releases primarily focus on stability and reliability, so you can also use them on servers.
Comparatively, Manjaro Linux may not be as stable out-of-the-box. You will have to choose the packages carefully to install in Manjaro Linux and keep an eye on your configurations to ensure that an update does not break your system experience.
As for Ubuntu, you do not need to stress about the software updates, especially when considering the LTS version. The updates should not generally break your system.
### Customization
Ubuntu features a customized GNOME experience as set by Canonical for end-users. While you can choose to customize various aspects of your Linux distribution, Ubuntu offers little out of the box.
Ubuntu has improved over the years, recently adding the ability to [add accent colors in Ubuntu 22.04 LTS][14]. But, it still has a long way to go.
You will have to take the help of apps like [GNOME Tweak][15] to customize the desktop experience.
When considering Manjaros GNOME edition, you will have to use the same tool to customize things yourself.
Manjaro also performs a few customization tweaks to the look. But, it gives more control to change the layout and few other options.
![manjaro layout][16]
In terms of customization, you should be able to do the same thing on both Manjaro and Ubuntu.
If you want more customization options, Manjaro Linux can be a good pick. And, if you want a customized experience without a lot of control over it, Ubuntu should be good enough.
### Bloatware
This may not be a big deal for everyone. But, if you dislike having many pre-installed applications, Ubuntu can be an annoyance.
![ubuntu 22 apps][17]
You can always remove the applications you do not want. However, you will find more applications and services installed with Ubuntu out of the box.
With Manjaro, you also get to see the minimal essentials installed. But, they stick to the most essential utilities, minimizing the number of packages pre-installed. So, Manjaro gets an edge with less bloatware.
However, there are chances that you may not find your favorite Linux app installed on Manjaro by default. So, if you like access to some of your favorite apps right after installation, Ubuntu can be a good choice.
### Performance
![ubuntu 22 04 neofetch lolcat][18]
While Ubuntu has improved its performance and even works on a Raspberry Pi 2 GB variant, it is still not the best-performing Linux distribution.
Of course, the performance does depend on the desktop environment you choose to use.
However, compared to Manjaros GNOME edition, Manjaro provides a snappier experience.
Note that your user experience with the performance and animation preferences also depends on your system configuration. For instance, the recommended system requirements (1 GB RAM + 1 GHz processor) for Manjaro give you room to use older computers.
But, with Ubuntu, at the time of writing, you need at least 4 GB RAM and a 2 GHz dual-core processor to get an ideal desktop experience.
### Documentation
Ubuntu is easier to use and potentially more comfortable for new users, considering its popularity.
[Ubuntus documentation][19] is good enough, if not excellent.
When it comes to Manjaro Linux, they have a [wiki][20] with essential information and in-depth guides to help you out.
In general, the [documentation available for Arch Linux][21] is meticulous, and almost everyone (even the veterans) refers to it to get help.
The documentation for Arch Linux also applies to Manjaro Linux in a big way, so you do get an advantage in terms of documentation with Manjaro Linux over Ubuntu.
### Wrapping Up
Being two entirely different Linux distributions, they serve various kinds of users. You can choose to use anything if you want to explore the operating system and see if it suits you.
However, if you want to avoid making any changes to your system and want to focus on your work, irrespective of the Linux distro, Ubuntu should be a no-brainer.
In any case, if the performance with Ubuntu affects your experience by a considerable margin, you should try Manjaro. You can read my [initial thoughts on switching to Manjaro from Ubuntu][22].
--------------------------------------------------------------------------------
via: https://itsfoss.com/ubuntu-vs-manjaro/
作者:[Ankush Das][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/what-is-desktop-environment/
[2]: https://itsfoss.com/wp-content/uploads/2022/05/ubuntu22-04-lts-about.png
[3]: https://itsfoss.com/wp-content/uploads/2022/05/manjaro-about.png
[4]: https://itsfoss.com/wp-content/uploads/2022/04/ubuntu-22-04-wallpaper.jpg
[5]: https://itsfoss.com/which-ubuntu-install/
[6]: https://itsfoss.com/wp-content/uploads/2022/05/manjaro-gnome-42.png
[7]: https://itsfoss.com/essential-linux-applications/
[8]: https://itsfoss.com/wp-content/uploads/2022/05/manjaro-package-manager.png
[9]: https://itsfoss.com/wp-content/uploads/2022/04/firefox-as-snap.jpg
[10]: https://itsfoss.com/wp-content/uploads/2022/04/ubuntu-22-04-software-center.jpg
[11]: https://itsfoss.com/aur-arch-linux/
[12]: https://itsfoss.com/things-to-do-after-installing-ubuntu-22-04/
[13]: https://itsfoss.com/wp-content/uploads/2022/05/stability-tux.png
[14]: https://itsfoss.com/accent-color-ubuntu/
[15]: https://itsfoss.com/gnome-tweak-tool/
[16]: https://itsfoss.com/wp-content/uploads/2022/05/manjaro-layout.png
[17]: https://itsfoss.com/wp-content/uploads/2022/05/ubuntu-22-apps.jpg
[18]: https://itsfoss.com/wp-content/uploads/2022/04/ubuntu-22-04-neofetch-lolcat-800x445.png
[19]: https://help.ubuntu.com/
[20]: https://wiki.manjaro.org/index.php/Main_Page
[21]: https://wiki.archlinux.org/
[22]: https://news.itsfoss.com/manjaro-linux-experience/

View File

@ -1,132 +0,0 @@
[#]: subject: "Marktext is an Excellent Editor Even for Those Who Dont Know Markdown"
[#]: via: "https://itsfoss.com/marktext-editor/"
[#]: author: "Abhishek Prakash https://itsfoss.com/"
[#]: collector: "lkxed"
[#]: translator: " Chth0lly"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Marktext is an Excellent Editor Even for Those Who Dont Know Markdown
======
Another Markdown editor? Have we not seen all kinds of Markdown editors already?
I understand that feeling. If you are a Markdown lover, from [Joplin][1] to [Zettlr][2], you have tried most of them. And if you are not a Markdown fan, you probably dont care about these editors.
Markdown is an excellent markup language specially for people who write for the web. I am not going to go into the details here. We have an [excellent Markdown starters guide][3] if you are interested in learning more about it.
My focus here is on introducing you to (another) Markdown editor, Its called [Marktext][4] and it is an Electron app (dont hate me just yet).
I found it to be an excellent editor. It works as good as it looks. Let me share my experience and its features.
### Marktext: A Markdown editor for everyone
Hate [Electron framework][5] as much as possible but you cannot deny that Electron-based applications have a clean, modern interface.
![Marktext interface][6]
I prefer dark mode and hence I switched the theme. There are six themes in total for you to choose from.
![Marktext dark theme][7]
You can start writing the text immediately. If you dont remember the text, dont worry. Just use the insert option with @ and it will give you a number of options such as:
* Headings
* Divider line
* Table
* Mathematical equations
* HTML block
* Code block
* Quote block
* Lists
* Checklist
* Diagrams using vega-lite.js, flowchart.js, js-sequence and PlantUML
![Use various document elements in the editor by pressing @][8]
Select part of text and it gives you additional formatting option to change the text to bold, italic, underline, strike out. You can also highlight the text with yellow background text, convert them in inline code or inline math and create hyperlinks.
![Text formatting options][9]
Marktext also supports images. Though you know that images are not part of markdown (.md) file. They are external elements but you have the option to create a local assets folder in the same location where your Markdown file is saved.
![Images are supported too][10]
Adding image could have been made easier by including it in the insert menu. At the monet, you can add images by select texting and chosing the image option from the format options or use Ctrl+Shift+I keys. There is no scope for adding alt text or captions to the images. This should be improved.
I liked the tables feature in Marktext. You can insert table with predefined size. If you changed your mind, you can resize it as easily. You can move the rows and columns, all with mouse drag and drop without touching the underlying code.
![Tables are very well supported in Marktext][11]
You can enable the sidebar view. The sidebar gives you three options. You can open folders containing multiple markdown files, perform a global search in all the files in the opened folder and show table of contents for the currently opened file. The table of content is automatically generated based on the subheadings.
![Sidebar view has three options: Show folder content, global search and table of content][12]
The gear icon at the bottom gives you additional settings to configure the editor. You can choose the themes, change image settings, views, enable auto-save and modify many more settings.
![Configuration and settings][13]
### Installing Marktext
Marktext is a cross-platform, open source application. Along with Linux, it is available for Windows and macOS.
For Linux, you get the options of AppImage and Flatpak. You can get the AppImage from[the release page][14].
I chose the Flatpak version for better system integration. And it did work well because Marktext automatically became the default editor for .md files on my Ubuntu 22.04 system.
Please ensure that you have Flatpak support enabled on your system and then add Flathub repo:
```
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
After that, use the command below to install it on your system:
```
flatpak install flathub com.github.marktext.marktext
```
If you dont like it, you can remove it using this command:
```
fkatpak uninstall com.github.marktext.marktext
```
### Verdict
There are plenty of small features like word count, math latex, spell checker or copy-pasting as markdown or HTML and I leave them up to you to discover.
Ill be honest. Despite using Markdown for writing articles for years, I dont remember all the syntaxes. I remember the common ones for headings, lists, code block etc but if I have to create a table, Ill have to search the web.
I have [experimented with a number of markdown editors][15] and there are plenty of good ones there. However, I took an instant liking to Marktext and it is going to be on my system for a long time.
If you try it, do share your experience in the comment section.
--------------------------------------------------------------------------------
via: https://itsfoss.com/marktext-editor/
作者:[Abhishek Prakash][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/joplin/
[2]: https://itsfoss.com/zettlr-markdown-editor/
[3]: https://itsfoss.com/markdown-guide/
[4]: https://github.com/marktext/marktext/
[5]: https://www.electronjs.org/
[6]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-interface.png
[7]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-dark-theme.png
[8]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-insert-options.png
[9]: https://itsfoss.com/wp-content/uploads/2022/08/text-formatting-options-marktext.png
[10]: https://itsfoss.com/wp-content/uploads/2022/08/images-in-marktext.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/tables-in-marktext.png
[12]: https://itsfoss.com/wp-content/uploads/2022/08/sidebar-view-marktext.png
[13]: https://itsfoss.com/wp-content/uploads/2022/08/marktext-settings.png
[14]: https://github.com/marktext/marktext/releases
[15]: https://itsfoss.com/best-markdown-editors-linux/

View File

@ -1,84 +0,0 @@
[#]: subject: "How to Create and Switch Workspaces in Linux Mint"
[#]: via: "https://itsfoss.com/workspaces-linux-mint/"
[#]: author: "Abhishek Prakash https://itsfoss.com/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Create and Switch Workspaces in Linux Mint
======
Workspaces are a nice, neat way to organize your work.
Suppose you have too many applications open. Your taskbar will be cluttered and it might be difficult for you to find/move between different programs.
Workspaces come in handy in this situation. You can group applications in different workspaces. So, lets say you have many programming-related applications opened. And you are also working on documentation.
You can organize them in separate workspaces. Click and drag an application window and it should show the option for moving the application to a different workspace.
This will ease your work in a more organized way and will save some time as well as frustration.
Sounds good? Let me show you how to create workspaces in Linux Mint with [Cinnamon][1] and switch between them.
### Create new workspaces
Creating or accessing a workspace in Linux Mint is easy. Just press `CTRL + ALT+ UP`. It will show you a screen like the one below.
Just click on the + sign on the right side to add a new workspace other than the default 4.
![Workspace Overview in Linux Mint][2]
The workspaces in Linux Mint are persistent. Once created, these workspaces will always be there, even after the next boot.
### Switching between workspaces
There are two ways to access the workspaces and switch between them.
* Use Ctrl+Alt+Up arrow key and bring all the workspaces and then move between them using the arrow key or the mouse itself.
* Use the hot corner and move the mouse in the top left corner.
By default, the Hot Corner feature is disabled in the latest releases of Linux Mint.
To enable Hot Corner to switch between workspaces, you should go to the System Settings and select **Hot Corners** option.
![Hot Corners Option in System Settings][3]
Now, enable the top left corner by toggling the button. By default, this corner is dedicated to show all workspace (you can change that as well).
![Show All Workspaces in Top Left Corner][4]
You can now access the workspaces grid by hovering over the top left corner.
Also, if you want, you can add new workspaces by pressing the **+** symbol on the right. Or rename existing workspaces by clicking on the name according to your need.
![Workspace Overview Accessible from Top Left Corner][5]
### Delete a workspace
You can in fact create several workspaces by clicking the + sign. In case you want to delete a workspace, click on the **X** sign on the top right of a workspace while hovering over it.
![Delete a Workspace][6]
I hope this quick post helped you to create a workspace in Linux Mint. Do you use workspaces frequently? Let us know your views on workspaces. Meanwhile, you may also check a post on [things to do after installing Linux Mint 20][7].
--------------------------------------------------------------------------------
via: https://itsfoss.com/workspaces-linux-mint/
作者:[Abhishek Prakash][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/quickly-fix-broken-unity-installing-cinnamon-20-ubuntu-1310/
[2]: https://itsfoss.com/wp-content/uploads/2022/08/workspace-overview-in-linux-mint.png
[3]: https://itsfoss.com/wp-content/uploads/2022/08/hot-corners-option-in-system-settings.png
[4]: https://itsfoss.com/wp-content/uploads/2022/08/show-all-workspaces-in-top-left-corner.png
[5]: https://itsfoss.com/wp-content/uploads/2022/08/workspace-overview-accessible-from-top-left-corner-1.png
[6]: https://itsfoss.com/wp-content/uploads/2022/08/delete-a-workspace.png
[7]: https://itsfoss.com/things-to-do-after-installing-linux-mint-20/

View File

@ -1,142 +0,0 @@
[#]: subject: "Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users"
[#]: via: "https://itsfoss.com/blackbox-terminal/"
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users
======
There are [numerous terminal emulators available for Linux][1]. From Terminator to Tilix, you have a wide selection of terminals to choose from.
But that has not deterred the arrival of new terminal applications. You recently learned about [GNOME Console][2], and today, Ill introduce you to Blackbox.
### Blackbox Terminal: Overview and Features
Blackbox is a terminal emulator which supports GTK4. The developer created this project so that he could use a decent-looking terminal app on Linux.
So, dont expect it to have ton of features. It is just a terminal emulator that utilizes GTK4 toolkit and has support for themes.
In other words, it is more about the looks than the features.
Here are the main highlights of Blackbox:
* Theming ([Tilix][3] compatible color scheme support)
* Theme integration with the window decorations
* Custom fonts
* Various customizable UI settings
* Tabs
* Toggleable header bar
* Click to open links
* Files drag-n-drop support
Talking about the looks, let us go through the different looks it offers. The default window will look something like the screenshot below.
![Default look of Blackbox terminal][4]
#### No header bar
You can also have no header bar, as shown below. Its one of the most popular features of GTK4 apps.
![Blackbox without header bar][5]
You can also enable floating controls in no header-bar mode.
![Floating controls with no header bar mode][6]
#### Easy copy and paste (dont revolt)
Ctrl+C and Ctrl+V are like the universal keyboard shortcuts for copy-paste.
But the ancient Unix existed before the universe and hence it uses the [Ctrl+C keys for terminating a running program in the terminal][7].
However, some people find it a bit inconvenient not to be able to use their favorite shortcuts for [copy-pasting in the terminal][8].
Blackbox allows you to change that by enabling the “Easy Copy & Paste” setting. With this setting enabled, you can use Ctrl+C and Ctrl+v for copy-paste operation.
Dont worry. Ctrl+C can still be used for stopping running commands.
![Easy copy-paste mode allows using Ctrl+C and Ctrl+V keys][9]
#### Themes
You can also select different themes from the settings. There are several light and dark themes available to choose from. You can also use Tilix styled theming.
![Available themes for Blackbox][10]
Let us see how it looks with the Yaru theme and with tabs not expanding, unlike the default Blackbox behaviour.
![Blackbox with a changed theme][11]
#### Reset to default
There are a few more handy features like remember window size, scroll by pixels etc.
The good thing is that if you made too many changes to the settings, you can revert them all and reset to the default settings.
The option is available in the Advanced tab of Preferences.
![reset blackbox settings to default][12]
### Installing Blackbox terminal
Please keep in mind that **Blackbox is in the early stages of development**. I experienced some crashes when I switched themes.
To install Blackbox Terminal you should have [Flatpak installed and Flathub repo enabled][13] in your system.
Use this command to install Blackbox on your system:
```
flatpak install flathub com.raggesilver.BlackBox
```
On Fedora and some other distributions that integrate with Flatpak, you can install Blackbox from the software center.
![Blackbox can also be installed in GNOME Software Center][14]
Once installed, you can launch it from the applications menu.
#### Removing Blackbox Terminal
If you dont like Blackbox and want to remove it, enter the following command to remove it.
```
flatpak uninstall flathub com.raggesilver.BlackBox
```
### Conclusion
In my opinion, Blackbox is a decent terminal emulator. You get all the eye-candy GTK4 can offer on distributions that do not support GTK4 already. The feature it offers are good enough for day to day work.
In the end, it all comes to personal preference. You may like it. You may not like it. If you like experimenting, give it a try and share your experience with us in the comment section.
--------------------------------------------------------------------------------
via: https://itsfoss.com/blackbox-terminal/
作者:[Anuj Sharma][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/anuj/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/linux-terminal-emulators/
[2]: https://itsfoss.com/gnome-console/
[3]: https://github.com/gnunn1/tilix
[4]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-default.png
[5]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-noheader.png
[6]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-floating-controls.png
[7]: https://itsfoss.com/stop-program-linux-terminal/
[8]: https://itsfoss.com/copy-paste-linux-terminal/
[9]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-easy-copy-paste.png
[10]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-theme-selection.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-yaru.png
[12]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-reset.png
[13]: https://itsfoss.com/flatpak-guide/
[14]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-install.png

View File

@ -1,147 +0,0 @@
[#]: subject: "sudo apt update vs upgrade: Whats the Difference?"
[#]: via: "https://itsfoss.com/apt-update-vs-upgrade/"
[#]: author: "Abhishek Prakash https://itsfoss.com/"
[#]: collector: "lkxed"
[#]: translator: "Yufei-Yan"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
sudo apt update vs upgrade: Whats the Difference?
======
If you want to keep your Ubuntu or Debian system updated, you use the combination of **sudo apt update** and **sudo apt upgrade** commands.
Some older tutorial also mention **sudo apt-get update** and **sudo apt-get upgrade**.
Both apt and apt-get commands work pretty much the same except for some minor differences that Ill discuss later in this later.
Lets first discuss the difference between update and upgrade. Are not the two the same thing?
### Difference between apt update and upgrade
Though it sounds like running the apt update will give you the latest version of the package, its not true. The update command only gets the information about the latest version of packages available for your system. It doesnt download or install any package. It is the apt upgrade command that actually downloads and upgrades the package to the new version.
Still confused? Let me explain a bit more. I advise [reading up on the concept of package manager][1]. It will help you understand things even better.
![Linux Package Manager Explanation][2]
Basically your system works on a database (cache) of available packages. Note that this cache or database doesnt contain the packages themselves, just the metadata (version, repository, dependency etc) on the package.
If you dont update this database, the system wont know if there are newer packages available or not.
When you run the apt update or apt-get update command, it will fetch the updated metadata (package version etc) on the packages.
![apt update][3]
Your local package cache has been updated and there are packages that can be upgraded. You can upgrade all of the (upgradable) packages with sudo apt upgrade.
It shows the packages that are going to be upgraded and ask you to confirm by pressing enter (for default choice Y) or Y key. To cancel the upgrade at this stage, you can press N.
![apt upgrade][4]
If it helps you remember:
* apt update: updates the package cache (to know which package versions can be installed or upgraded)
* apt upgrade: upgrades packages to the new version
Since these are administrative commands, you need to run them as root. And hence you use sudo with both commands. The sudo part lets you run commands as root in Ubuntu and Debian.
Now that you understand how the combination update and upgrade works, lets discuss the use of apt and apt-get.
### apt or apt-get? Which one should you be using?
Debian and Ubuntu use the APT package management system. Dont confuse it with the apt command.
There are many commands that interact with the APT package management; apt-get, apt, dpkg, aptitude etc.
The apt-get command was the most popular of them all. It is a low-level, feature rich command. apt is a newer and simpler version of apt-get.
You can [read this article to learn on the differences of apt and apt-get commands][5]. Let me focus on difference between the update and upgrade options of these commands.
#### apt update vs apt-get update
Both `apt-get update` and `apt update` do the same task of updating the local package cache so that your system is aware of the available package versions.
Technically, there is no difference. However, apt update does one thing better than apt-get update. It **tells you the number of packages that can be upgraded**.
```
Hit:15 https://ppa.launchpadcontent.net/slimbook/slimbook/ubuntu jammy InRelease
Fetched 213 kB in 4s (55.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
```
apt-get update doesnt even tell you if any package can be upgraded.
![apt get update][6]
![apt update output][7]
You can see the [list of upgradable packages][8] with apt but apt-get doesnt have this option.
```
[email protected]:~$ apt list --upgradable
Listing... Done
fprintd/jammy-updates 1.94.2-1ubuntu0.22.04.1 amd64 [upgradable from: 1.94.2-1]
gnome-control-center-data/jammy-updates,jammy-updates 1:41.7-0ubuntu0.22.04.4 all [upgradable from: 1:41.7-0ubuntu0.22.04.1]
gnome-control-center-faces/jammy-updates,jammy-updates 1:41.7-0ubuntu0.22.04.4 all [upgradable from: 1:41.7-0ubuntu0.22.04.1]
gnome-control-center/jammy-updates 1:41.7-0ubuntu0.22.04.4 amd64 [upgradable from: 1:41.7-0ubuntu0.22.04.1]
libpam-fprintd/jammy-updates 1.94.2-1ubuntu0.22.04.1 amd64 [upgradable from: 1.94.2-1]
vivaldi-stable/stable 5.4.2753.40-1 amd64 [upgradable from: 5.4.2753.37-1]
```
Lets talk compare the upgrade option of both commands.
#### apt upgrade vs apt-get upgrade
Both apt-get upgrade and apt upgrade commands install the newer version of the upgradable packages based on the data in the local package cache (refreshed by the update command).
However, the apt upgrade command does couple of things differently than its apt-get counterpart.
The **apt upgrade command can upgrade the Linux kernel version, apt-get upgrade cannot** do that. You need to use [apt-get dist-upgrade][9] for upgrading the kernel version with apt-get command.
![apt-get upgrade command cannot upgrade Linux kernel version][10]
This is because upgrading the kernel version means installing a completely new package. apt-get upgrade command cannot install a new package. It can only upgrade existing packages.
Another small thing that apt upgrade does better than apt-get upgrade is to **show a progress bar** at the bottom.
![apt upgrade progress bar][11]
### Conclusion
The word update and upgrades are similar and this is why it confuses a lot of new users. At times, I think the apt update command should be merged with the apt upgrade command.
I mean the upgrade (of installed package versions) works in conjugation with the update (of local package metadata cache). Why have two separate commands for that? Combine them in a single upgrade command. This is what Fedora has done with the DNF command. Thats just my opinion.
I hope this article cleared some air around the usage of apt-get update, apt-get upgrade and apt update and apt upgrade commands.
Do let me know if you have any questions.
--------------------------------------------------------------------------------
via: https://itsfoss.com/apt-update-vs-upgrade/
作者:[Abhishek Prakash][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/package-manager/
[2]: https://itsfoss.com/wp-content/uploads/2020/10/linux-package-manager-explanation.png
[3]: https://itsfoss.com/wp-content/uploads/2022/08/apt-update.png
[4]: https://itsfoss.com/wp-content/uploads/2022/08/apt-upgrade.png
[5]: https://itsfoss.com/apt-get-upgrade-vs-dist-upgrade/
[6]: https://itsfoss.com/wp-content/uploads/2022/08/apt-get-update.png
[7]: https://itsfoss.com/wp-content/uploads/2022/08/apt-update-output.png
[8]: https://itsfoss.com/apt-list-upgradable/
[9]: https://itsfoss.com/apt-get-upgrade-vs-dist-upgrade/
[10]: https://itsfoss.com/wp-content/uploads/2022/08/apt-get-upgrade.png
[11]: https://itsfoss.com/wp-content/uploads/2022/08/apt-upgrade-progress-bar.png

View File

@ -1,115 +0,0 @@
[#]: subject: "How to Get KDE Plasma 5.25 in Kubuntu 22.04 Jammy Jellyfish"
[#]: via: "https://www.debugpoint.com/kde-plasma-5-25-kubuntu-22-04/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Get KDE Plasma 5.25 in Kubuntu 22.04 Jammy Jellyfish
======
The KDE developers now enabled the popular backports PPA with necessary updates with KDE Plasma 5.25 which you can install now in Kubuntu 22.04 Jammy Jellyfish. Heres how.
KDE Plasma 5.25 released a few days back on June 14, 2022 with some stunning updates. With this release, you get the **dynamic accent colour**, revamped login avatars, **floating panel** and many such features which we covered in the [feature highlight article][1].
But, if you are running [Kubuntu 22.04 Jammy Jellyfish][2] which was released long back on April 2022, you have the KDE Plasma 5.24 with KDE Framework 5.92.
You probably waiting to enjoy the new features in your stable Kubuntu 22.04 release, and now its possible to install it in Kubuntu 22.04 via the famous backports PPA.
### How to Install KDE Plasma 5.25 in Kubuntu 22.04
Heres how you can upgrade Kubuntu 22.04 with latest KDE Plasma 5.25.
#### GUI Method
If you are comfortable with KDEs software app Discover, then open the app. Then browse to the Settings > Sources and add the PPA `ppa:kubuntu-ppa/backports-extra`. Then Click on Updates.
#### Terminal Method (recommended)
I would recommend you to open a terminal and do this upgrade for faster execution and installation.
* Open Konsole and run the following commands to add the [backport PPA][3].
```
sudo add-apt-repository ppa:kubuntu-ppa/backports-extra
```
![Upgrade Kubuntu 22.04 with KDE Plasma 5.25][4]
* Now, refresh the package list by running the following command. Then verify the 5.25 packages are available.
```
sudo apt update
```
```
apt list --upgradable | grep 5.25
```
![KDE Plasma 5.25 packages are available now][5]
Finally, run the last command to kick-off the upgrade.
```
sudo apt full-upgrade
```
The total download size is around 200 MB worth of packages. The entire process takes around 10 minutes of your time based on your internet connection speed.
After the above command is complete, restart your system.
Post-restart, you should see the new KDE Plasma 5.25 in Kubuntu 22.04 LTS.
![KDE Plasma 5.25 in Kubuntu 22.04 LTS][6]
### Other backport PPA
Please note that the [other backport PPA][7] `ppa:kubuntu-ppa/backports` is currently have Plasma 5.24. So do not use the following PPA which is different than the above. I am not sure whether this PPA would get this update.
```
sudo add-apt-repository ppa:kubuntu-ppa/backports // don't use this
```
### How to Uninstall
At any moment, if you would like to go back to the stock version of KDE Plasma desktop, then you can install ppa-purge and remove the PPA, followed by refreshing the package.
Open a terminal and execute the following commands in sequence.
```
sudo apt install ppa-purge
sudo ppa-purge ppa:kubuntu-ppa/backports-extra
sudo apt update
```
Once the above commands are complete, restart your system.
### Closing Notes
There you have it. A nice and simple steps to upgrade stock KDE Plasma to Plasma 5.25 in Jammy Jellyfish. I hope, your upgrade goes fine.
Do let me know in the comment section if you face any error.
Cheers.
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/kde-plasma-5-25-kubuntu-22-04/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed
[1]: https://www.debugpoint.com/kde-plasma-5-25/
[2]: https://www.debugpoint.com/kubuntu-22-04-lts/
[3]: https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/backports-extra
[4]: https://www.debugpoint.com/wp-content/uploads/2022/08/Upgrade-Kubuntu-22.04-with-KDE-Plasma-5.25.jpg
[5]: https://www.debugpoint.com/wp-content/uploads/2022/08/KDE-Plasma-5.25-packages-are-available-now.jpg
[6]: https://www.debugpoint.com/wp-content/uploads/2022/08/KDE-Plasma-5.25-in-Kubuntu-22.04-LTS-1024x575.jpg
[7]: https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/backports

View File

@ -1,128 +0,0 @@
[#]: subject: "How I analyze my music directory with Groovy"
[#]: via: "https://opensource.com/article/22/8/groovy-script-java-music"
[#]: author: "Chris Hermansen https://opensource.com/users/clhermansen"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How I analyze my music directory with Groovy
======
To simplify Java's clunkiness, I made a Groovy tool to analyze my music directory.
Lately, Ive been looking at how Groovy streamlines the slight clunkiness of Java. In this article, I begin a short series to demonstrate Groovy scripting by creating a tool to analyze my music directory.
In this article, I demonstrate how the `groovy.File` class extends and streamlines `java.File` and simplifies its use. This provides a framework for looking at the contents of a music folder to ensure that expected content (for example, a `cover.jpg` file) is in place. I use the [JAudiotagger library][2] to analyze the tags of any music files.
### Install Java and Groovy
Groovy is based on Java and requires a Java installation. Both a recent and decent version of Java and Groovy might be in your Linux distribution's repositories. Groovy can also be installed directly from the [Apache Foundation website][3]. A nice alternative for Linux users is [SDKMan][4], which can be used to get multiple versions of Java, Groovy, and many other related tools. For this article, I use SDK's releases of:
* Java: version 11.0.12-open of OpenJDK 11
* Groovy: version 3.0.8
### Music metadata
Lately, I've consolidated my music consumption options. I've settled on using the excellent open source [Cantata][5] music player, which is a front end for the open source [MPD music player daemon][6]. All my computers have their music stored in the `/var/lib/mpd/music` directory. In that music directory are artist subdirectories, and in each artist subdirectory are album sub-subdirectories containing the music files, a `cover.jpg`, and occasionally PDFs of the liner notes.
Almost all of my music files are in FLAC format, with a few in MP3 and maybe a small handful in OGG. One reason I chose the JAudiotagger library is because it handles the different tag formats transparently. Of course, JAudiotagger is open source!
So what's the point of looking at audio tags? In my experience, audio tags are extremely poorly managed. The word "careless" comes to mind. But that may be as much a recognition of my own pedantic tendencies as real problems in the tags themselves. In any case, this is a non-trivial problem that can be solved with the use of Groovy and JAudiotagger. It's not only applicable to music collections, though. Many other real-world problems include the need to descend a directory tree in a filesystem to do something with the contents found there.
### Using the Groovy script
Here's the basic code required for this task. I've incorporated comments in the script that reflect the (relatively abbreviated) "comment notes" I typically leave for myself:
```
1 // Define the music libary directory
2 def musicLibraryDirName = '/var/lib/mpd/music'
3 // Print the CSV file header
4 println "artistDir|albumDir|contentFile"
5 // Iterate over each directory in the music libary directory
6 // These are assumed to be artist directories
7 new File(musicLibraryDirName).eachDir { artistDir ->
8 // Iterate over each directory in the artist directory
9 // These are assumed to be album directories
10 artistDir.eachDir { albumDir ->
11 // Iterate over each file in the album directory
12 // These are assumed to be content or related
13 // (cover.jpg, PDFs with liner notes etc)
14 albumDir.eachFile { contentFile ->
15 println "$artistDir.name|$albumDir.name|$contentFile.name"
16 }
17 }
18 }
```
As noted above, I'm using `groovy.File` to move around the directory tree. Specifically:
Line 7 creates a new `groovy.File` object and calls `groovy.File.eachDir()` on it, with the code between the `{` on line 7 and the closing `}` on line 18 being a `groovy.Closure` argument to `eachDir()`.
What this means is that `eachDir()` executes that code for each subdirectory found in the directory. This is similar to a Java *lambda* (also called an "anonymous function"). The Groovy closure doesn't restrict access to the calling environment in the way lambda does (in recent versions of Groovy, you can use Java lambdas if you want to). As noted above, subdirectories within the music library directory are expected to be artist directories (for example, "Iron Butterfly" or "Giacomo Puccini") so the `artistDir` is the argument passed by `eachDir()` to the closure.
Line 10 calls `eachDir()` on each `artistDir`, with the code between the `{` on line 10 and the `}` on line 17 forming another closure which processes the `albumDir`.
Line 14, calls `eachFile()` on each `albumDir`, with the code between the `{` on line 14 and the `}` on line 16 forming the third-level closure that processes the contents of the album.
For the scope of this article, the only thing I need to do with each file is begin to build the table of information, which I'm creating as a bar-delimited CSV file that can be imported into [LibreOffice][7] or [OnlyOffice][8], or any other spreadsheet. Right now, the code writes out the first three columns: artist directory name, album directory name, and content file name (also, line 2 writes out the CSV header line).
Running this on my Linux laptop produces the following output:
```
$ groovy TagAnalyzer.groovy | head
artistDir|albumDir|contentFile
Habib Koite & Bamada|Afriki|02 - Ntesse.flac
Habib Koite & Bamada|Afriki|08 - NTeri.flac
Habib Koite & Bamada|Afriki|01 - Namania.flac
Habib Koite & Bamada|Afriki|07 - Barra.flac
Habib Koite & Bamada|Afriki|playlist.m3u
Habib Koite & Bamada|Afriki|04 - Fimani.flac
Habib Koite & Bamada|Afriki|10 - Massake.flac
Habib Koite & Bamada|Afriki|11 - Titati.flac
Habib Koite & Bamada|Afriki|03 Africa.flac
[...]
Richard Crandell|Spring Steel|04-Japanese Lullaby [Richard Crandell].flac
Richard Crandell|Spring Steel|Spring Steel.pdf
Richard Crandell|Spring Steel|03-Zen Dagger [Richard Crandell].flac
Richard Crandell|Spring Steel|cover.jpg
$
```
In terms of performance:
```
$ time groovy TagAnalyzer.groovy | wc -l
9870
real        0m1.482s
user        0m4.392s
sys        0m0.230s
$
```
Nice and quick. It processes nearly 10,000 files in a second and a half! Plenty fast enough for me. Respectable performance, compact and readable code—what's not to like?
In my next article, I crack open the JAudiotagger interface and look at the tags in each file.
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/8/groovy-script-java-music
作者:[Chris Hermansen][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/clhermansen
[b]: https://github.com/lkxed
[1]: https://opensource.com/sites/default/files/lead-images/programming-code-keyboard-laptop-music-headphones.png
[2]: http://www.jthink.net/jaudiotagger/examples_read.jsp
[3]: https://groovy.apache.org/download.html
[4]: https://opensource.com/article/22/3/manage-java-versions-sdkman
[5]: https://opensource.com/article/17/8/cantata-music-linux
[6]: https://www.musicpd.org/
[7]: https://opensource.com/tags/libreoffice
[8]: https://opensource.com/article/20/7/nextcloud

Some files were not shown because too many files have changed in this diff Show More