https://github.com/olpeh/sailfish-useful-commands
Sailfish OS Useful Commands
https://github.com/olpeh/sailfish-useful-commands
sailfishos
Last synced: 5 months ago
JSON representation
Sailfish OS Useful Commands
- Host: GitHub
- URL: https://github.com/olpeh/sailfish-useful-commands
- Owner: olpeh
- Created: 2015-08-27T19:12:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-21T13:07:39.000Z (almost 10 years ago)
- Last Synced: 2024-11-17T01:32:35.247Z (over 1 year ago)
- Topics: sailfishos
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sailfishos - Sailfish Useful Commands - (Tips and Tricks)
README
SailfishOS Useful Commands
==========================
Commands that are not so easy to remember
Feel free to add stuff
## PLEASE BE AWARE WHEN RUNNING THESE COMMANDS! THEY MIGHT BRICK YOUR PHONE! ONLY USE THEM IF YOU KNOW WHAT YOU ARE DOING!
### Re-install lipstick
pkcon install zypper && zypper in -f lipstick-jolla-home-qt5
### Open
xdg-open
### Reversing applied patches
devel-su
patch -R -p 1 -d / -i /var/lib/patchmanager/ausmt/patches/{patchname}/unified_diff.patch
- ignore "already unapplied" ones
### Applying patches from CLI
devel-su
patch -p 1 -d / -i /usr/share/patchmanager/patches/{patchname}/unified_diff.patch
### Restart android VM
devel-su
systemctl restart aliendalvik.service
### Take a screenshot from command line
/usr/bin/grabscreen [/path/to/snapshot.png]
### Send SMS from command line
For example sending and SMS to +358500000000:
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"+358500000000" string:"test sms"
HARBOUR-proof version:
dbus-send --type=method_call --dest=org.nemomobile.qmlmessages / org.nemomobile.qmlmessages.startSMS array:string:"+358123456" string:"Hello world"
### Manually run BTRFS balance
??? btrfs fi balance /home ???
### Battery status
upower -i /org/freedesktop/UPower/devices/battery_battery
upower -d
### Journalctl (~ Syslog)
devel-su
journalctl
### Media player from CLI
gst-launch-0.10 playbin2 uri=file:///path/to/file/music.mp3
### SSH to SailfishOS emulator
ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/nemo nemo@localhost