mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-21 02:10:11 +08:00
Merge remote-tracking branch 'LCTT/master'
This commit is contained in:
commit
d56ad1eeb9
@ -1,42 +1,44 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (011011100010110101101111)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: reviewer: (wxy)
|
||||
[#]: publisher: (wxy)
|
||||
[#]: url: (https://linux.cn/article-12335-1.html)
|
||||
[#]: subject: (How to install Python on Windows)
|
||||
[#]: via: (https://opensource.com/article/19/8/how-install-python-windows)
|
||||
[#]: author: (Seth Kenlon https://opensource.com/users/sethhttps://opensource.com/users/greg-p)
|
||||
|
||||
如何在Windows上安装Python
|
||||
如何在 Windows 上安装 Python
|
||||
======
|
||||
> 安装Python,启动IDE,然后你就可以在Windows系统下进行编程了。
|
||||
![Hands programming][1]
|
||||
|
||||
> 安装 Python,启动 IDE,然后你就可以在 Windows 系统下进行编程了。
|
||||
|
||||

|
||||
|
||||
你是否想学习编程呢?可以从 [Python][2] 开始,它因为简洁的语法和面向对象的特性而非常受欢迎,是最常见的编程语言之一。而且 Python 是一门解释型语言,这意味着你无需知道如何把 Python 代码编译为机器语言 —— Python 会帮你做到这一点,从而使你能够在编写代码的同时立即进行测试。
|
||||
|
||||
但是你也不能仅仅因为 Python 学习起来简单而低估了它强大的潜能,无论是在 [电影][4]、 [工作室][5]、视频游戏工作室,还是在金融机构、IT机构、制造业,都有 Python 的身影,甚至很多业余爱好者、[艺术家][6]、教师和许多其他人都使用 Python。
|
||||
但是你也不能仅仅因为 Python 学习起来简单而低估了它强大的潜能,无论是在[电影][4][工作室][5]、视频游戏工作室,还是在金融机构、IT 机构、制造业,都有 Python 的身影,甚至很多业余爱好者、[艺术家][6]、教师和许多其他人都使用 Python。
|
||||
|
||||
另一方面,Python 也是一门严肃的编程语言,学习它需要付出和实践。还有,你什么都不需要马上做,就几乎可以在任何计算机平台上安装并尝试使用 Python ,因此,如果你使用的是 Windows 操作系统,那本文正适合你。
|
||||
|
||||
如果你使用的是开源的 Linux 操作系统,那你可以 [在 Linux 上安装][7] 并 [尝试使用Python][8]
|
||||
如果你使用的是开源的 Linux 操作系统,那你可以 [在 Linux 上安装][7] 并 [尝试使用 Python][8]。
|
||||
|
||||
### 如何获取 Python
|
||||
|
||||
你可以从 [Python 官方网站][9] 上去下载 Python。在 Python 官方网站下载页,可以将鼠标悬停在 **Downloads** 按钮上,待菜单展开后,再将鼠标悬停在 **Windows** 选项,最后点击按钮就可以下载最新版的 Python 了。
|
||||
你可以从 [Python 官方网站][9] 上去下载 Python。在 Python 官方网站下载页,可以将鼠标悬停在 “Downloads” 按钮上,待菜单展开后,再将鼠标悬停在 “Windows” 选项,最后点击按钮就可以下载最新版的 Python 了。
|
||||
|
||||
![Downloading Python on Windows][10]
|
||||
|
||||
或者你也可以直接点击 **Downloads** 按钮,然后在下载页中选择特定的版本去下载。
|
||||
或者你也可以直接点击 “Downloads” 按钮,然后在下载页中选择特定的版本去下载。
|
||||
|
||||
### 安装 Python
|
||||
|
||||
下载好安装包后,直接打开就可以启动安装程序了。
|
||||
|
||||
安装时,选择默认的安装路径比较好,最重要的是要将 Python 添加到 Path 中,否则 Python 应用程序不知道它该从哪里找到 Python 必须的运行时环境;默认认安装时并没有选中这一项,需要手动选中安装窗口的 **Add Python 3.7 to Path** ,然后点击继续。
|
||||
安装时,选择默认的安装路径比较好,最重要的是要将 Python 添加到搜索路径中,否则 Python 应用程序不知道它该从哪里找到 Python 必须的运行时环境;默认认安装时并没有选中这一项,需要手动勾选安装窗口的 “Add Python 3.7 to Path” ,然后点击继续。
|
||||
|
||||
![Select "Add Python 3 to PATH"][11]
|
||||
|
||||
由于 Windows 需要经过你的批准才会允许安装非 Microsoft 官方发行的应用程序,因此你必须要在弹出 **User Account Control** 系统提示窗口的时候 点击 **Yes** 来继续完成安装。
|
||||
由于 Windows 需要经过你的批准才会允许安装非微软官方发行的应用程序,因此你必须要在弹出 “User Account Control”(UAC) 系统提示窗口的时候 点击 “Yes” 来继续完成安装。
|
||||
|
||||
![Windows UAC][12]
|
||||
|
||||
@ -44,69 +46,68 @@
|
||||
|
||||
### 安装一个 IDE
|
||||
|
||||
虽然说你仅需要一个文本编辑器,就可以开始编写 Python 代码了,但是我依然建议你使用 IDE (集成开发环境)来进行开发,这样开发起来就会变得方便很多。IDE 会将文本编辑器和一些好用的 Python 功能集成到一起,使用起来非常友好。你可以考虑选择 IDLE 3 或者 NINJA-IDE 来作为你的 IDE。
|
||||
虽然说你仅需要一个文本编辑器,就可以开始编写 Python 代码了,但是我依然建议你使用 IDE(集成开发环境)来进行开发,这样开发起来就会变得方便很多。IDE 会将文本编辑器和一些好用的 Python 功能集成到一起,使用起来非常友好。你可以考虑选择 IDLE 3 或者 NINJA-IDE 来作为你的 IDE。
|
||||
|
||||
#### IDLE 3
|
||||
|
||||
Python 自带一款 IDE,名字叫 IDLE。虽然你可以使用任何文本编辑器编写 Python 代码,但 IDE 通常会提供 [Notepad++][13] 之类的纯文本编辑器所没有的代码高亮、语法检测等功能,甚至在 IDE 里可以直接通过鼠标点击 **Run** 按钮就能快速运行 Python 代码。
|
||||
Python 自带一款 IDE,名字叫 IDLE。虽然你可以使用任何文本编辑器编写 Python 代码,但 IDE 通常会提供 [Notepad++][13] 之类的纯文本编辑器所没有的代码高亮、语法检测等功能,甚至在 IDE 里可以直接通过鼠标点击 “Run” 按钮就能快速运行 Python 代码。
|
||||
|
||||
想要启动 IDLE ,可以点击 Windows 的 **开始** (或者 **Windows**)按钮,然后输入 **Python** 来进行搜索。这时候可能会搜索到多个选项,选择 IDLE 启动就好了。
|
||||
想要启动 IDLE ,可以点击 Windows 的 “开始” (或者 “Windows”)按钮,然后输入 `python` 来进行搜索。这时候可能会搜索到多个选项,选择 IDLE 启动就好了。
|
||||
|
||||
![IDLE 3 IDE][14]
|
||||
|
||||
如果在 **开始** 菜单中没有搜到,你也可以在 **开始** 菜单输入 **cmd** (或同时按下键盘 win + R 键) 来启动 Windows 命令提示符,然后输入下面命令来启动 IDLE :
|
||||
如果在 “开始” 菜单中没有搜到,你也可以在 “开始” 菜单输入 `cmd` (或同时按下键盘 `win + R` 键) 来启动 Windows 命令提示符,然后输入下面命令来启动 IDLE :
|
||||
|
||||
```
|
||||
`C:\Windows\py.exe`
|
||||
C:\Windows\py.exe
|
||||
```
|
||||
|
||||
如果还是无法启动的话,可是试着重新安装 Python ,安装时记得务必要在安装向导中选中 **Add Python to PATH** 。详细说明,可以参考 [Python 官方文档][15] 。
|
||||
如果还是无法启动的话,可是试着重新安装 Python ,安装时记得务必要在安装向导中选中 “Add Python to PATH”。详细说明,可以参考 [Python 官方文档][15] 。
|
||||
|
||||
#### Ninja-IDE
|
||||
|
||||
如果你已经有一些编程经验而且你觉得 IDLE 对你来说有些简陋的话,你也可以试试 [Ninja-IDE][16]。 Ninja-IDE 是一款非常出色的 Python IDE, 它具有代码高亮功能,并且他会自动帮你检测诸如拼写错误、引号或括号缺失以及其他语法错误。而且它还可以显示行号(调试的时候会非常有用)、锁进标记甚至可以直接通过点击 **Run** 按钮来运行你的代码。
|
||||
如果你已经有一些编程经验,而且你觉得 IDLE 对你来说有些简陋的话,你也可以试试 [Ninja-IDE][16]。 Ninja-IDE 是一款非常出色的 Python IDE,它具有代码高亮功能,并且它会自动帮你检测诸如拼写错误、引号或括号缺失以及其他语法错误。而且它还可以显示行号(调试的时候会非常有用)、缩进标记甚至可以直接通过点击 “Run” 按钮来运行你的代码。
|
||||
|
||||
![Ninja-IDE][17]
|
||||
|
||||
如果要安装 Ninja-IDE ,你可以访问 Ninja-IDE 的官网 [下载 Windows 安装程序][18] 。步骤跟安装 Python 大同小异:下载安装包、允许 Windows 安装非 Microsoft 官方的应用程序,然后等待完成安装即可。
|
||||
如果要安装 Ninja-IDE ,你可以访问 Ninja-IDE 的官网 [下载 Windows 安装程序][18] 。步骤跟安装 Python 大同小异:下载安装包、允许 Windows 安装非微软官方的应用程序,然后等待完成安装即可。
|
||||
|
||||
Ninja-IDE 安装完成后,双击 Windows 桌面或开始菜单下的 Ninja-IDE 就可以启动了。
|
||||
|
||||
### 告诉 Python 怎么做
|
||||
|
||||
关键字能让 Python 知道你想要做什么。在 IDLE 或者 Ninja-IDE ,打开 **文件** 菜单,创建一个新文件。
|
||||
关键字能让 Python 知道你想要做什么。在 IDLE 或者 Ninja-IDE ,打开 “文件” 菜单,创建一个新文件。
|
||||
|
||||
在 Ninja-IDE 中,不要创建一个新项目,而是单独创建一个新文件就可以了。
|
||||
|
||||
在你用 IDLE 或者 Ninja-IDE 新建的文件中,输入以下代码:
|
||||
|
||||
```
|
||||
`print("Hello world.")`
|
||||
print("Hello world.")
|
||||
```
|
||||
|
||||
* 如果你使用的是 IDLE ,请点击"运行"菜单,选择"运行模块"选项来运行你的程序。
|
||||
* 如果你使用的是 Ninja ,请单击左侧按钮栏中的"运行文件"按钮。
|
||||
* 如果你使用的是 IDLE ,请点击 “运行” 菜单,选择 “运行模块” 选项来运行你的程序。
|
||||
* 如果你使用的是 Ninja ,请单击左侧按钮栏中的 “运行文件” 按钮。
|
||||
|
||||
![Running code in Ninja-IDE][19]
|
||||
|
||||
任何时间当你想要执行代码,IDE 都会提示你先保存当前正在处理的文件,然后再继续。
|
||||
|
||||
**print** 关键字会告诉 Python 打印出你在括号和引号中输入的所有文本。
|
||||
`print` 关键字会告诉 Python 打印出你在括号和引号中输入的所有文本。
|
||||
|
||||
但是别高兴地太早,Python 的核心库也就只能访问 **print** 和 **help** 之类的基本关键字、函数等。
|
||||
但是别高兴地太早,Python 的核心库也就只能访问 `print` 和 `help` 之类的基本关键字、函数等。
|
||||
|
||||
如果想要使用更多的关键字和函数,你就需要使用 **import** 关键字去加载它们。好了,先在你的 IDLE 或者 Ninja 中新建一个文件,命名为 **pen.py** 。
|
||||
如果想要使用更多的关键字和函数,你就需要使用 `import` 关键字去加载它们。好了,先在你的 IDLE 或者 Ninja 中新建一个文件,命名为 `pen.py` 。
|
||||
|
||||
**警告**:不要把你新建的文件命名为 **turtle.py** ,因为 **turtle.py** 是包含了你要控制的 turtle 程序的文件名称,使用 **turtle.py** 作为文件名会让 Python 感到困惑,因为它以为你想要引入你自己的文件。
|
||||
**警告**:不要把你新建的文件命名为 `turtle.py` ,因为 `turtle.py` 是包含了你要控制的 turtle 程序的文件名称,使用 `turtle.py` 作为文件名会让 Python 感到困惑,因为它以为你想要引入你自己的文件。
|
||||
|
||||
在你新建的文件中输入一下代码,并运行:
|
||||
|
||||
```
|
||||
`import turtle`
|
||||
import turtle
|
||||
```
|
||||
|
||||
[Turtle][20] 是一个用起来非常有意思的模块. 把这段代码添加到你的问价内:
|
||||
|
||||
[Turtle][20] 是一个用起来非常有意思的模块. 把这段代码添加到你的文件内:
|
||||
|
||||
```
|
||||
turtle.begin_fill()
|
||||
@ -122,7 +123,7 @@ turtle.end_fill()
|
||||
|
||||
来看看你可以使用 turtle 模块来绘制出哪些图案。
|
||||
|
||||
想要清空 turtle 绘制的区域的话,你可以使用 **turtle.clear()** 函数。那你知道 **turtle.color("blue")** 是用来做什么的吗?
|
||||
想要清空 turtle 绘制的区域的话,你可以使用 `turtle.clear()` 函数。那你知道 `turtle.color("blue")` 是用来做什么的吗?
|
||||
|
||||
我们来试一下更复杂点的程序:
|
||||
|
||||
@ -148,13 +149,13 @@ time.sleep(2)
|
||||
|
||||
![Example Python turtle output][21]
|
||||
|
||||
当你完成这段代码后,你就可以继续学习更多有意思的模块了。这个 [入门级骰子游戏][] 就是个不错的开始。
|
||||
当你完成这段代码后,你就可以继续学习更多有意思的模块了。这个 [入门级骰子游戏][22] 就是个不错的开始。
|
||||
|
||||
### 保持 Pythonic
|
||||
|
||||
Python 是一门非常有趣的语言,它的模块几乎能实现所有你想要实现的功能。正如你所看到的,Python 入门很容易,只要你对自己有耐心,很快就会发现自己在理解和编写 Python 时能像写汉字一样流畅。你可以在 [Python articles][23] 多阅读关于 Python 的文章,试着为自己编写一些小片段,然后看看 Python 会执行出什么结果。如果想要把 Python 真正融合到你实际工作中,你可以试试 Linux ,Linux 具有在本地可编写脚本的功能,而其他系统却没有。
|
||||
Python 是一门非常有趣的语言,它的模块几乎能实现所有你想要实现的功能。正如你所看到的,Python 入门很容易,只要你对自己有耐心,很快就会发现自己在理解和编写 Python 时能像写汉字一样流畅。你可以多阅读关于 [Python 的文章][23],试着自己编写一些小片段,然后看看 Python 会执行出什么结果。如果想要把 Python 真正融合到你实际工作中,你可以试试 Linux ,Linux 具有在本地可编写脚本的功能,而其他系统却没有。
|
||||
|
||||
祝你好运,记得保持 Pythonic
|
||||
祝你好运,记得保持 Pythonic。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@ -163,7 +164,7 @@ via: https://opensource.com/article/19/8/how-install-python-windows
|
||||
作者:[Seth Kenlon][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[LiuWenlong](https://github.com/011011100010110101101111)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
@ -1,5 +1,5 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: ( )
|
||||
[#]: translator: (Yufei-Yan)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
|
@ -0,0 +1,245 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: ( )
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (How to Make Ubuntu Look Like macOS in 5 Easy Steps)
|
||||
[#]: via: (https://itsfoss.com/make-ubuntu-look-like-macos/)
|
||||
[#]: author: (Community https://itsfoss.com/author/itsfoss/)
|
||||
|
||||
How to Make Ubuntu Look Like macOS in 5 Easy Steps
|
||||
======
|
||||
|
||||
Customization is one of the main reasons [why I use Linux][1]. There is no end to the kind of customization you can do to your desktop Linux. You can change icons, themes, change fonts, change terminals, add screenlets, [indicator applets][2], extensions and what not.
|
||||
|
||||
We have covered numerous desktop customization tips and tricks on It’s FOSS. In this one, I’ll show you how to make Ubuntu look like macOS.
|
||||
|
||||
Many people use macOS because of its simplistic and elegant look. You may disagree with it but it remains a popular opinion. Even there are Linux distributions that have macOS like look and feel.
|
||||
|
||||
**One of the readers requested us to show how to make Ubuntu look like macOS** and hence we’ve created this tutorial. In fact, this is a **good example to show the customization capability of desktop Linux**.
|
||||
|
||||
No, you don’t have to install a new distribution just for customizing the looks. You can do some tweaking on your own and give your system mac-like looks.
|
||||
|
||||
### How to give your Ubuntu Linux a macOS makeover
|
||||
|
||||
![][3]
|
||||
|
||||
Although this article suggests it’s for Ubuntu, you can follow it for **other distributions with GNOME desktop** with little or no changes. Please make sure to [check your desktop environment][4].
|
||||
|
||||
To be honest, even if you are using some other desktop environment, you can still take some hints about what changes to do. But you have to make sure to follow the steps using your DE’s tools.
|
||||
|
||||
#### Prerequisites: GNOME Tweaks and GNOME Extensions
|
||||
|
||||
Please make sure to [install GNOME Tweaks tool][5]. You’ll need it for changing the themes and icons.
|
||||
|
||||
You’ll also need to [enable GNOME Extensions][6] for changing GNOME Shell and adding planks.
|
||||
|
||||
After you enable GNOME Extension, you need to install “user themes” extension from [Gnome extensions][7] or just go to [this link][8] and click on the switch to turn it on.
|
||||
|
||||
I also expect you to have some knowledge [about installing themes in Ubuntu][9]. I’ll briefly touch on this subject, though.
|
||||
|
||||
Let’s see the steps one by one.
|
||||
|
||||
#### Step 1: Install a macOS inspired GTK theme
|
||||
|
||||
Since the focus is on making GNOME look like macOS, you should choose a macOS like theme. There are plenty of themes which are macOS like.
|
||||
|
||||
**Download a theme of your choice**
|
||||
|
||||
You can go to [Gnome-look][10] site, and look for themes for GTK3. Don’t worry if you see “Pling” written on the Gnome-look website, they both are from same providers.
|
||||
|
||||
You can choose any theme you want. Here are some macOS themes I think you should take a look at:
|
||||
|
||||
[**mcOS 11**][11]
|
||||
|
||||
[McHigh Sierra][12]
|
||||
|
||||
[Catalina][13]
|
||||
|
||||
[McMojave][14]
|
||||
|
||||
I shall be using “[McMojave][14]” in this article. You can choose any theme you want. You will find dropdown download button on the right side of website, click on it.
|
||||
|
||||
![McMojave Dark Theme][15]
|
||||
|
||||
Here you may find various “.tar.xz” files. These different files contain same theme with small differences. Like in “McMojave” we have variations like dark and light theme. You can try them all, or just pick anyone you like from the carousel given in middle.
|
||||
|
||||
**Set downloaded theme**
|
||||
|
||||
Extract the downloaded theme and copy this extracted theme folder to .local/share/themes folder.
|
||||
|
||||
Open GNOME Tweak tool and change the Application and Shell theme. As soon as you change the themes, you can see those three yellow, green and red buttons, and that Apple logo on upper left corner. You can also notice come changes on panel items.
|
||||
|
||||
![McMojave GTK and Shell theme][16]
|
||||
|
||||
#### Step 2: Install macOS like icons
|
||||
|
||||
The next step in this macOS makeover is to use macOS like icons.
|
||||
|
||||
**Download icon set**
|
||||
|
||||
Here are some icon sets I suggest that you can download from Gnome-look website:
|
||||
|
||||
[McMojave-circle][17]
|
||||
|
||||
[Mojave CT-icons][18]
|
||||
|
||||
[Cupertino icons][19]
|
||||
|
||||
I shall be using “[McMojave-circle][17]” in this article, feel free to use any icons you like.
|
||||
|
||||
Just like the theme, you can download it from “download” dropdown button from right side. Here you may also find various different versions of same icons.
|
||||
|
||||
![Mcmojave Circle][20]
|
||||
|
||||
**Set icon**
|
||||
|
||||
Now set the downloaded icon. For that extarct the download folder and copy it to .icons folder in your home directory. See this article on [installing icon][9] [][9][themes in Ubuntu][9].
|
||||
|
||||
This is what this icon looks like:
|
||||
|
||||
![McMojave Circle Icons Look][21]
|
||||
|
||||
#### Step 3: Add macOS like dock
|
||||
|
||||
Without macOS like dock, your Ubuntu will not look like macOS. There are various docks available for Linux. I like [Dash to Dock][22] and I am going to use it here.
|
||||
|
||||
Dash to Dock is a GNOME extension. By now you are familar with GNOME Extensions. Just go to [this link][23] and click on toggle button to install it. Your native dock will be automatically replaced with dash-to-dock.
|
||||
|
||||
You can change settings by right clicking on “show applications” button (rightmost menu button), and selecting “Dash to dock settings”.
|
||||
|
||||
![Dash To Dock][24]
|
||||
|
||||
#### Step 4: Use macOS wallpaper
|
||||
|
||||
Most of the complicated stuff are done. Now it’s time to set macOS wallpaper. You can download macOS default wallpapers from the link below:
|
||||
|
||||
[Download macOS wallpapers][25]
|
||||
|
||||
**Change the desktop background**
|
||||
|
||||
I shall be using “Mojave Day” wallpaper. Right click on the downloaded image and select ‘Set As Wallpaper’ option to change the wallpaper.
|
||||
|
||||
After setting this wallpaper, this is how my system looks like:
|
||||
|
||||
![][26]
|
||||
|
||||
**Change the lock screen Wallpaper**
|
||||
|
||||
The lock screen background option is removed from the settings of [Ubuntu 20.04][27]. Now it uses blurred desktop wallpaper as the background of lock screen.
|
||||
|
||||
To set a custom lock screen wallpaper, you can use “[Lock screen background][28]” extension.
|
||||
|
||||
Open “Lock screen background” extension setting, and set lock screen wallpaper.
|
||||
|
||||
![Lock Screen Background Setting][29]
|
||||
|
||||
This is how the lockscreen looks now. If you are wondering, here’s [how to take screenshot of lockscreen in Ubuntu][30].
|
||||
|
||||
![Lock Screen][31]
|
||||
|
||||
![Login Screen][32]
|
||||
|
||||
#### Step 5: Change system fonts
|
||||
|
||||
For several years, the primary system font in macOS is ‘San Francisco’. But this San Francisco font is not public domain but proprietary like so many other things in the Apple ecosystem. For this reason, you cannot use this font.
|
||||
|
||||
What you can do is to use an open source font that looks similar to the San Francisco fonts. I recommend using [Roboto][33] font by Google or [Source Sans Pro][34] by Adobe.
|
||||
|
||||
[Installing fonts is straightforward in Ubuntu][35]. Download the zip files of the fonts and just double-click on the ttf files in the extracted folder. It will give you the option to install the fonts one by one.
|
||||
|
||||
If you want to save time and install all the fonts at once, extract all fonts in it to the “.fonts” directory in your home folder (~/.fonts).
|
||||
|
||||
![Installing fonts][36]
|
||||
|
||||
Once you have installed the fonts, you can change the system wide font using GNOME Tweaks tool.
|
||||
|
||||
![Set Fonts][37]
|
||||
|
||||
#### Bonus Tip: Spotlight like app launcher (if you want to go the extra mile)
|
||||
|
||||
If you are a fan of macOS Spotlight launcher, you may have something similar on Linux also. My favorite package for getting this kind of launcher is “[Albert][38]“.
|
||||
|
||||
You can find the [installation instruction for Albert on its website][39].
|
||||
|
||||
After installing; open “Albert” and set hotkey (key combination you want for opening launcher) and you are good to go. I think in macOS, the Command+Space is to launch Spotlight. You may set Super+Space [keyboard shortcut in Ubuntu][40].
|
||||
|
||||
You will get many themes in built, in picture below I’ve used “Spotlight dark”.
|
||||
|
||||
Albert won’t be able to launch apps directly, you have to give it permissions for where it can look for search results.
|
||||
|
||||
![Albert Settings][41]
|
||||
|
||||
After setting up, this is how it looks:
|
||||
|
||||
![Albert dark theme][42]
|
||||
|
||||
This is how my Ubuntu 20.04 looks like after making all the customizations. Does it look like macOS? You be the judge.
|
||||
|
||||
![macOS Theme][43]
|
||||
|
||||
![Ubuntu with macOS makeover][44]
|
||||
|
||||
So, this is how you can make your GNOME desktop look like macOS. As I said in the beginning, this is a good example of Linux desktop’s customization capability.
|
||||
|
||||
If you have any new ideas or have any queries; the comment section is all yours.
|
||||
|
||||
_Written by Sumeet with additional inputs from Abhishek Prakash._
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/make-ubuntu-look-like-macos/
|
||||
|
||||
作者:[Community][a]
|
||||
选题:[lujun9972][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/itsfoss/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://itsfoss.com/why-use-linux/
|
||||
[2]: https://itsfoss.com/best-indicator-applets-ubuntu/
|
||||
[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/06/Make-Ubuntu-Look-like-MacOS.png?ssl=1
|
||||
[4]: https://itsfoss.com/find-desktop-environment/
|
||||
[5]: https://itsfoss.com/gnome-tweak-tool/
|
||||
[6]: https://itsfoss.com/gnome-shell-extensions/
|
||||
[7]: https://extensions.gnome.org/
|
||||
[8]: https://extensions.gnome.org/extension/19/user-themes/
|
||||
[9]: https://itsfoss.com/install-themes-ubuntu/
|
||||
[10]: https://www.gnome-look.org/
|
||||
[11]: https://www.pling.com/p/1220826
|
||||
[12]: https://www.pling.com/p/1013714
|
||||
[13]: https://www.pling.com/p/1226871
|
||||
[14]: https://www.pling.com/p/1275087
|
||||
[15]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/McMojave-dark-theme.png?ssl=1
|
||||
[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/06/McMojave-Desktop.png?ssl=1
|
||||
[17]: https://www.gnome-look.org/p/1305429/
|
||||
[18]: https://www.gnome-look.org/p/1210856/
|
||||
[19]: https://www.gnome-look.org/p/1102582/
|
||||
[20]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/McMojave-circle-.png?ssl=1
|
||||
[21]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/McMojave-circle-icons-look.png?fit=800%2C494&ssl=1
|
||||
[22]: https://github.com/micheleg/dash-to-dock
|
||||
[23]: https://extensions.gnome.org/extension/307/dash-to-dock/
|
||||
[24]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/Dash-to-dock-1.png?ssl=1
|
||||
[25]: https://oswallpapers.com/category/mac-os/
|
||||
[26]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/06/Wallpaper.png?fit=800%2C450&ssl=1
|
||||
[27]: https://itsfoss.com/ubuntu-20-04-release-features/
|
||||
[28]: https://extensions.gnome.org/extension/1476/unlock-dialog-background/
|
||||
[29]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/06/Lock-screen-background-setting.png?ssl=1
|
||||
[30]: https://itsfoss.com/screenshot-login-screen-ubuntu-linux/
|
||||
[31]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/Lock-screen-1.png?ssl=1
|
||||
[32]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/06/Login-screen-1.png?ssl=1
|
||||
[33]: https://fonts.google.com/specimen/Roboto?query=robot
|
||||
[34]: https://adobe-fonts.github.io/source-sans-pro/
|
||||
[35]: https://itsfoss.com/install-fonts-ubuntu/
|
||||
[36]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/Fonts.png?ssl=1
|
||||
[37]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/06/Set-fonts.png?ssl=1
|
||||
[38]: https://albertlauncher.github.io/
|
||||
[39]: https://albertlauncher.github.io/docs/installing/
|
||||
[40]: https://itsfoss.com/ubuntu-shortcuts/
|
||||
[41]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/Albert-settings.png?ssl=1
|
||||
[42]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/06/Albert-look.png?ssl=1
|
||||
[43]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/06/macOS-theme.png?fit=800%2C450&ssl=1
|
||||
[44]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/06/macOS-theme-2.png?fit=800%2C450&ssl=1
|
Loading…
Reference in New Issue
Block a user