basecamp / omakub

Opinionated Ubuntu Setup
https://omakub.org
5.61k stars 497 forks source link

Adding a Telegram app #276

Closed avelkov closed 2 months ago

avelkov commented 2 months ago

Hi Everyone,

I've added Telegram to my setup using the same method as WhatsApp and thought this would be a useful addition to Omakub - but I've also never contributed to an open source project before so not sure how to go about it correctly.

I simply created a Telegram.desktop file in .local/share/applications with the following code

[Desktop Entry] Version=1.0 Name=Telegram Comment=Telegram Messenger Exec=google-chrome --app="https://web.telegram.org" --name=Telegram --class=Telegram Terminal=false Type=Application Icon=/home/[USER]/.local/share/omakub/applications/icons/Telegram.png Categories=GTK; MimeType=text/html;text/xml;application/xhtml_xml; StartupNotify=true

where [USER] is my username - I'm not sure how this would be applied to the install script to correctly go in the right folder.

Then I added the attached Icon to .local/share/omakub/applications/icons

How can I help more to get this into the code-base?

Telegram

florentdestremau commented 2 months ago

FWIW there is a Telegram native app for linux (and pretty great too)

avelkov commented 2 months ago

Ah, very useful indeed! Thanks.

Installing now, and undoing my manual addition.