Website as an Application

Example of Application Website

Run any website as an regular application, meaning without the browser’s standard tabs, address-bar, etc… Assuming you’re using Google Chrome or Chromium, create a new file with the following content and save it into the folder ~/.local/share/applications.

The entry in the example is for Twitter.

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en]=/usr/share/icons/Faenza/apps/96/twitter.png
Exec=/opt/google/chrome/google-chrome --app=https://twitter.com/
Name[en]=Twitter
Name=Twitter
Icon=/usr/share/icons/Faenza/apps/96/twitter.png
StartupWMClass=twitter.com

To get StartupWMClass use following command, and click on window which of class you’d like to find out:

$ xprop WM_CLASS