From 7946201870c342535d3fa9c4e9e75b903fc99c8a Mon Sep 17 00:00:00 2001 From: darksun Date: Fri, 30 Nov 2018 18:03:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=89=E9=A2=98:=20Standalone=20web=20ap?= =?UTF-8?q?plications=20with=20GNOME=20Web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ndalone web applications with GNOME Web.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 sources/tech/20181128 Standalone web applications with GNOME Web.md diff --git a/sources/tech/20181128 Standalone web applications with GNOME Web.md b/sources/tech/20181128 Standalone web applications with GNOME Web.md new file mode 100644 index 0000000000..c74335a2ed --- /dev/null +++ b/sources/tech/20181128 Standalone web applications with GNOME Web.md @@ -0,0 +1,70 @@ +[#]: collector: (lujun9972) +[#]: translator: ( ) +[#]: 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 From 47b142155ec88548d4c451fac0e38feafd2791a2 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Fri, 30 Nov 2018 18:54:12 +0800 Subject: [PATCH 2/2] Update 20181128 Standalone web applications with GNOME Web.md --- .../tech/20181128 Standalone web applications with GNOME Web.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/tech/20181128 Standalone web applications with GNOME Web.md b/sources/tech/20181128 Standalone web applications with GNOME Web.md index c74335a2ed..4dd635f8b2 100644 --- a/sources/tech/20181128 Standalone web applications with GNOME Web.md +++ b/sources/tech/20181128 Standalone web applications with GNOME Web.md @@ -4,7 +4,7 @@ [#]: 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/)) +[#]: author: (Ryan Lerch https://fedoramagazine.org/introducing-flatpak/) [#]: url: ( ) Standalone web applications with GNOME Web