Telegram Desktop anyone?

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Telegram Desktop anyone?

Post#2 by beny » 24 Dec 2021, 19:46

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
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 …
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Telegram Desktop anyone?

Post#4 by beny » 24 Dec 2021, 23:32

hi Rava : bash-5.1# md5sum '/mnt/sdh1/porteus/modules/telegram-3.2.4-x86_64-1ponce.xzm'
0c9c093b77765ac8aa25d08370eb3acd

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
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

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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
:)
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 619
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Telegram Desktop anyone?

Post#7 by M. Eerie » 25 Dec 2021, 10:31

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:
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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?
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 619
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Telegram Desktop anyone?

Post#9 by M. Eerie » 25 Dec 2021, 10:47

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.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 619
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Telegram Desktop anyone?

Post#10 by M. Eerie » 25 Dec 2021, 10:56

ncmprhnsbl wrote:
25 Dec 2021, 00:00
don't click on it, instead close the app
Why this? Can you further explain
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
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

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.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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?
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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/ ?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Telegram Desktop anyone?

Post#14 by beny » 10 Sep 2022, 14:46

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

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

Post Reply