Unlock repost https://community.brave.com/t/website-shortcut-desktop-file-what-is-app-id-and-startupwmclass/509879?u=dimtok by dimtok

Hi there! This is my first post.

I want to make a bash script for creating a website shortcut for a URL.

If I save a website manually on Linux/Ubuntu, then a file with the following content is created. I have two questions about this:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=ChatGPT
Exec=/opt/brave.com/brave/brave-browser --profile-directory=Default --app-id=jckaldkomadaenmmgladeopgmfbahfjm
Icon=brave-jckaldkomadaenmmgladeopgmfbahfjm-Default
StartupWMClass=crx_jckaldkomadaenmmgladeopgmfbahfjm

How do I know what is inside of --app-id and what does StartupWMClass point to? - So that I can put this together myself in my script?

let’s bump it up guys!

@yeesterPlus,
--app-id is the same as desktop shortcuts on the brave://apps page. If you right-click on any of the icons on that page and go to App settings, you can see the --app-id in the URL:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.