Skip to main content

Command Palette

Search for a command to run...

Installing Websites as Web App on Ubuntu Based OS

Updated
1 min read
Installing Websites as Web App on Ubuntu Based OS

In this blog, I am going to summarize how to create a web app on Ubuntu Based Operating System.
Steps Required:-

  1. Firstly we need to find your user-name (if you know the username skip this step)

     whoami
    
  2. For installing the web app we need the following values
    APP_NAME, APP_URL, ICON_ABSOLUTE_PATH
    PS:- I will take the example of notion in this blog

  3. Our next step is to get a Icon png or svg file. For that you can scroll through the internet to find the app icon of your app. Once, you get that icon we will use wget to download the icons and store it into Icon=/home/username/.local/share/icons/notion.png

     wget ICON_URL -O ~/.local/share/icons/notion.png
    
  4. Now we will create a .desktop file and edit it using nano editor

     nano ~/.local/share/applications/notion.desktop
    
     [Desktop Entry]
     Name=Notion
     Exec=brave --app=https://notion.so
     Icon=/home/username/.local/share/icons/notion.png
     Terminal=false
     Type=Application
     Categories=Office;
    

    Press Ctrl + O then press Enter
    Then press Ctrl + X

  5. Now using chmodgive permission to all apps

     chmod +x ~/.local/share/applications/*.desktop
     update-desktop-database ~/.local/share/applications
    

    Log In → Log out
    This will help you reset your GNOME Launcher and hopefully now you will able to see your app icon in the applications section