Merge pull request #28182 from robsean/patch-25

Translated
This commit is contained in:
Xingyu.Wang 2022-12-10 09:01:01 +08:00 committed by GitHub
commit 5cdd2f28c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 116 additions and 116 deletions

View File

@ -1,116 +0,0 @@
[#]: subject: "How to Install GNOME Desktop Environment in Linux Mint"
[#]: via: "https://itsfoss.com/install-gnome-linux-mint/"
[#]: author: "Sagar Sharma https://itsfoss.com/author/sagar/"
[#]: collector: "lkxed"
[#]: translator: "robsean"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Install GNOME Desktop Environment in Linux Mint
======
Linux Mint is an excellent Linux distribution, especially for beginners.
I like that it stays on the familiar Ubuntu/Debian front and yet it does several things [better than Ubuntu][1]. One of them is that it doesnt push Snaps down my throat.
However, I am not a fan of the Cinnamon desktop as I never really liked the Windows XP or 7s default setup either.
As I was looking for the stability that Linux Mint offered with the ability to use GNOME and heres what I got in the end:
![install gnome in linux mint][2]
Nothing too fancy but this is my Linux Mint 21 running GNOME 42.5.
And if you want to install GNOME on Linux Mint, this guide is for you.
### Things to know before installing GNOME on Linux Mint
You really should have good enough reasons to install GNOME on Mint. If you are just feeling experimental, try it in a virtual machine. I performed this tutorial with [Linux Mint installed in VirtualBox][3].
The thing about installing a desktop environment other than the one provided by the distribution is that the removal part complicates the matter.
Cinnamon uses some GNOME elements. If you decide to remove GNOME later, it may impact some parts of Cinnamon.
This could be a cause of panic for inexperienced users. Of course, reinstalling the Cinnamon desktop from the TTY screen could be a possible solution here.
The gist of all this is that if you easily get spooked and dont like troubleshooting, you should not do these experiments on your main computer.
With that aside, lets see the simple procedure of getting GNOME on Linux Mint.
### Install GNOME Desktop Environment in Linux Mint
Here you have two options. Either you can go with a complete GNOME desktop which includes all the GNOME utilities, or you can go with the stripped-down version having the least amount of GNOME packages.
And I will be covering both.
To **install GNOME with the least amount of GNOME utilities,** youd have to install a package named `vanilla-GNOME` using the given command:
```
sudo apt install vanilla-gnome-desktop
```
And **if you want to have a complete GNOME experience**, you can simply install the `gnome` package:
```
sudo apt install gnome
```
Once you execute any of the two shown commands, you will be asked to choose the preferred display manager in the next step.
![choose display manager][4]
`gdm3` is a display manager for the GNOME desktop while Linux Mint uses `lightdm` by default and both should work just fine, but I will suggest you go with gdm3 to have the complete GNOME experience.
#### Switching to GNOME
Once done, log out and hit enter once, and there youd see a small gear icon. From here, choose GNOME:
![choose gnome while logging in][5]
And now, you have GNOME with Linux Mint as a base!
#### Bonus Tip: How to Apply Themes with consistency
You can use that Cinnamon themes, but most of them dont work as expected, so I will recommend using GNOME themes such as Adwaita to have consistency around the desktop.
For me, the default fonts do not work at all, and I prefer something close to what Fedora offers. So open GNOME tweaks from the system menu and make changes as shown:
![change fonts in ubuntu to have vanilla gnome experience][6]
Heres what I have used:
- **Cantarell Regular (11)** for both interface and document text.
- **Noto Sans Mono Regular (13)** for monospace text.
- **Cantarell Bold (11)** for window titles.
And it turned out to be far better than the default Ubuntu font scheme.
Since you have GNOME, you can use our detailed guide on installing and [changing GNOME themes on Linux][7] to make it as your heart desires.
### Wrapping Up
As you can see, installing GNOME on Linux Mint is quite simple. And as I mentioned earlier, the removal part could complicate things as it has the possibility of removing some GNOME packages required by Cinnamon.
What is powering your main machine right now? Im on Pop!_OS.
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-gnome-linux-mint/
作者:[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://itsfoss.com/author/sagar/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/linux-mint-vs-ubuntu/
[2]: https://itsfoss.com/wp-content/uploads/2022/11/install-gnome-in-linux-mint.png
[3]: https://itsfoss.com/install-linux-mint-in-virtualbox/
[4]: https://itsfoss.com/wp-content/uploads/2022/11/choose-display-manager.png
[5]: https://itsfoss.com/wp-content/uploads/2022/11/choose-gnome-while-logging-in.png
[6]: https://itsfoss.com/wp-content/uploads/2022/11/change-fonts-in-ubuntu-to-have-vanilla-gnome-experience.png
[7]: https://itsfoss.com/install-switch-themes-gnome-shell/

View File

@ -0,0 +1,116 @@
[#]: subject: "How to Install GNOME Desktop Environment in Linux Mint"
[#]: via: "https://itsfoss.com/install-gnome-linux-mint/"
[#]: author: "Sagar Sharma https://itsfoss.com/author/sagar/"
[#]: collector: "lkxed"
[#]: translator: "robsean"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
如何在 Linux Mint 上安装 GNOME 桌面环境
======
Linux Mint 是一款极好的 Linux 发行版,特别适合初学者。
我喜欢它仍然保持常见的 Ubuntu/Debian 字体,但是它还做了一些 [比 Ubuntu 更好的][1] 工作。其中之一就是它没有使用 Snaps 。
然而,我不是 Cinnamon 桌面环境的粉丝,因为我从来没有真正地喜欢过 Windows XP 或 7 的默认设置。
当我在为 Linux Mint 寻找能提供稳定使用 GNOME 的能力时,这便是我最终获得的结果:
![install gnome in linux mint][2]
这就是我运行 GNOME 42.5 的 Linux Mint 21 。
如果你想在 Linux Mint 上安装 GNOME ,那么这篇指南非常适合你。
### 在 Linux Mint 上安装GNOME 之前所要知道的事
你真的应该有足够的理由来在 Mint 上安装 GNOME 。如果你只是为了尝鲜,可以在虚拟机中尝试。我使用 [在 VirtualBox 中安装的 Linux Mint][3] 来演示这篇教程。
在发行版上安装一种桌面环境与直接使用来自发行版所提供的桌面环境相比,移除桌面环境部分会使其变成一件很复杂化的事。
Cinnamon 使用一些 GNOME 元素。如果你决定稍后移除 GNOME ,这可能会影响到 Cinnamon 的一部分功能。
这可能会导致缺少实战经验用户的恐慌。当然,在 TTY 屏幕中重新安装 Cinnamon 桌面环境可能是一种可行的解决方案。
最重要的一点是,如果你很容易惊慌地不知所措和不喜欢解决难题,那么你就不应该在你的主力计算机上做这些 ‘试验’ 。
抛开这些顾虑,让我们看看在 Linux Mint 上获取 GNOME 的简单过程。
### 在 Linux Mint 上安装 GNOME 桌面环境
在这里你有两个选项。1、你可以使用包含所有的 GNOME 实用程序的完整的 GNOME 桌面2、你也可以使用包含极少数软件包的 GNOME 精简版本、
我都将讲解一下。
**安装精简版本的 GNOME** ,你需要安装一个名称为 `vanilla-GNOME` 的软件包,使用下面给定的命令:
```
sudo apt install vanilla-gnome-desktop
```
**如果你想要完整的 GNOME 体验** ,你可以简单地安装 `gnome` 软件包:
```
sudo apt install gnome
```
在你执行上述任一个命令后,在接下来的步骤中将会要求你选择首选的显示管理器。
![choose display manager][4]
`gdm3` 是 GNOME 桌面的显示管理器,而 Linux Mint 使用 `lightdm` 作为默认的显示管理器,这两种显示器都可以正常工作,但是,我建议你使用 gdm3 来获取完整的 GNOME 体验。
#### 切换到 GNOME
在完成后,注销并按一次 enter 按键,在这里,你将看到一个小齿轮图标。从这里选择 GNOME
![choose gnome while logging in][5]
现在,你拥有以 Linux Mint 为基础的 GNOME 桌面环境!
#### 额外提示:如何应用整体风格一致的主题
你可以继续使用 Cinnamon 桌面的主题,但是它们大多不能如前工作,因此,我建议使用 GNOME 桌面的主题(例如 Adwaita )来保持桌面环境的一致性。
对我而言,其默认的字体没有一点效果。并且,我更喜欢 Fedora 提供的一些字体。因此,从系统菜单打开 <ruby>GNOME 调整<rt>GNOME tweaks</rt></ruby> 窗口,并作出如下更改:
![change fonts in ubuntu to have vanilla gnome experience][6]
这里是我使用的一些东西:
- **Cantarell Regular (11)** 用于界面和文档文本。
- **Noto Sans Mono Regular (13)** 用于等宽字体文本。
- **Cantarell Bold (11)** 用于窗口标题。
它们的结果是,比默认的 Ubuntu 字体方案要好得多。
既然你有了 GNOME ,你可以使用我们的详细指南来安装和 [更改 Linux 上的 GNOME 主题][7],来使其成为你所梦想的样子。
### 总结
如你所见,在 Linux Mint 上安装 GNOME 是非常简单的。正如我先前所提到的那样,移除部分可能会使事情复杂化,因为这可能会移除一些 Cinnamon 所需要的一些 GNOME 软件包。
你现在的主力计算机系统是什么?我的是 Pop!_OS 。
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-gnome-linux-mint/
作者:[Sagar Sharma][a]
选题:[lkxed][b]
译者:[robsean](https://github.com/robseans)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/sagar/
[b]: https://github.com/lkxed
[1]: https://itsfoss.com/linux-mint-vs-ubuntu/
[2]: https://itsfoss.com/wp-content/uploads/2022/11/install-gnome-in-linux-mint.png
[3]: https://itsfoss.com/install-linux-mint-in-virtualbox/
[4]: https://itsfoss.com/wp-content/uploads/2022/11/choose-display-manager.png
[5]: https://itsfoss.com/wp-content/uploads/2022/11/choose-gnome-while-logging-in.png
[6]: https://itsfoss.com/wp-content/uploads/2022/11/change-fonts-in-ubuntu-to-have-vanilla-gnome-experience.png
[7]: https://itsfoss.com/install-switch-themes-gnome-shell/