Page 1 of 2

Telegram Desktop anyone?

Posted: 24 Dec 2021, 19:01
by Rava
Does anyone use a module made out of the x86-64 Telegram Desktop ? (Telegram as in the messenger service - see on wikipedia: Telegram (software) )

https://desktop.telegram.org/

Since you have two choices (at least according for the above link):
• Flatpak via https://flathub.org/apps/details/org.telegram.desktop or
• Snap via https://snapcraft.io/telegram-desktop

Anyone tried both? If so, what is the better solution to turn into a minimal-dependency-module for x86-64 5.0rc3?

Telegram Desktop anyone?

Posted: 24 Dec 2021, 19:46
by beny
hi there is a slackbuild of this after the upgrade of porteus kernel i try to build it,and share via mediafire if build is ok.
https://www.mediafire.com/file/u2wgnp9n ... e.xzm/file

Telegram Desktop anyone?

Posted: 24 Dec 2021, 22:34
by Rava
^
thanks beny, do you have the md5sum of telegram-3.2.4-x86_64-1ponce.xzm ?

Added in 1 minute 21 seconds:
my download has 0c9c093b77765ac8aa25d08370eb3acd …

Telegram Desktop anyone?

Posted: 24 Dec 2021, 23:32
by beny
hi Rava : bash-5.1# md5sum '/mnt/sdh1/porteus/modules/telegram-3.2.4-x86_64-1ponce.xzm'
0c9c093b77765ac8aa25d08370eb3acd

Telegram Desktop anyone?

Posted: 25 Dec 2021, 00:00
by ncmprhnsbl
some notes on this telegram binary:
user data(login info etc) is stored in ~/.local/share/TelegramDesktop/tdata (for saving to a module)
it updates itself periodically, dumping the updated binary in ~/.local/share/TelegramDesktop/tupdates (it does this without asking)
> a small banner will notify you of this
> don't click on it, instead close the app
> grab the binary (Telegram) from ~/.local/share/TelegramDesktop/tupdates and manually replace it in <extracted_module>/opt/telegram and remake the module(take a guess to rename it for the new version)
>deactivate the old module, activate the new one and you're good to go..

Telegram Desktop anyone?

Posted: 25 Dec 2021, 08:48
by Rava
ncmprhnsbl wrote:
25 Dec 2021, 00:00
> a small banner will notify you of this
> don't click on it, instead close the app
> grab the binary (Telegram) from ~/.local/share/TelegramDesktop/tupdates and manually replace it in <extracted_module>/opt/telegram and remake the module(take a guess to rename it for the new version)
>deactivate the old module, activate the new one and you're good to go..
Thanks for the heads up.
Since it needs regular updates, me thinks I will make a script out of the above to automatically update the old module with a new one.
Hopefully i can make that script good enough to share it here. :)

Added in 3 minutes 55 seconds:
As for the new version number, I think I just go with

Code: Select all

"old-name-without_extention_$(date +%Y-%m-%d).xzm"
- probably that means that the version number could be off, when that update not only changes the user data but also the program's version number.
Done today that would create as new module this:

Code: Select all

telegram-3.2.4-x86_64-1ponce_2021-12-25.xzm
:)

Telegram Desktop anyone?

Posted: 25 Dec 2021, 10:31
by M. Eerie
Hi. I'm just using the binary available from their page.

No need to build a module. It is auto-updatable and you just need to replace both binaries (Telegram and Updater).

(Season) Greetings_

:santa:

Telegram Desktop anyone?

Posted: 25 Dec 2021, 10:37
by Rava
M. Eerie wrote:
25 Dec 2021, 10:31
Hi. I'm just using the binary available from their page.
Is there an md5sum by https://telegram.org somewhere?

Telegram Desktop anyone?

Posted: 25 Dec 2021, 10:47
by M. Eerie
I can't see it (nor for the snap/flatpak versions).

If you don't trust their download, you can always build from source from their github.

Or... you can use a browser and start a new session.

Telegram Desktop anyone?

Posted: 25 Dec 2021, 10:56
by M. Eerie
ncmprhnsbl wrote:
25 Dec 2021, 00:00
don't click on it, instead close the app
Why this? Can you further explain

Telegram Desktop anyone?

Posted: 25 Dec 2021, 13:26
by ncmprhnsbl
M. Eerie wrote:
25 Dec 2021, 10:56
Why this? Can you further explain
well, because i just put the binary in /usr/bin of my module, i imagine that the updater would fail due to permissions failure, plus there's no way it would update my module automatically..
if i installed the binary in a guest writable location like ~/.local/bin or something, then i suppose the updater(which would simply move the already downloaded binary) would work..
but i'd still have to update my module anyway, so i just leave out the updater and just do it manually( i keep an extracted version handy on my HD for this purpose)
just what suits me, really..

i might mention that pidgin can be used for a telegram client too.

Telegram Desktop anyone?

Posted: 25 Dec 2021, 20:19
by Rava
ncmprhnsbl wrote:
25 Dec 2021, 13:26
i might mention that pidgin can be used for a telegram client too.
Oh, I had no idea. Good tip. :)

Added in 1 day 35 minutes 39 seconds:
I forgot to ask: do I need some extra setup for using pidgin as telegram client, or do I just use my telegram credentials?

Telegram Desktop anyone?

Posted: 10 Sep 2022, 14:24
by Rava
M. Eerie wrote:
25 Dec 2021, 10:47
you can use a browser and start a new session.
I tried that - now obviously on port 5.0 (finale version) with XFCE 4.12.

When I click that link I get redirected to https://web.telegram.org/z/ and all i see is a complete empty window.
The html code it loads is this:

Code: Select all

<!doctype html><html lang="en" translate="no" class="notranslate"><head><meta charset="UTF-8"><title>Telegram Web</title><meta name="title" content="Telegram Web"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"><meta name="mobile-web-app-capable" content="yes"><meta name="mobile-web-app-title" content="Telegram Web"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Telegram Web"><meta name="application-name" content="Telegram Web"><meta name="msapplication-TileColor" content="#2b5797"><meta name="msapplication-config" content="./browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="google" content="notranslate"><meta property="og:type" content="website"><meta property="og:url" content="https://web.telegram.org/z/"><meta property="og:title" content="Telegram Web"><meta property="og:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="og:image" content="./icon-192x192.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://web.telegram.org/z/"><meta property="twitter:title" content="Telegram Web"><meta property="twitter:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="twitter:image" content="./icon-192x192.png"><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" href="./favicon.svg" type="image/svg+xml"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="192x192" href="./icon-192x192.png"><link rel="alternate icon" href="./favicon.ico" type="image/x-icon"><link rel="manifest" id="the-manifest-placeholder"/><script defer="defer" src="main.eb33d119561562a11083.js"></script><link href="main.d52d800c88fb770ea1ea.css" rel="stylesheet"></head><body><noscript><video src="./nojs.mp4" class="nojs-video" muted loop autoplay playsinline disablepictureinpicture></video><h1>Telegram Web</h1><p>Please, enable JavaScript to open the app.</p></noscript><div id="root"></div><div id="portals"></div></body></html>
Of course I already allowed JavaScript via ematrix and reloaded the page in Palemoon - and even changed the Advanced Night Mode settings from disabled (the the blank page is all white) to Stylesheet processor (page all black) to Simple CSS (page all black) to Default (page all black) …

Any ideas?
Is that a known issue with Palemoon (31.2.0.1) and https://web.telegram.org/z/ ?

Telegram Desktop anyone?

Posted: 10 Sep 2022, 14:46
by beny
with the link in firefox you have the qrcode scan page to enter in telegram.... and palemoon do not work with... and the seamonkey search is funny the porteus forum for duckduckgo do not exist, well we have to fight for i don't think so

Telegram Desktop anyone?

Posted: 10 Sep 2022, 17:36
by Rava
Okay, I try looking into it on the palemoon forum then.

Like dict.leo.org also messed up their site approx 1 1/2 weeks ago so that the site just shows a blank page in Palemoon. The fix is temporarily activating a hack via about:config - but that setting is not recommended nor safe for General browsing - so it should only be set for the short time you need it for dict.leo.org - and then reset to the original "false" state. :wall:

If anyone is interested in the world largest English/German language forums - and you use palemoon - you need to look into that thread: "leo.org shows blank page TypeError: e.attachShadow is not a function" on forum.palemoon.org