mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
Merge pull request #25718 from lkxed/20220519-How-To-Enable-Activate-Linux-Watermark-Notification-In-Linux-Desktop
[提交译文][tech]: 20220519 How To Enable Activate Linux Watermark Notification In Linux Desktop.md
This commit is contained in:
commit
b9a3a7608f
@ -1,141 +0,0 @@
|
||||
[#]: subject: "How To Enable Activate Linux Watermark Notification In Linux Desktop"
|
||||
[#]: via: "https://ostechnix.com/activate-linux/"
|
||||
[#]: author: "sk https://ostechnix.com/author/sk/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: " "
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
How To Enable Activate Linux Watermark Notification In Linux Desktop
|
||||
======
|
||||
The "Activate Windows" Watermark is ported to Linux.
|
||||
|
||||
In an attempt to stop piracy of Windows OS, the Microsoft developer team has come up with an idea to place a watermark in the corner until the users legally purchase a license and activate the Windows OS.
|
||||
|
||||
If you're running a pirated Windows copy in your system, you should have noticed the "Activate Windows" watermark notification in the lower bottom corner as shown in the below screenshot.
|
||||
|
||||
![Activate Windows Notification][1]
|
||||
|
||||
Fortunately, the Linux users will never get such notifications. Because GNU/Linux is an entirely free, open source operating system, released under the GNU General Public License (GPL).
|
||||
|
||||
Anyone can run, study, modify, and redistribute the Linux source code, or even sell copies of their modified code, as long as they do so under the same license.
|
||||
|
||||
Since Linux is open source, there is nothing you can do with Linux really, that you can't do with proprietary operating systems.
|
||||
|
||||
There are a whole of things you can do in Linux. Be it a fun project or an enterprise-grade application, you can build and run *almost* anything under Linux. Even it is possible to add the "Activate Linux" watermark as well.
|
||||
|
||||
### What Is Activate Linux?
|
||||
|
||||
A few days ago I came across a fun project called "Activate Linux". It is very similar to "Activate Windows" notification that you see in a non-licensed Windows OS.
|
||||
|
||||
The developer of Activate Linux has recreated the "Activate Windows" notification watermark for Linux with with Xlib and cairo in C.
|
||||
|
||||
This will show a watermark on your Linux desktop and notify you to go to settings to activate your Linux distribution! Cool, yeah?
|
||||
|
||||
### Enable Activate Linux Watermark
|
||||
|
||||
The activate-linux project became very popular in a short period of time. It has already been packaged for popular Linux distributions such as Arch Linux, openSUSE and Ubuntu within a few days.
|
||||
|
||||
#### Arch Linux
|
||||
|
||||
Activate-linux is available in **[AUR][2]**. So you can install activate-linux app in Arch Linux and its variants EndeavourOS and Manjaro Linux using **[Paru][3]** or **[Yay][4]**.
|
||||
|
||||
```
|
||||
$ paru -S activate-linux
|
||||
```
|
||||
|
||||
Or,
|
||||
|
||||
```
|
||||
$ yay -S activate-linux
|
||||
```
|
||||
|
||||
#### openSUSE
|
||||
|
||||
Activate-linux is available in **[OBS][5]**.
|
||||
|
||||
If you use openSUSE Tumbleweed edition, run the following commands one by one to install activate-linux:
|
||||
|
||||
```
|
||||
$ sudo zypper addrepo https://download.opensuse.org/repositories/home:WoMspace/openSUSE_Tumbleweed/home:WoMspace.repo
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper refresh
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper install activate-linux
|
||||
```
|
||||
|
||||
For openSUSE Factory ARM, run the following:
|
||||
|
||||
```
|
||||
$ sudo zypper addrepo https://download.opensuse.org/repositories/home:WoMspace/openSUSE_Factory_ARM/home:WoMspace.repo
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper refresh
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper install activate-linux
|
||||
```
|
||||
|
||||
#### Ubuntu
|
||||
|
||||
Activate-linux has a PPA for Ubuntu and its derivatives like Pop!_OS.
|
||||
|
||||
```
|
||||
$ sudo add-apt-repository ppa:edd/misc
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo apt update
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo apt install activate-linux
|
||||
```
|
||||
|
||||
Once installed, simply run it from the Terminal using command:
|
||||
|
||||
```
|
||||
$ activate-linux
|
||||
```
|
||||
|
||||
You will now see the "Activate Linux" watermark notification in the corner of the desktop just like in a non-licensed Windows copy.
|
||||
|
||||
![Activate Linux Watermark In Desktop][6]
|
||||
|
||||
Don't be alarmed! It is harmless. To get rid of this notification, go back to the terminal and kill the activate-linux command by pressing **CTRL+C**.
|
||||
|
||||
I tested this on Ubuntu 22.04 GNOME edition. It works out of the box in Wayland.
|
||||
|
||||
Activate Linux is a one of the pretty funny as well as useless project ever I have come across in a while. I guess it is going to make every Windows switcher feel so much more comfortable!!
|
||||
|
||||
### Resource
|
||||
|
||||
* [Activate Linux GitHub Repository][7]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://ostechnix.com/activate-linux/
|
||||
|
||||
作者:[sk][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://ostechnix.com/author/sk/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://ostechnix.com/wp-content/uploads/2022/05/Activate-Windows-Notification.png
|
||||
[2]: https://aur.archlinux.org/packages/activate-linux-git
|
||||
[3]: https://ostechnix.com/how-to-install-paru-aur-helper-in-arch-linux/
|
||||
[4]: https://ostechnix.com/yay-found-yet-another-reliable-aur-helper/
|
||||
[5]: https://software.opensuse.org//download.html?project=home%3AWoMspace&package=activate-linux
|
||||
[6]: https://ostechnix.com/wp-content/uploads/2022/05/Activate-Linux.png
|
||||
[7]: https://github.com/MrGlockenspiel/activate-linux
|
@ -0,0 +1,142 @@
|
||||
[#]: subject: "How To Enable Activate Linux Watermark Notification In Linux Desktop"
|
||||
[#]: via: "https://ostechnix.com/activate-linux/"
|
||||
[#]: author: "sk https://ostechnix.com/author/sk/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "lkxed"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
如何在 Linux 桌面中启用 “激活 Linux” 水印通知
|
||||
======
|
||||
“激活 Windows” 水印已移植到 Linux。
|
||||
|
||||
为了阻止 Windows 操作系统的盗版行为,微软开发团队想出了一个办法:在 Windows 的角落放置一个激活水印,直到用户合法购买许可证并激活它。
|
||||
|
||||
如果你的电脑正在运行盗版的 Windows 副本,你应该已经注意到右下角的 “激活 Windows” 水印通知,如下图所示。
|
||||
|
||||
![“激活 Windows” 通知][1]
|
||||
|
||||
幸运的是,Linux 用户永远不会收到这样的通知。因为 GNU/Linux 是一个完全免费的开源操作系统,在 GNU 通用公共许可证 (GPL) 下发布。
|
||||
|
||||
任何人都可以运行、研究、修改和重新分发 Linux 源代码,甚至可以出售修改后的代码的副本,只要使用相同的许可即可。
|
||||
|
||||
(to 老王:我感觉这句话很奇怪……)
|
||||
Linux 是开源的,所以你真的可以用 Linux 做任何事情,而你不能用专有操作系统做任何事情。
|
||||
|
||||
你可以在 Linux 中做很多事情。你可以在 Linux 下构建和运行*几乎*任何东西,无论是有趣的项目还是企业级应用程序。甚至,你还可以添加 “激活 Linux” 水印。
|
||||
|
||||
### “激活 Linux” 是什么?
|
||||
|
||||
几天前,我注意到了一个叫做 “激活 Linux” 的有趣项目。它和你在未经许可的 Windows 操作系统中看到的 “激活 Windows” 通知非常相似。
|
||||
|
||||
“激活 Linux” 的开发者使用 C 语言中的 Xlib 和 cairo,重新创建了 Linux 版的 “激活 Windows” 通知水印。
|
||||
|
||||
它会在你的 Linux 桌面上显示一个水印,并通知你进入设置以激活你的 Linux 发行版!这很酷,不是吗?
|
||||
|
||||
### 启用 “激活 Linux” 水印
|
||||
|
||||
activate-linux 项目在短时间内变得非常流行。几天之内,它已经为许多流行的 Linux 发行版而打了包,例如 Arch Linux、openSUSE 和 Ubuntu。
|
||||
|
||||
#### Arch Linux
|
||||
|
||||
[AUR][2] 已经收录 Activate-linux。因此,你可以使用 [Paru][3] 或 [Yay][4] 在 Arch Linux 及其衍生版 EndeavourOS 和 Manjaro Linux 中安装 activate-linux 应用程序。
|
||||
|
||||
```
|
||||
$ paru -S activate-linux
|
||||
```
|
||||
|
||||
或者
|
||||
|
||||
```
|
||||
$ yay -S activate-linux
|
||||
```
|
||||
|
||||
#### openSUSE
|
||||
|
||||
[OBS][5] 收录了 Activate-linux。
|
||||
|
||||
如果你正在使用 openSUSE Tumbleweed 版本,请逐条运行下面的命令来安装 activate-linux:
|
||||
|
||||
```
|
||||
$ sudo zypper addrepo https://download.opensuse.org/repositories/home:WoMspace/openSUSE_Tumbleweed/home:WoMspace.repo
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper refresh
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper install activate-linux
|
||||
```
|
||||
|
||||
For openSUSE Factory ARM, run the following:
|
||||
|
||||
```
|
||||
$ sudo zypper addrepo https://download.opensuse.org/repositories/home:WoMspace/openSUSE_Factory_ARM/home:WoMspace.repo
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper refresh
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo zypper install activate-linux
|
||||
```
|
||||
|
||||
#### Ubuntu
|
||||
|
||||
Activate-linux 有一个适用于 Ubuntu 及其衍生版(如 Pop!_OS)的 PPA。
|
||||
|
||||
```
|
||||
$ sudo add-apt-repository ppa:edd/misc
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo apt update
|
||||
```
|
||||
|
||||
```
|
||||
$ sudo apt install activate-linux
|
||||
```
|
||||
|
||||
安装完成后,只需在终端执行下面的命令,就可以让它运行起来:
|
||||
|
||||
```
|
||||
$ activate-linux
|
||||
```
|
||||
|
||||
现在,你将在桌面的角落看到 “激活 Linux” 水印通知,就像在未授权的 Windows 副本中一样。
|
||||
|
||||
![桌面上的 “激活 Linux” 水印][6]
|
||||
|
||||
别紧张!它是无害的。若想取消显示,你可以返回终端并按 **CTRL+C** 终止 activate-linux 命令。
|
||||
|
||||
我在 Ubuntu 22.04 GNOME 版本上测试了一下。它在 Wayland 中开箱即用。
|
||||
|
||||
“激活 Linux” 是我这一段时间以来遇到的一个非常有趣又无用的项目。我想这会让每个刚从 Windows 切换过来的 Linux 用户,拥有更加舒适的体验吧!
|
||||
|
||||
### 相关资源
|
||||
|
||||
* [“激活 Linux” 的 GitHub 存储库][7]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://ostechnix.com/activate-linux/
|
||||
|
||||
作者:[sk][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[lkxed](https://github.com/lkxed)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://ostechnix.com/author/sk/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://ostechnix.com/wp-content/uploads/2022/05/Activate-Windows-Notification.png
|
||||
[2]: https://aur.archlinux.org/packages/activate-linux-git
|
||||
[3]: https://ostechnix.com/how-to-install-paru-aur-helper-in-arch-linux/
|
||||
[4]: https://ostechnix.com/yay-found-yet-another-reliable-aur-helper/
|
||||
[5]: https://software.opensuse.org//download.html?project=home%3AWoMspace&package=activate-linux
|
||||
[6]: https://ostechnix.com/wp-content/uploads/2022/05/Activate-Linux.png
|
||||
[7]: https://github.com/MrGlockenspiel/activate-linux
|
Loading…
Reference in New Issue
Block a user