Telegram Save chat history linux kubuntu kde


unluckly telegram has not a good feature to save caht’s history so … here the solution ugly but you can do it at least. ( i need to save the chat with babies …. x) )

first of all you need this software : telegram-cli which is open source btw you have to compile stuff (instruction line by line can be found here https://github.com/vysheng/tg#installation but wtf i prefer my own all-the-crap-line )

 git clone --recursive https://github.com/vysheng/tg.git && cd tg && sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make  && ./configure && make && tg/bin/telegram-cli -k tg/server.pub

now he will ask you for a phone , which you have to write in the console … BE CAREFULL TO ADD COUNTRY CODE FOR EXAMPLE my phone :

3333333 but i am in italy so +393333333

it will ask for the code which will be sent you via sms and so you have all the stuff set.

now how to save the history ? NOTE THAT YOU HAVE TAB AUTOCOMPLETE FEATURE SO….

let’s call Marta the babe

history Marta 10000

IMPORTANT … WRITE TO THE BABE SOME MESSAGE EVEN IF YOU DO NOT NEED TO :d

OR YOU CAN’T set the command correctly i mean i can do history Marta 10000 but it doens’t print anything …if for example i send a message on https://web.telegram.org/ to the babe and then i check the terminal i can do correctly the command , i hope this will help you because was frustrating when i tried :D i hope that this will be fixed soon

ok it will type all the crap in the console….

now select and copy and paste i know it’s nasty and a bit stupid maybe i can improve this but it’s what i needed :D

ORIGINAL IDEAS AND INITIAL VERSION WAS HERE :

https://github.com/vysheng/tg#installation
http://www.haykranen.nl/2014/12/02/howto-backup-your-telegram-chats/

set dns kde kubuntu


If you have a crap new ultra speed modem like me ,  and you want set DNS but you can not set them on the modem you can handle the situation in this way

just on network manager , click on the wrench or just go in the settings , locate ipv4 and on Other Dns Server put this : THESE ARE THE GOOGLE DNS … OR CHOOSE WHAT YOU NEED …

8.8.8.8,8.8.4.4

here the picture
 opticfiberdns

if you want test … just do this

nm-tool | grep DNS

dolphin exfat kubuntu


you got an error trying to mount a microsd ? maybe 64\32gb?

ok do that

sudo apt-get install exfat-utils exfat-fuse
Follow

Get every new post delivered to your Inbox.