mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-28 23:20:10 +08:00
Merge branch 'master' of https://github.com/LCTT/TranslateProject
This commit is contained in:
commit
ee35a6b343
@ -3,37 +3,45 @@
|
||||
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
[#]: reviewer: "wxy"
|
||||
[#]: publisher: "wxy"
|
||||
[#]: url: "https://linux.cn/article-15499-1.html"
|
||||
|
||||
Fedora Media Writer:世界级 LIVE USB 创建器(教程)
|
||||
Fedora Media Writer:顶级的立付 USB 创建器
|
||||
======
|
||||
|
||||
**关于安装和使用 Fedora Media Writer 从 Linux 和 Windows 创建 LIVE USB 的教程。**
|
||||
> 关于安装和使用 Fedora Media Writer 从 Linux 和 Windows 创建立付 USB 的教程。
|
||||
|
||||
![Fedora Media Writer][1]
|
||||
|
||||
### Fedora Media Writer
|
||||
|
||||
社区和 Fedora Linux 团队开发并维护 [Fedora Media Writer 应用][2]。这个应用可以将任何 ISO 镜像写入你的闪存盘(U 盘)中。此外,Fedora Media Writer 还有直接从 Fedora 镜像中下载 ISO 文件的功能,前提是你有一个稳定的互联网连接。
|
||||
社区和 Fedora Linux 团队开发并维护了 [Fedora Media Writer 应用][2]。这个应用可以将任何 ISO 镜像写入你的闪存盘(U 盘)中。此外,Fedora Media Writer 还有直接从 Fedora 镜像中下载 ISO 文件的功能,前提是你有一个稳定的互联网连接。
|
||||
|
||||
此外,它还为你提供了一个下载选项列表:比如官方版本、新兴版本、Spin 版本和 Fedora 实验室镜像。
|
||||
此外,它还为你提供了一个下载选项列表:比如官方版本、新兴版本、定制版和实验室版本的镜像。
|
||||
|
||||
不仅如此,你还可以使用这个灵巧的工具将任何其他 ISO 镜像写入你的闪存。它不总是需要 Fedora ISO。
|
||||
|
||||
虽然有其他流行的工具可以用来创建 LIVE USB,比如 [Etcher][3]、Ventoy 和 Rufus,但考虑到该团队是从主流 Fedora Linux 与贡献者一起开发的,你仍然可以尝试使用此程序。
|
||||
虽然有其他流行的工具可以用来创建 <ruby>立付<rt>Live</rt></ruby> USB ,比如 [Etcher][3]、Ventoy 和 Rufus,但考虑到该团队是从主流 Fedora Linux 与贡献者一起开发的,你仍然可以尝试使用此程序。
|
||||
|
||||
> **LCTT 译注**:特此说明一下使用 “立付” 一词作为 “Live” 的中文翻译。
|
||||
>
|
||||
> Live 原意多指“现场”、“实时”,在计算机环境中使用时也多引用此意。但对它的翻译就颇费神,因为无论是在 Live Patch,还是更多见的 Live USB/CD、Live Session,其实都不好翻译为“现场”、“实时”。
|
||||
>
|
||||
> 提议者之前曾经尝试创造了新的“[临场](https://linux.cn/article-12854-1.html)”词汇,但是感觉有些不够达意。经过推敲,提议者再次推荐使用“立付”,在照顾发音的同时,取其“立时交付”之意。这样,Live USB/CD 可以译做 “立付 USB/CD”,Live Session 可以译做 “立付会话”。
|
||||
>
|
||||
> 详见我们发布的[《LCTT 术语词典》](https://linux.cn/article-15496-1.html)。
|
||||
|
||||
因此,综上所述,这里是 Fedora Media Writer 的快速功能亮点。
|
||||
|
||||
#### Fedora Media Writer 的功能摘要
|
||||
|
||||
- 适用于 Linux、Windows 和 macOS
|
||||
- 直接下载+写入镜像到 USB 闪存
|
||||
- 直接下载 + 写入镜像到 USB 闪存
|
||||
- 官方版本(Workstation、IoT、Server)下载
|
||||
- 新兴版本(Silverblue、Kinoite)下载
|
||||
- Spin(KDE Plasma、Xfce 等)
|
||||
- 实验室(Fedora Astronomy、Robotic 等)
|
||||
- 定制版(KDE Plasma、Xfce 等)
|
||||
- 实验室(Fedora Astronomy、Robotic 等)
|
||||
- 可作为 Linux 发行版的 Flatpak 包
|
||||
- 同时,可以将任何其他 ISO 镜像(非 Fedora)写入 U 盘。
|
||||
- 能够格式化 U 盘,恢复 U 盘
|
||||
@ -43,25 +51,29 @@ Fedora Media Writer:世界级 LIVE USB 创建器(教程)
|
||||
|
||||
#### Linux
|
||||
|
||||
Fedora Media Writer 以 Flatpak 的形式提供给 Linux 发行版。要在任何 Linux(如 Fedora、Ubuntu 或 Linux Mint)中安装它,请[按照这个指南设置 Flatpak][4]。
|
||||
Fedora Media Writer 以 Flatpak 的形式提供给 Linux 发行版。要在任何 Linux(如 Fedora、Ubuntu 或 Linux Mint)中安装它,请 [按照这个指南设置 Flatpak][4]。
|
||||
|
||||
然后,点击下面的链接进行安装。这将启动你的 Linux 发行版的官方软件程序(如 Discover、GNOME Software)。安装后,你可以通过应用程序菜单启动它。
|
||||
然后,点击下面的链接进行安装。这将启动你的 Linux 发行版的官方软件程序(如 <ruby>发现<rt>Discover</rt></ruby>应用、GNOME <ruby>软件<rt>Software</rt></ruby> 应用)。安装后,你可以通过应用程序菜单启动它。
|
||||
|
||||
[以 Flatpak 形式安装 Fedora Media Writer][5]
|
||||
> **[以 Flatpak 形式安装 Fedora Media Writer][5]**
|
||||
|
||||
#### Windows
|
||||
|
||||
如果你是一个 Windows 用户并计划迁移到 Linux(或 Fedora),它是一个完美的工具。你需要从 GitHub 上下载 exe 安装程序(链接如下),并按照屏幕上的指示进行安装。
|
||||
如果你是一个计划迁移到 Linux(如 Fedora)的 Windows 用户,它是一个完美的工具。你需要从 GitHub 上下载 exe 安装程序(链接如下),并按照屏幕上的指示进行安装。
|
||||
|
||||
[用于 Windows 的最新安装程序(exe)][6]
|
||||
> **[用于 Windows 的最新安装程序(exe)][6]**
|
||||
|
||||
安装完成后,你可以从开始菜单启动它。
|
||||
|
||||
#### macOS
|
||||
|
||||
对于 macOS,你可以在上述链接中获取 dmg 文件。
|
||||
|
||||
### 如何使用 Fedora Media Writer 在 Linux 中创建 LIVE USB
|
||||
> **[用于 macOS 的最新安装程序(dmg)][6]**
|
||||
|
||||
第一个页面给你两个主要选项。自动下载选项用于即时下载 ISO 镜像。第二个选项是直接从你的磁盘上写入已经下载的 ISO 文件。
|
||||
### 如何使用 Fedora Media Writer 在 Linux 中创建立付 USB
|
||||
|
||||
第一个页面给你两个主要选项。<ruby>自动下载<rt>Download automatically</rt></ruby> 选项用于即时下载 ISO 镜像。第二个选项是直接从你的磁盘上写入已经下载的 ISO 文件。
|
||||
|
||||
如果你已经插上了 USB,你应该看到它是第三个选项。第三个选项是格式化并删除你 U 盘中的所有数据,并将其恢复到出厂设置。
|
||||
|
||||
@ -71,17 +83,17 @@ Fedora Media Writer 以 Flatpak 的形式提供给 Linux 发行版。要在任
|
||||
|
||||
![Fedora Media Writer - 第一个页面][7]
|
||||
|
||||
自动下载选项为你提供了以下页面,可以从镜像中下载任何你想要的 Fedora ISO。这对很多人来说很有用,因为它消除了单独下载 ISO 文件、验证校验和等的麻烦。
|
||||
<ruby>自动下载<rt>Download automatically</rt></ruby>选项为你提供了以下页面,可以从镜像中下载任何你想要的 Fedora ISO。这对很多人来说很有用,因为它消除了单独下载 ISO 文件、验证校验和等的麻烦。
|
||||
|
||||
![自动下载选项给了你这些选项][8]
|
||||
|
||||
在选择了发行版之后,最后的页面会给你版本(Fedora 36、35 等)和架构(x86、ARM 等)的选项。另外,你应该看到目标 USB。点击下载和写入,开始这个过程。
|
||||
在选择了发行版之后,最后的页面会给你版本(Fedora 36、35 等)和架构(x86、ARM 等)的选项。另外,你应该看到目标 USB。点击 “<ruby>下载并写入<rt>Download & Write</rt></ruby>”,开始这个过程。
|
||||
|
||||
![Fedora Media Writer 的最终写入页面][9]
|
||||
|
||||
#### 从磁盘上写入一个现有的 ISO 文件
|
||||
|
||||
当你选择 “select iso file” 时,你可以从系统中选择该文件。之后,选择目标 USB 驱动器,然后点击写入,开始这个过程。
|
||||
当你选择 “<ruby>选择 ISO 文件<rt>select .iso file</rt></ruby>” 时,你可以从系统中选择该文件。之后,选择目标 USB 驱动器,然后点击 “<ruby>写入<rt>Write</rt></ruby>”,开始这个过程。
|
||||
|
||||
![通过 Fedora Media Writer 直接写入 ISO][10]
|
||||
|
||||
@ -99,11 +111,11 @@ Fedora Media Writer 以 Flatpak 的形式提供给 Linux 发行版。要在任
|
||||
|
||||
### 结束语
|
||||
|
||||
我希望本指南能帮助你在日常的 USB 写入工作中使用 Fedora Media Writer。另外,这个工具的好处是你可以用它来格式化/恢复你的 U 盘。你不再需要 GParted 或 GNOME Disks 了。
|
||||
我希望本指南能帮助你在日常的 USB 写入工作中使用 Fedora Media Writer。另外,这个工具的好处是你可以用它来格式化/恢复你的 U 盘。你不再需要 GParted 或 GNOME <ruby>磁盘<rt>Disks</rt></ruby> 应用了。
|
||||
|
||||
对于 Linux、Windows 和 macOS 用户来说,这是一个非常棒的程序。
|
||||
|
||||
干杯。
|
||||
加油。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@ -112,7 +124,7 @@ via: https://www.debugpoint.com/fedora-media-writer/
|
||||
作者:[Arindam][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/) 荣誉推出
|
||||
|
@ -2,7 +2,7 @@
|
||||
[#]: via: "https://opensource.com/article/22/12/linux-file-manager-caja"
|
||||
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: " "
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
@ -1,144 +0,0 @@
|
||||
[#]: subject: "GNOME Screenshot Tool: Old and New Methods"
|
||||
[#]: via: "https://www.debugpoint.com/gnome-screenshot-tool-usage/"
|
||||
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "geekpis"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
GNOME Screenshot Tool: Old and New Methods
|
||||
======
|
||||
|
||||
**Here are the details about the GNOME Screenshot tool, its usage and how to install and launch them in older and modern methods.**
|
||||
|
||||
![][1]
|
||||
|
||||
In 2022, GNOME changed its default screenshot tool and built the screenshot function as part of the GNOME Shell. It’s not a separate application anymore.
|
||||
|
||||
Earlier, GNOME featured a native GTK app gnome-screenshot via all the major Linux distributions such as Ubuntu and Fedora. However, from [GNOME 42][2] onwards, this has been removed. Hence [Ubuntu 22.04][3] and Fedora 36 onwards, you only get the following new screenshot UI as a default screenshot utility.
|
||||
|
||||
This change fundamentally broke many workflows. Since it is not an executable you can launch separately, you only depend on the keyboard’s print-screen key. And only a shortcut is available via application search.
|
||||
|
||||
Hence, capturing screenshots with a delay in the new GNOME screenshot UI becomes much more challenging.
|
||||
|
||||
Here are some of the ways you can still use the older GNOME Screenshot tool and how to trigger the new screenshot UI manually.
|
||||
|
||||
### GNOME Screenshot Tool: How to install the old GUI
|
||||
|
||||
If you are using Ubuntu 22.04 and above, or any Ubuntu-based distribution with a GNOME desktop, run the following command to install it.
|
||||
|
||||
```
|
||||
sudo apt install gnome-screenshot
|
||||
```
|
||||
|
||||
And for Fedora users, use the following command.
|
||||
|
||||
```
|
||||
sudo dnf install gnome-screenshot
|
||||
```
|
||||
|
||||
If you are using a **GNOME desktop in Arch Linux** or Manjaro Linux GNOME, then use the below command to install it.
|
||||
|
||||
```
|
||||
pacman -S gnome-desktop
|
||||
```
|
||||
|
||||
After installation, launch it via the application menu.
|
||||
|
||||
![GNOME Screenshot (old)][4]
|
||||
|
||||
![GNOME Screenshot main window (old)][5]
|
||||
|
||||
For further customization, you can open Settings and remove the keybinding of Print-Screen from the Shell’s new UI and create a custom keyboard shortcut with the following commands.
|
||||
|
||||
```
|
||||
gnome-screenshot --window <for window>
|
||||
gnome-screenshot --area <for area>
|
||||
gnome-screenshot <for fullscreen>
|
||||
```
|
||||
|
||||
### GNOME Screenshot UI: How to manually trigger it via the command line
|
||||
|
||||
The function which executes when you press the Print-Screen key from the keyboard is part of the [GNOME Shell code][6]. Unfortunately, it is protected inside dbus API, and you can not invoke it directly.
|
||||
|
||||
It has been done to make you safe under Wayland so that no arbitrary code gets access to dbus call functions via any script.
|
||||
|
||||
However, this broke many use cases and scripts which people wrote over the years. For example, many users reported [Zoom][7] videoconferencing calls [broke][8] under GNOME-Wayland due to this, which was eventually solved via the below method of turning off the safe mode.
|
||||
|
||||
Let’s see how you can turn it off and trigger the gnome-shell screenshot
|
||||
|
||||
Use caution before using the following steps. Since it may open up your GNOME Shell for arbitrary script access. Make sure you know what you are doing.
|
||||
|
||||
First, you need to open [GNOME looking glass][9] to turn off the safe mode.
|
||||
|
||||
Press `ALT+F`2 and type below:
|
||||
|
||||
```
|
||||
lg
|
||||
```
|
||||
|
||||
![Launch looking glass][10]
|
||||
|
||||
Select Evaluator at the top, and in the command window, type the following. And hit enter.
|
||||
|
||||
```
|
||||
global.context.unsafe_mode = true
|
||||
```
|
||||
|
||||
![Turn off safe mode][11]
|
||||
|
||||
You should see a response that it is turned off.
|
||||
|
||||
![Verification][12]
|
||||
|
||||
Now press escape to close the looking glass. And open a terminal prompt.
|
||||
|
||||
And type the following to launch the screenshot tool.
|
||||
|
||||
```
|
||||
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Main.screenshotUI.open();'
|
||||
```
|
||||
|
||||
You should see the new GNOME Shell screenshot triggered.
|
||||
|
||||
![Launch new GNOME Shell Screenshot UI from CLI][13]
|
||||
|
||||
If you want to turn it off, open `lg` again and set it to false.
|
||||
|
||||
```
|
||||
global.context.unsafe_mode = true
|
||||
```
|
||||
|
||||
### Closing Notes
|
||||
|
||||
Usage-wise, you can still use the new screenshot feature via any shell script by turning off the safe mode. But it is not recommended. It’s always better to use the old GNOME Screenshot tool to avoid all the hassles.
|
||||
|
||||
Cheers.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://www.debugpoint.com/gnome-screenshot-tool-usage/
|
||||
|
||||
作者:[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/wp-content/uploads/2023/01/gnome-sc1-1.jpg
|
||||
[2]: https://www.debugpoint.com/gnome-42/
|
||||
[3]: https://www.debugpoint.com/ubuntu-22-04-review/
|
||||
[4]: https://www.debugpoint.com/wp-content/uploads/2023/01/GNOME-Screenshot-old.jpg
|
||||
[5]: https://www.debugpoint.com/wp-content/uploads/2023/01/GNOME-Screenshot-main-window-old.jpg
|
||||
[6]: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/screenshot.js#L2210
|
||||
[7]: https://www.debugpoint.com/zoom-install-linux-ubuntu-download/
|
||||
[8]: https://community.zoom.com/t5/Meetings/Wayland-screen-sharing-broken-with-GNOME-41-on-Fedora-35/m-p/22539
|
||||
[9]: https://wiki.gnome.org/Projects/GnomeShell/LookingGlass
|
||||
[10]: https://www.debugpoint.com/wp-content/uploads/2023/01/Launch-looking-glass.jpg
|
||||
[11]: https://www.debugpoint.com/wp-content/uploads/2023/01/Turn-off-safe-mode.jpg
|
||||
[12]: https://www.debugpoint.com/wp-content/uploads/2023/01/Verification.jpg
|
||||
[13]: https://www.debugpoint.com/wp-content/uploads/2023/01/Launch-new-GNOME-Shell-Screenshot-UI-from-CLI.jpg
|
@ -0,0 +1,144 @@
|
||||
[#]: subject: "GNOME Screenshot Tool: Old and New Methods"
|
||||
[#]: via: "https://www.debugpoint.com/gnome-screenshot-tool-usage/"
|
||||
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
GNOME 截图工具:旧的和新的方法
|
||||
======
|
||||
|
||||
**以下是关于 GNOME 截图工具的细节,它的用法以及如何用旧的和现代的方法安装和启动它们。**
|
||||
|
||||
![][1]
|
||||
|
||||
2022 年,GNOME 改变了其默认的截图工具,并将截图功能构建为 GNOME Shell 的一部分。它不再是一个独立的应用了。
|
||||
|
||||
早些时候,GNOME 通过所有主要的 Linux 发行版,如 Ubuntu 和 Fedora,提供了一个本地 GTK 应用 gnome-screenshot。然而,从 [GNOME 42][2] 开始,这个功能已经被移除。因此从 [Ubuntu 22.04][3] 和 Fedora 36 开始,你只能得到以下新的截图 UI 作为默认的截图工具。
|
||||
|
||||
这一变化从根本上破坏了许多工作流程。因为它不是一个你可以单独启动的可执行文件,你只能依赖键盘上的 Print-Screen 键。而且只能通过应用搜索获得一个快捷方式。
|
||||
|
||||
因此,在新的 GNOME 截图 UI 中捕捉有延迟的屏幕截图变得更有挑战性。
|
||||
|
||||
下面是一些你仍然可以使用旧的 GNOME 截图工具的方法,以及如何手动触发新的截图 UI。
|
||||
|
||||
### GNOME 截图工具:如何安装旧版 GUI
|
||||
|
||||
如果你使用的是 Ubuntu 22.04 及以上版本,或者任何基于 Ubuntu 的带有 GNOME 桌面的发行版,运行以下命令来安装它。
|
||||
|
||||
```
|
||||
sudo apt install gnome-screenshot
|
||||
```
|
||||
|
||||
而对于 Fedora 用户,使用下面的命令。
|
||||
|
||||
```
|
||||
sudo dnf install gnome-screenshot
|
||||
```
|
||||
|
||||
如果你在 **Arch Linux 或者 Manjaro Linux 中使用 GNOME 桌面**,那么使用下面的命令来安装它。
|
||||
|
||||
```
|
||||
pacman -S gnome-desktop
|
||||
```
|
||||
|
||||
安装后,通过应用程序菜单启动它。
|
||||
|
||||
![GNOME 截图(旧)][4]
|
||||
|
||||
![GNOME 截图主窗口(旧)][5]
|
||||
|
||||
为了进一步定制,你可以打开设置,从 Shell 的新 UI 中移除 Print-Screen 的按键绑定,并通过以下命令创建一个自定义的键盘快捷方式。
|
||||
|
||||
```
|
||||
gnome-screenshot --window <窗口>
|
||||
gnome-screenshot --area <区域>
|
||||
gnome-screenshot <全屏>
|
||||
```
|
||||
|
||||
### GNOME 截图 UI:如何通过命令行手动触发它
|
||||
|
||||
当你从键盘上按下 Print-Screen 键时执行的函数是 [GNOME Shell 代码][6]的一部分。不幸的是,它被保护在 dbus API 内,你不能直接调用它。
|
||||
|
||||
这样做是为了让你在 Wayland 下安全,这样就不会有任意的代码通过任何脚本获得对 dbus 调用函数的访问。
|
||||
|
||||
然而,这破坏了许多使用场景和人们多年来编写的脚本。例如,许多用户报告说 [Zoom][7] 在 GNOME-Wayland 下的视频会议通话[中断][8]就是因为这个原因,最终通过下面这个关闭安全模式的方法解决了这个问题。
|
||||
|
||||
让我们看看如何关闭它并触发 gnome-shell 的截图
|
||||
|
||||
在使用下面的步骤之前,请谨慎行事。因为它可能会开放你的 GNOME Shell,让你任意访问脚本。请确保你知道你在做什么。
|
||||
|
||||
首先,你需要打开 [GNOME looking glass][9] 来关闭安全模式。
|
||||
|
||||
按 `ALT+F2` 并输入以下内容:
|
||||
|
||||
```
|
||||
lg
|
||||
```
|
||||
|
||||
![启动 looking glass][10]
|
||||
|
||||
在顶部选择 Evaluator,在命令窗口中,输入以下内容。然后点击回车。
|
||||
|
||||
```
|
||||
global.context.unsafe_mode = true
|
||||
```
|
||||
|
||||
![关闭安全模式][11]
|
||||
|
||||
你应该看到一个响应,即它已被关闭。
|
||||
|
||||
![验证][12]
|
||||
|
||||
现在按 esc 键关闭 looking glass。并打开一个终端。
|
||||
|
||||
输入以下内容以启动截图工具。
|
||||
|
||||
```
|
||||
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Main.screenshotUI.open();'
|
||||
```
|
||||
|
||||
你应该看到新的 GNOME Shell 截图被触发了。
|
||||
|
||||
![从 CLI 启动新的 GNOME Shell 截图 UI][13]
|
||||
|
||||
如果你想关闭它,再次打开 `lg` 并将其设置为 false。
|
||||
|
||||
```
|
||||
global.context.unsafe_mode = true
|
||||
```
|
||||
|
||||
### 结束语
|
||||
|
||||
从使用上来说,通过关闭安全模式,你仍然可以通过任何 shell 脚本使用新的截图功能。但不建议这样做。最好是使用旧的 GNOME 截图工具来避免所有的麻烦。
|
||||
|
||||
干杯。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://www.debugpoint.com/gnome-screenshot-tool-usage/
|
||||
|
||||
作者:[Arindam][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者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/wp-content/uploads/2023/01/gnome-sc1-1.jpg
|
||||
[2]: https://www.debugpoint.com/gnome-42/
|
||||
[3]: https://www.debugpoint.com/ubuntu-22-04-review/
|
||||
[4]: https://www.debugpoint.com/wp-content/uploads/2023/01/GNOME-Screenshot-old.jpg
|
||||
[5]: https://www.debugpoint.com/wp-content/uploads/2023/01/GNOME-Screenshot-main-window-old.jpg
|
||||
[6]: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/screenshot.js#L2210
|
||||
[7]: https://www.debugpoint.com/zoom-install-linux-ubuntu-download/
|
||||
[8]: https://community.zoom.com/t5/Meetings/Wayland-screen-sharing-broken-with-GNOME-41-on-Fedora-35/m-p/22539
|
||||
[9]: https://wiki.gnome.org/Projects/GnomeShell/LookingGlass
|
||||
[10]: https://www.debugpoint.com/wp-content/uploads/2023/01/Launch-looking-glass.jpg
|
||||
[11]: https://www.debugpoint.com/wp-content/uploads/2023/01/Turn-off-safe-mode.jpg
|
||||
[12]: https://www.debugpoint.com/wp-content/uploads/2023/01/Verification.jpg
|
||||
[13]: https://www.debugpoint.com/wp-content/uploads/2023/01/Launch-new-GNOME-Shell-Screenshot-UI-from-CLI.jpg
|
Loading…
Reference in New Issue
Block a user