DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Brave Shortcut and Ubuntu Application
mikoloism
mikoloism

Posted on

Brave Shortcut and Ubuntu Application

Hi Everyone,
In this Article i want to explain how to create pwa from any site and adding it as launcher application
Some Websites not accept install as PWA but we want have it alike a application

1. Open Homepage of some website

I'm Choose css-tricks.com for example

Image description

2. Create Shortcut

To Doing this, first, on the top and left of view, click the hamburger menu and go to More tools > Create Shortcut...

Image description

3. Check As Window

Brave, show you a prompt, then, enter your custom name for application and Check the open as window

Image description

4. Tada!, Your Application created

application dekstop file exists on ~/Desktop/ directory by brave-{ANY_NAME}.desktop file name

Image description

5. Move to Luanchers

Move the brave-{ANY_NAME}.desktop file into ~/.local/share/applications/ path by Terminal or GUI

$ mv brave-{ANY_NAME}.desktop ~/.local/share/applications/brave-css-tricks.desktop
Enter fullscreen mode Exit fullscreen mode

Then, You can change replace any name to instead 'css-tricks' because this make it readable

6. Change Properties

open nano in Terminal and update Exec= and Icon= property

$ nano ~/.local/share/application/brave-css-tricks.desktop
Enter fullscreen mode Exit fullscreen mode

Image description

7. Change Executor

on the nano editor, change the Exec= property to brave as launcher (alike below screenshot)

Image description

8. Change Icon path

on the nano editor, change Icon= to correct path (alike screenshot)

NOTE : you should change {USERNAME} to your exactly username /home/your-username

Image description

you can copy the {APP_ID} from the Exec= property

9. Enjoy! :)

Top comments (0)

Let's Get Hacking

Join the DEV x Linode Hackathon 2022 and use your ingenuity and creativity to build using Linode.

β†’ Join the Hackathon <-