translated

This commit is contained in:
geekpi 2018-12-06 08:54:50 +08:00
parent 9b19c4f31a
commit ba1f6fcb35
2 changed files with 70 additions and 70 deletions

View File

@ -1,70 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: ( geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: subject: (Standalone web applications with GNOME Web)
[#]: via: (https://fedoramagazine.org/standalone-web-applications-gnome-web/)
[#]: author: (Ryan Lerch https://fedoramagazine.org/introducing-flatpak/)
[#]: url: ( )
Standalone web applications with GNOME Web
======
![](https://fedoramagazine.org/wp-content/uploads/2018/11/gnome-web-816x345.jpg)
Do you regularly use a single-page web application, but miss some of the benefits of a full-fledged desktop application? The GNOME Web browser, simply named Web (aka Epiphany) has an awesome feature that allows you to install a web application. By doing this, the web application is then presented in the applications menus, GNOME shell search, and is a separate item when switching windows. This short tutorial walks you through the steps of installing a web application with GNOME Web.
### Install GNOME Web
GNOME Web is not included in the default Fedora install. To install, search in the Software application for web, and install.
![][1]
Alternatively, use the following command in the terminal:
```
sudo dnf install epiphany
```
### Install as Web Application
Next, launch GNOME Web, and browse to the web application you wish to install. Connect to the application using the browser, and choose Install site as Web Application from the menu:
![][2]
GNOME Web next presents a dialog to edit the name of the application. Either leave it as the default (the URL) or change to something more descriptive:
![][3]
Finally, press **Create** to install your new web application. After creating the web application, close GNOME Web.
### Using the new web application
Launch the web application as you would with any typical desktop application. Search for it in the GNOME Shell Overview:
![][4]
Additionally, the web application will appear as a separate application in the alt-tab application switcher:
![][5]
One additional feature this adds is that all web notifications from the installed web application are presented as regular GNOME notifications.
--------------------------------------------------------------------------------
via: https://fedoramagazine.org/standalone-web-applications-gnome-web/
作者:[Ryan Lerch][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://fedoramagazine.org/introducing-flatpak/
[b]: https://github.com/lujun9972
[1]: https://fedoramagazine.org/wp-content/uploads/2018/11/gnome-web-in-gnome-software.png
[2]: https://fedoramagazine.org/wp-content/uploads/2018/11/freenode-page-in-gnome-web.png
[3]: https://fedoramagazine.org/wp-content/uploads/2018/11/edit-web-application-in-GNOME-web.png
[4]: https://fedoramagazine.org/wp-content/uploads/2018/11/web-application-in-overview.jpg
[5]: https://fedoramagazine.org/wp-content/uploads/2018/11/web-app-in-app-switcher.jpg

View File

@ -0,0 +1,70 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: subject: (Standalone web applications with GNOME Web)
[#]: via: (https://fedoramagazine.org/standalone-web-applications-gnome-web/)
[#]: author: (Ryan Lerch https://fedoramagazine.org/introducing-flatpak/)
[#]: url: ( )
使用 GNOME Web 的独立 Web 应用
======
![](https://fedoramagazine.org/wp-content/uploads/2018/11/gnome-web-816x345.jpg)
你是否经常使用单页 Web 应用,但失去了一些完整桌面应用的好处? GNOME Web 浏览器,简称为 Web又名 Epiphany有一个非常棒的功能它允许你“安装” 一个 Web 应用。安装完成后Web 应用将显示在应用菜单、GNOME shell 搜索中,并且它在切换窗口时是一个单独的项目。这个简短的教程将引导你完成使用 GNOME Web “安装” Web 应用的步骤。
### 安装 GNOME Web
GNOME Web 未包含在默认的 Fedora 安装中。要安装它,请在软件中心搜索 “web”然后安装。
![][1]
或者,在终端中使用以下命令:
```
sudo dnf install epiphany
```
### 安装为 Web 应用
接下来,启动 GNOME Web然后选择要安装的 Web 应用。使用浏览器连接到应用,然后从菜单中选择“将站点安装为 Web 应用”:
![][2]
GNOME Web 接下来会出现一个用于编辑应用名称的对话框。将其保留为默认值 URL 或更改为更具描述性的内容:
![][3]
最后,按下**创建**以 “安装” 你的新 Web 应用。创建 Web 应用后,关闭 GNOME Web。
### 使用新的 Web 应用
像使用任何典型的桌面应用一样启动 Web 应用。在 GNOME Shell Overview 中搜索它:
![][4]
此外Web 应用将在 alt-tab 应用切换器中显示为单独的应用:
![][5]
另一个额外的功能是来自“已安装”的 Web 应用的所有 Web 通知都显示为常规 GNOME 通知。
--------------------------------------------------------------------------------
via: https://fedoramagazine.org/standalone-web-applications-gnome-web/
作者:[Ryan Lerch][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://fedoramagazine.org/introducing-flatpak/
[b]: https://github.com/lujun9972
[1]: https://fedoramagazine.org/wp-content/uploads/2018/11/gnome-web-in-gnome-software.png
[2]: https://fedoramagazine.org/wp-content/uploads/2018/11/freenode-page-in-gnome-web.png
[3]: https://fedoramagazine.org/wp-content/uploads/2018/11/edit-web-application-in-GNOME-web.png
[4]: https://fedoramagazine.org/wp-content/uploads/2018/11/web-application-in-overview.jpg
[5]: https://fedoramagazine.org/wp-content/uploads/2018/11/web-app-in-app-switcher.jpg