From 8795bf9a92459d0a0afb11448c3506f269e9bd39 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Sat, 29 Jun 2019 14:05:00 +0800 Subject: [PATCH 1/2] PRF:20190624 Using i3 with multiple monitors.md @geekpi --- ...0190624 Using i3 with multiple monitors.md | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/translated/tech/20190624 Using i3 with multiple monitors.md b/translated/tech/20190624 Using i3 with multiple monitors.md index 96d3a4b6b9..3ac5b62007 100644 --- a/translated/tech/20190624 Using i3 with multiple monitors.md +++ b/translated/tech/20190624 Using i3 with multiple monitors.md @@ -1,6 +1,6 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (Using i3 with multiple monitors) @@ -12,13 +12,13 @@ ![][1] -你在 Linux 工作站上使用多个显示器吗?一次看到很多东西可能是有益的。但在我们的工作中通常有比实际显示器更多的窗口 - 这是一件好事,因为一次看到太多东西可能会分散注意力。因此能够切换我们在单个显示器上看到的内容似乎很重要。 +你在 Linux 工作站上使用多个显示器吗?一次看到很多东西可能是有益的。但在我们的工作中通常有比实际显示器更多的窗口 —— 这是一件好事,因为一次看到太多东西可能会分散注意力。因此能够切换我们在单个显示器上看到的内容似乎很重要。 -让我们来谈谈 i3,它是一个流行的平铺窗口管理器,可以与多个显示器配合使用。并且有许多其他窗口管理器没有的便利功能,它能够独立地在各个显示器上切换工作区。 +让我们来看看 i3,它是一个流行的平铺窗口管理器,可以与多个显示器配合使用。并且有许多其他窗口管理器没有的便利功能,它能够独立地在各个显示器上切换工作区。 ### 快速介绍 i3 -大约三年前,[Fedora Magazine 已经写了一篇关于 i3 的文章][2]。这是有史以来最受欢迎的文章之一!虽然情况并非总是如此,但 i3 非常稳定,而且这篇文章如今也很准确。所以,这次不会重复太多,本篇只涵盖了让 i3 启动和运行,如果你是 i3 的新手,想要了解更多基础知识的话,欢迎你继续阅读。 +大约三年前,[Fedora Magazine 已经写了一篇关于 i3 的文章][2]。这是有史以来最受欢迎的文章之一!虽然情况并非总是如此,但 i3 非常稳定,而且那篇文章如今也很准确。所以,这次不会重复太多内容,本篇只涵盖了让 i3 启动和运行的极少内容,如果你是 i3 的新手,想要了解更多基础知识的话,欢迎你继续阅读。 要在系统上安装 i3,请运行以下命令: @@ -28,7 +28,7 @@ $ sudo dnf install i3 完成后,注销,然后在登录屏幕上选择 i3 作为窗口管理器,然后重新登录。 -当你第一次运行 i3 时,系统会询问你是否要继续进行自动配置 - 在此处回答是。之后,你将被要求选择 “mod 键”。如果你在这里不确定,只需接受默认值,即将 Windows/Super 键设置为 mod 键。你将主要使用此键用于窗口管理器中的快捷方式。 +当你第一次运行 i3 时,系统会询问你是否要继续进行自动配置 —— 在此处回答是。之后,你将被要求选择 “mod 键”。如果你不确定,只需接受默认值,即将 Windows/Super 键设置为 mod 键。你将主要使用此键用于窗口管理器中的快捷方式。 此时,你应该在底部看到一个小条和一个空白屏幕。我们来看看一些基本的快捷方式。 @@ -72,7 +72,7 @@ $mod + shift + q 还有更多的快捷方式,但这些足够让你开始使用 i3。 -要退出 i3(退出登录)按: +要退出 i3(并退出登录)按: ``` $mod + shift + e @@ -84,9 +84,9 @@ $mod + shift + e 现在我们已经启动并运行了 i3,让我们把所有这些屏幕都用到! -为此,我们需要使用命令行,因为 i3 非常轻量级,并且没有 gui 来管理其他屏幕。如果这听起来很难也不用担心,它实际上非常简单! +为此,我们需要使用命令行,因为 i3 非常轻量级,并且没有 GUI 来管理其他屏幕。如果这听起来很难也不用担心,它实际上非常简单! -我们将使用的命令称为 xrandr。如果你的系统上没有 xrandr,请运行以下命令安装: +我们将使用的命令称为 `xrandr`。如果你的系统上没有 `xrandr`,请运行以下命令安装: ``` $ sudo dnf install xrandr @@ -98,7 +98,7 @@ $ sudo dnf install xrandr $ xrandr ``` -输出列出了所有可用输出,并通过显示支持的分辨率指示哪些输出连接了屏幕(通过电缆连接的显示器)。好消息是,我们不需要关心使它们工作的分辨率。 +输出列出了所有可用输出设备,并通过显示支持的分辨率指示哪些输出连接了屏幕(通过电缆连接的显示器)。好消息是,我们不需要关心使它们工作的分辨率。 这个例子显示了笔记本电脑的主屏幕(名为 eDP1),以及连接到 HDMI-2 输出的第二个显示器,它位于笔记本电脑的右侧。要打开它,请运行以下命令: @@ -108,7 +108,7 @@ $ xrandr --output HDMI-2 --auto --right-of eDP1 就是这样!你的屏幕现已激活。 -![Second screen active. The commands shown on this screenshot are slightly different than in the article, as they set a smaller resolution to make the screenshots more readable.][3] +![第二个屏幕激活。截屏上显示命令与文章中略有不同,它设置了更小的分辨率以使截屏适合阅读][3] ### 在多个屏幕上管理工作区 @@ -122,11 +122,11 @@ $mod + NUMBER 你可以独立切换各个显示器上的工作区! -![Workspace 2 on the left screen, workspace 4 on the right screen.][4] +![工作空间 2 在左侧屏幕,工作空间 4 在右侧屏幕][4] -![Left screen switched to workspace 3, right screen still showing workspace 4.][5] +![左侧屏幕切换为工作空间 3,右侧屏幕仍为工作空间 4][5] -![Right screen switched to workspace 4, left screen still showing workspace 3.][6] +![右侧屏幕切换为工作空间 5,左侧屏幕仍为空间空间 3][6] ### 在显示器之间移动工作区 @@ -138,7 +138,7 @@ $mod + shift + NUMBER 我们也可以将工作区移动到不同的屏幕。但是,此操作没有默认快捷方式,因此我们必须先创建它。 -要创建自定义快捷方式,你需要在你选择的文本编辑器中打开配置文件(本文使用 _vim_): +要创建自定义快捷方式,你需要在你选择的文本编辑器中打开配置文件(本文使用 `vim`): ``` $ vim ~/.config/i3/config @@ -163,9 +163,9 @@ $mod + shift + r $mod + p ``` -![Workspace 2 with Firefox on the left screen][7] +![打开火狐浏览器的工作空间 2 在左侧][7] -![Workspace 2 with Firefox moved to the second screen][8] +![打开火狐浏览器的工作空间 2 移动到第二个屏幕][8] 就是这些了!享受你的新多显示器体验,并了解更多 i3,欢迎阅读 Fedora Magazine 上之前关于 i3 的文章,或者查看官方 i3 文档。 @@ -176,7 +176,7 @@ via: https://fedoramagazine.org/using-i3-with-multiple-monitors/ 作者:[Adam Šamalík][a] 选题:[lujun9972][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/) 荣誉推出 From c081d7480027e2b33419e9014bffd63bc6437bc6 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Sat, 29 Jun 2019 14:05:28 +0800 Subject: [PATCH 2/2] PUB:20190624 Using i3 with multiple monitors.md @geekpi https://linux.cn/article-11031-1.html --- .../20190624 Using i3 with multiple monitors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {translated/tech => published}/20190624 Using i3 with multiple monitors.md (98%) diff --git a/translated/tech/20190624 Using i3 with multiple monitors.md b/published/20190624 Using i3 with multiple monitors.md similarity index 98% rename from translated/tech/20190624 Using i3 with multiple monitors.md rename to published/20190624 Using i3 with multiple monitors.md index 3ac5b62007..33eeeac1e2 100644 --- a/translated/tech/20190624 Using i3 with multiple monitors.md +++ b/published/20190624 Using i3 with multiple monitors.md @@ -1,8 +1,8 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) [#]: reviewer: (wxy) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-11031-1.html) [#]: subject: (Using i3 with multiple monitors) [#]: via: (https://fedoramagazine.org/using-i3-with-multiple-monitors/) [#]: author: (Adam Šamalík https://fedoramagazine.org/author/asamalik/)