maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app (https://talk.maemo.org/showthread.php?t=91888)

BlazingBird 2016-03-23 13:12

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Can anyone share some screenshots. Im eager to see the UI before i install.

t-b 2016-04-03 21:52

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
I have a dependency issue installing telegram-cli. libjansson is needed and doesn't seem to be in any of the repositories (checked nokia mirrors and cssu testing / devel / extra dev).

Sohil876 2016-04-04 09:51

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Quote:

Originally Posted by t-b (Post 1502757)
I have a dependency issue installing telegram-cli. libjansson is needed and doesn't seem to be in any of the repositories (checked nokia mirrors and cssu testing / devel / extra dev).

Its not in repos you need to compile it: http://www.digip.org/jansson/ . Btw, i have included latest v2.7 in my previous uploaded telegram-cli, so you can also get it from there, extract and copy ALL files in telegram-cli_v1.3.1/usr/lib folder from archive to your usr/lib folder.

t-b 2016-04-04 19:45

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Thx. Apparently the symbolic links were not copied and are needed. Will check later and try again.

Sohil876 2016-04-05 05:06

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Quote:

Originally Posted by t-b (Post 1502809)
Thx. Apparently the symbolic links were not copied and are needed. Will check later and try again.

Links are there you probably are trying to extract it on mydocs which is fat partition and does not supports sysmlinks, extract it in opt or home partition youll get the file with links.

saponga 2016-04-05 07:14

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Does anybody know how to setup the client to use maemo's default image viewer ? Whenever I enter the command view_photo I'm getting
Code:

sh: xdg-open: not found.
Thank you.

xes 2016-04-05 08:35

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
https://talk.maemo.org/showthread.php?t=28954

dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///media/mmc1/DCIM/p100001.jpg

saponga 2016-04-05 11:12

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Quote:

Originally Posted by xes (Post 1502830)
https://talk.maemo.org/showthread.php?t=28954

dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///media/mmc1/DCIM/p100001.jpg

Thank you. But acttually, what i want to know is how to "tell" telegram-cli to do that.

Sohil876 2016-04-05 12:11

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Quote:

Originally Posted by saponga (Post 1502836)
Thank you. But acttually, what i want to know is how to "tell" telegram-cli to do that.

If you will only open pics (since im sure view audio or other views will use xdg too) then just create a script in /usr/bin named xdg-open with contents:
Code:

#!/bin/sh
dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file://"$1"

, this should open images in default image-viewer and fail for other (audio/video/txt) "views" of telegram-cli. Well since there is no xdg-utils for maemo it should be fine or maybe someone will point out a better approach, one such i see is copying xdg-open (of diablo maybe?) to /usr/bin and manually adding rules of opening mimetype with a app to /etc/mailcap, that should work for all "views" of telegram audio/video/image/txt,etc.
EDIT: the second method i tried and it works fine for all views, though i dont know if its fine to use that method so only try that at your own risk.

saponga 2016-04-05 13:03

Re: Telegram on N900- a free,cloud-based, decentralized and heavily encrypted WhatsApp like app
 
Thank you very much. The script method works and for now I only need view_photo option.


All times are GMT. The time now is 20:40.

vBulletin® Version 3.8.8