Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tech:software:os:linux [2022/11/07 18:04] – created alephalpha0tech:software:os:linux [2023/03/03 07:51] (current) – added in Installing Web App via GNOME Web alephalpha0
Line 1: Line 1:
 ====== Linux ====== ====== Linux ======
  
-== Magic SysRq Key ==+==== Installing a Web App via GNOME Web ==== 
 + 
 +If the web-app is called **"Example"** and it launches **"https://www.example.com"**. You will create a .desktop file as follows: 
 + 
 +    [Desktop Entry] 
 +    Version=1.0 
 +    Type=Application 
 +    Exec=epiphany --application-mode=example.desktop https://www.example.com 
 +    Icon=example 
 +    StartupNotify=true 
 +    StartupWMClass=example 
 +    Terminal=false 
 +    Name=Example application 
 +    Comment=A system-wide web application`` 
 + 
 +Note that the exec line includes a reference to the web app URL and to the .desktop file itself. Store the desktop file and matching icons in the usual locations, for example: 
 + 
 +  * For System-Wide:   
 + 
 +    /usr/share/applications/example.desktop 
 +    /usr/share/icons/hicolor/128x128/apps/example.png  
 + 
 +  * For your own user account: 
 + 
 +    ~/.local/share/applications/example.desktop 
 +    ~/.local/share/icons/hicolor/128x128/apps/example.png 
 + 
 +**__You can also reference local HTML files as follows:__** (( Source: https://wiki.gnome.org/Apps/Web/Docs/FrequentlyAskedQuestions)) 
 + 
 +    [Desktop Entry] 
 +    Name=Fedora Developer Portal 
 +    Comment=The developer workstation you've been waiting for. 
 +    GenericName=Documentation 
 +    Exec=epiphany --application-mode=fedora-developer-portal.desktop /usr/share/fedora-developer-portal/index.html 
 +    Icon=fedora-developer-portal 
 +    StartupWMClass=fedora-developer-portal 
 +    Type=Application 
 +    StartupNotify=true 
 +    MimeType=text/plain; 
 + 
 + 
 +---- 
 + 
 + 
 + 
 + 
 +==== Magic SysRq Key ====
 ''The Decent Way To Reboot Frozen Kernels.'' ''The Decent Way To Reboot Frozen Kernels.''