Jump to content

Sxmo/Tips and Tricks: Difference between revisions

From postmarketOS Wiki
Baroque0 (talk | contribs)
mNo edit summary
Baroque0 (talk | contribs)
Line 1: Line 1:
== Sxmo Tips & Tricks / FAQ ==


Here is a growing list of tips, tricks and configuration snippets for using [[Sxmo]]. This pages is intended to focus mostly on "non-core" issues, such as runnig apps and everyday usability. The core configuration issues should end up in [https://git.sr.ht/~mil/sxmo-docs/tree/master/USERGUIDE.md sxmo doc], as discussed on https://todo.sr.ht/~mil/sxmo-tickets/275
Here is a growing list of tips, tricks and configuration snippets for using [[Sxmo]].  


This pages is intended to focus mostly on "non-core" issues, such as runnig apps and everyday usability. The core configuration issues should end up in [https://git.sr.ht/~mil/sxmo-docs/tree/master/USERGUIDE.md sxmo doc], as discussed on https://todo.sr.ht/~mil/sxmo-tickets/275
== Calls, SMS, Modem ==


=== Sometimes Modem gets stuck ===
=== Sometimes Modem gets stuck ===
Line 29: Line 32:
</code>
</code>


=== How to send an SMS via command line (or ssh) ===
<code>
cat mysupersmsfile | sxmo_modemsendsms.sh +33123123123 -
</code>
== General configuration ==


=== How to easily change the size of the text, system-wide? ===
=== How to easily change the size of the text, system-wide? ===
Line 47: Line 59:




== Applications specific ==
=== What to use for cartography/navigation? ===
Pure-maps sort of works (using OpenTopo or Sputnik tiles), as well as Marble (QT/KDE, heavy...). Unsure yet how to make the GPS work for both of these, but it has reported being feasible...
=== QT app (vlc-qt, etc.) doesnt fit the screen! ===


=== How to send an SMS via command line (or ssh) ===
try adding the following in your .config/sxmo/xinit


<code>
<code>
cat mysupersmsfile | sxmo_modemsendsms.sh +33123123123 -
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCALE_FACTOR=.07
</code>
</code>
(change the factor until it suits your need)

Revision as of 10:32, 4 July 2021

Here is a growing list of tips, tricks and configuration snippets for using Sxmo.

This pages is intended to focus mostly on "non-core" issues, such as runnig apps and everyday usability. The core configuration issues should end up in sxmo doc, as discussed on https://todo.sr.ht/~mil/sxmo-tickets/275


Calls, SMS, Modem

Sometimes Modem gets stuck

Sometimes the modem gets irresponsive, stops receiving/sending calls, even when toggled. Rebooting sometimes doesn't change this situation as it seems the modem then needs a hard reset.

Prefered solution: remove battery and reboot.


Sometimes SMS dont get sent/received

It may be a problem with MMS getting "stuck" in the pile, not being processed, and blocking further processing of SMS.

One solution involves mmsd-ng

Another solution is to manually use Modem Manager to delete the incriminated mms:

mmcli --modem 0 --messaging-list-sms

mmcli --modem 0 --sms 0

mmcli --modem 0 --messaging-delete-sms=##

mmcli --modem -r


How to send an SMS via command line (or ssh)

cat mysupersmsfile | sxmo_modemsendsms.sh +33123123123 -


General configuration

How to easily change the size of the text, system-wide?

Change the value in: /usr/share/sxmo/appcfg/xresources_xft.xr (try 160!)

Xft.dpi: 192


if you remove the dpi line there you can set dpi on the fly via

xrandr --dpi x


Applications specific

What to use for cartography/navigation?

Pure-maps sort of works (using OpenTopo or Sputnik tiles), as well as Marble (QT/KDE, heavy...). Unsure yet how to make the GPS work for both of these, but it has reported being feasible...

QT app (vlc-qt, etc.) doesnt fit the screen!

try adding the following in your .config/sxmo/xinit

export QT_AUTO_SCREEN_SCALE_FACTOR=1 export QT_SCALE_FACTOR=.07

(change the factor until it suits your need)