Telegram Desktop anyone?
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#1 by Rava » 24 Dec 2021, 19:01
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?
Yours Rava
Rava
Telegram Desktop anyone?
Post#2 by beny » 24 Dec 2021, 19:46
https://www.mediafire.com/file/u2wgnp9n ... e.xzm/file
beny
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#3 by Rava » 24 Dec 2021, 22:34
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 …
Yours Rava
Rava
beny
- ncmprhnsbl
- DEV Team
- Posts: 4291
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Telegram Desktop anyone?
Post#5 by ncmprhnsbl » 25 Dec 2021, 00:00
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..
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#6 by Rava » 25 Dec 2021, 08:48
Thanks for the heads up.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..
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"
Done today that would create as new module this:
Code: Select all
telegram-3.2.4-x86_64-1ponce_2021-12-25.xzm

Yours Rava
Rava
Telegram Desktop anyone?
Post#7 by M. Eerie » 25 Dec 2021, 10:31
No need to build a module. It is auto-updatable and you just need to replace both binaries (Telegram and Updater).
(Season) Greetings_


https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
M. Eerie
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#8 by Rava » 25 Dec 2021, 10:37
Is there an md5sum by https://telegram.org somewhere?
Yours Rava
Rava
Telegram Desktop anyone?
Post#9 by M. Eerie » 25 Dec 2021, 10:47
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.

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
M. Eerie
Telegram Desktop anyone?
Post#10 by M. Eerie » 25 Dec 2021, 10:56
Why this? Can you further explain

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
M. Eerie
- ncmprhnsbl
- DEV Team
- Posts: 4291
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Telegram Desktop anyone?
Post#11 by ncmprhnsbl » 25 Dec 2021, 13:26
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.
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#12 by Rava » 25 Dec 2021, 20:19
Oh, I had no idea. Good tip.ncmprhnsbl wrote: ↑25 Dec 2021, 13:26i might mention that pidgin can be used for a telegram client too.

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?
Yours Rava
Rava
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#13 by Rava » 10 Sep 2022, 14:24
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>
Any ideas?
Is that a known issue with Palemoon (31.2.0.1) and https://web.telegram.org/z/ ?
Yours Rava
Rava
Telegram Desktop anyone?
Post#14 by beny » 10 Sep 2022, 14:46
beny
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Telegram Desktop anyone?
Post#15 by Rava » 10 Sep 2022, 17:36
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.

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
Yours Rava
Rava