Reading SMS from the terminal?
#1
It's annoying to have to find my phone just so I can get the code so I can login to a given site. I've got SSH enabled, is there a way for me to view texts or at least notifications from there?
  Reply
#2
I am pretty sure somebody posted the location of the text files that chatty displays (cannot find it right now). Something like a .var/chatty/... directory?

You should be able to find out which files the chatty process loads, e.g. using 'ps'.

Hope this helps

  lacriz
  Reply
#3
(10-16-2021, 08:12 AM)lacriz Wrote: I am pretty sure somebody posted the location of the text files that chatty displays (cannot find it right now). Something like a .var/chatty/... directory?

You should be able to find out which files the chatty process loads, e.g. using 'ps'.

Hope this helps

  lacriz

Looking at lsof it looks like the file I'm looking for is /home/mobian/.purple/chatty/db/chatty-history.db so I guess I need to figure out some way to read an sqlite db from the terminal

Edit: came up with this and threw it into my .zshrc, works great
Code:
alias txts="sqlite3 ~/.purple/chatty/db/chatty-history.db -box \"select datetime(messages.time, 'unixepoch') AS time, threads.alias AS contact, replace(messages.body, char(10), ' ¶ ') AS message from messages join threads on messages.thread_id=threads.id order by time desc;\" | less -S"
  Reply
#4
you already got key issue but "wayvnc" could be useful as well. "xtigervncviewer" could be viewer program.

https://danct12.github.io/VNC-on-PinePhone/
https://www.kirsle.net/vnc-server-for-pinephone
  Reply
#5
The README for Chatty specifically says how you can use Chatty over SSH. I personally haven't tried it but please do and let me know how it goes!

https://source.puri.sm/Librem5/chatty
  Reply
#6
(10-18-2021, 12:41 PM)ragreenburg Wrote: The README for Chatty specifically says how you can use Chatty over SSH. I personally haven't tried it but please do and let me know how it goes!

https://source.puri.sm/Librem5/chatty
That's pretty cool. It works aside from the fact I can't drag the window around unless I right click the handle and select 'move'
  Reply
#7
(10-18-2021, 03:11 PM)SocialNetworkingWasAMistake Wrote:
(10-18-2021, 12:41 PM)ragreenburg Wrote: The README for Chatty specifically says how you can use Chatty over SSH. I personally haven't tried it but please do and let me know how it goes!

https://source.puri.sm/Librem5/chatty
That's pretty cool. It works aside from the fact I can't drag the window around unless I right click the handle and select 'move'

Nice, better than nothing! My work network blocks SSHing so I haven't tried using it yet. Glad to know it works though!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  after dist-upgrade, terminal is broken nelstomlinson 9 7,014 09-09-2021, 06:47 AM
Last Post: nelstomlinson
  How do you copy and paste into mobian terminal? Do you ssh instead? temp0rary 6 6,211 06-01-2021, 12:16 PM
Last Post: temp0rary
  Anyone know how to start a terminal at current dir with Nemo? rp3 6 6,199 01-19-2021, 10:04 AM
Last Post: KC9UDX
  Make 'terminal' on-screen keyboard the default 3x5co 0 2,035 12-27-2020, 05:11 PM
Last Post: 3x5co
  Terminal help noob444 4 4,566 10-25-2020, 03:56 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 2 Guest(s)