Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Handle notifications and messages

This guide covers phone notifications on the desktop, and reading, searching and sending SMS and MMS messages.

Before you begin:

  • The phone is paired and connected.
  • The Tetheron app on the phone has notification access for notifications, and the SMS, Phone and Contacts permissions for messages. See Grant Android permissions.

The tether-cli examples use 5b7a as the device id. Any unique prefix of the id from tether-cli devices works.

See and answer notifications

  1. Open the Tetheron app on the desktop and select the phone in the sidebar.
  2. On the Overview tab, scroll to Notifications. The list follows the phone: a notification that appears or disappears there does the same here.

Each row has:

  • one button for every action the phone app offers, for example “Mark as read”
  • Open on phone, which opens the notification on the phone
  • a reply box, when the phone app accepts a typed reply. Type into it and press Enter. The app shows Reply sent.
  • a × button (tooltip Dismiss on phone), which removes the notification on the phone too

Each phone notification also appears as a desktop notification. Click it to open the notification on the phone, or click one of its action buttons. Reply opens the Tetheron window with that notification’s reply box focused. On KDE Plasma you type the reply into the desktop notification itself. Dismissing the desktop notification dismisses it on the phone.

If an action does nothing, the notification is probably gone from the phone.

From the command line

tether-cli notifications 5b7a
[0|com.example.chat|12|null|10123] Chat — Ada (conversation)
    See you at six
    action 0: Reply [reply]
    action 1: Mark as read
    action -1: open on phone

The text in square brackets is the notification key. Quote it in the other commands, because keys contain |:

tether-cli notify-act 5b7a '<key>' 1
tether-cli notify-act 5b7a '<key>' -1
tether-cli notify-act 5b7a '<key>' 0 "On my way"
tether-cli dismiss 5b7a '<key>'

The number is the action index. -1 opens the notification on the phone. Text after the index of the action marked [reply] is sent as the reply.

Change what the desktop shows

To stop one phone app from sending notifications to this desktop:

  1. On the phone’s Overview tab, click Notification settings….
  2. In the Notifications from dialog, switch the app off under Apps. An app appears in the list once the phone has sent a notification from it.

The phone then filters that app’s notifications and they never reach the desktop.

To keep notifications in the Tetheron window only, open the main menu, choose Preferences (Ctrl+,) and switch off Show phone notifications on this desktop under Notifications, or run:

tether-cli config desktop-notifications false

The main screen of the Tetheron app on the phone has Sync notifications, which switches notifications off for every paired desktop, and an Apps list that excludes single apps. Include ongoing notifications in the phone app’s Settings adds persistent notifications such as downloads and navigation.

Read and search messages

  1. Select the phone and open the Messages tab. The conversations are on the left, newest first.
  2. Click a conversation. Scroll up to load older messages.
  3. Click an image to open it. Other attachments open with the default application.
  4. To search, type into Search conversations and messages. Matching conversations appear, and matching message texts under Messages. Click a result to open it.

The first sync after pairing copies the whole SMS and MMS history to the desktop and can take a minute. After that you can read the messages while the phone is away.

Tetheron is not the phone’s default SMS app. Opening a conversation marks it read on the desktop only, and the desktop cannot delete messages.

tether-cli conversations 5b7a
tether-cli messages 5b7a <thread>
tether-cli search 5b7a "boarding pass"
tether-cli attachment 5b7a <part-id>

<thread> is the thread id in the first column of conversations. messages lists attachments with a part_id. attachment downloads one into the daemon’s cache and prints its path.

Send a message

To answer in an existing conversation, open it, type into the box at the bottom and press Enter. Shift+Enter starts a new line.

To start a new conversation:

  1. Click the New message button above the conversation list.
  2. In the To: field, type a name or a number. Pick the contact from the suggestions, or pick the row marked Send to this number. Add several recipients to send a group MMS.
  3. Write the message and press Enter.

To attach files, click the paper-clip button (tooltip Attach files (sent as MMS)) or drop files onto the message box. The message goes out as an MMS. Sending MMS has not been confirmed on a carrier network yet. If an MMS fails, send it from the phone.

On a phone with two SIMs, a SIM selector (tooltip SIM used for sending) appears next to the send button.

A message that fails shows Not sent and a Retry button.

tether-cli send 5b7a +15550100 "Running ten minutes late"
tether-cli send 5b7a +15550100 "The photo" --attach ~/Pictures/photo.jpg
tether-cli send 5b7a +15550100 --to +15550101 --to +15550102 "Dinner at eight?"
tether-cli send 5b7a +15550100 --sim 2 "Sent from the second SIM"

The command waits for the phone’s result. Add --no-wait to return as soon as the message is queued. Repeat --attach for several files. --sim takes the SIM’s subscription id, and tether-cli status 5b7a prints one sim <id>: line per SIM.

Reply to a new message from its desktop notification

An incoming message raises a desktop notification with the sender and the start of the text, unless that conversation is open in the app.

  1. Click Reply on the notification. The Tetheron window opens on that conversation with the message box focused.
  2. Type the reply and press Enter.

To switch these notifications off, open Preferences and switch off Notify about new messages under Notifications, or run:

tether-cli config message-notifications false

While messages sync, the daemon hides the notification from the phone’s own SMS app, so you do not see each message twice.

RCS chats

RCS chats (“chat features” in Google Messages and Samsung Messages) do not appear on the Messages tab, because Android gives other apps no access to them. An incoming RCS message still arrives as a notification from the phone’s messaging app, and you can reply to it there. A message sent from the Messages tab is always an SMS or an MMS.