google drive kde kubuntu neon


do want manage your google drive files with dolphin ?

install this :

sudo apt-get install kio-gdrive

then just open dolphin—-> network folders —> Google drive and add your account

if for some reason you can’t find it just launch this :

kioclient5 exec gdrive:/

and now you can manage your files 😀

Lansharefiles_20180316_212912.png

Advertisements

Connecting Kubuntu adb to sony xperia z5 for debugging


In my case i had sony z5

lsusb output

Bus 003 Device 010: ID 0fce:51da Sony Ericsson Mobile

step to do this :

  1. CONNECT YOUR DEVICE WITH  OPTION DEBUG ACTIVATED
  2. CHECK IF YOU DEVICES IS LISTED IN THIS FILE /etc/udev/rules.d/51-android.rules
  3. CONNECT YOUR ANDROID PHONE TO USB , AND ACCEPT THE FINGERPRINT!!!
  4. USE ADB TO DEBUG YOUR PHONE

 

1  FIRST STEP : TAP SOME TIMES HERE

enable-developer-mode-in-android-6-0-marshmallow

NOW YOU HAVE THE DEVELOPERS OPTION SO ===>

usb-debugging-on-android-3-0

2 STEP

exectute this command
 cat /etc/udev/rules.d/51-android.rules | grep -A1 -i sony

you should get this

cat /etc/udev/rules.d/51-android.rules | grep -A1 -i sony
#Sony Ericsson
SUBSYSTEM==usb, SYSFS{idVendor}==0fce, MODE=0664, GROUP=plugdev

 

3 STEP

connect and   accept this

 

adb_fingerprint

4 STEP

 

now you should be able to do this

sudo adb devices -l

List of devices attached 
CB5A286TNS device usb:3-1 product:E5823 model:E5823 device:E5823

ok now you can log with

 adb logcat

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 😀 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 😀

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/