mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Move parts of the README to docs.plasma-mobile.org
This commit is contained in:
parent
eb3b2657a9
commit
e4624451cb
1 changed files with 3 additions and 28 deletions
31
README.md
31
README.md
|
|
@ -12,34 +12,9 @@ Dependencies:
|
||||||
* libqofono https://github.com/nemomobile/libqofono
|
* libqofono https://github.com/nemomobile/libqofono
|
||||||
* ofono-phonesim https://git.kernel.org/cgit/network/ofono/phonesim.git/
|
* ofono-phonesim https://git.kernel.org/cgit/network/ofono/phonesim.git/
|
||||||
|
|
||||||
Phonesim will add a fake phone modem, that can be controlled via a Qt based user interface from
|
If you want to test some part specific to telephony, set up ofono-phonesim according to https://docs.plasma-mobile.org/Ofono.html
|
||||||
which it will be possible to test various aspects of the phone UI: making calls, receiving, signal strength,
|
|
||||||
send SMS and so on. It will not generate any real call, but only make the UI think a SIM is working and that
|
|
||||||
a phone call is in progress.
|
|
||||||
|
|
||||||
A tutorial how to start phonesim on a desktop system can be found here:
|
|
||||||
http://comments.gmane.org/gmane.comp.handhelds.ofono/12178
|
|
||||||
|
|
||||||
* edit /etc/ofono/phonesim.conf, uncomment everything so that it looks like
|
|
||||||
|
|
||||||
|
To start the phone homescreen in a window, run:
|
||||||
```
|
```
|
||||||
[phonesim]
|
QT_QPA_PLATFORM=wayland dbus-run-session kwin_wayland --xwayland "plasmashell -p org.kde.plasma.phone"
|
||||||
Driver=phonesim
|
|
||||||
Address=127.0.0.1
|
|
||||||
Port=12345
|
|
||||||
```
|
```
|
||||||
|
|
||||||
* start ofonod as root
|
|
||||||
* start phonesim:
|
|
||||||
`phonesim -p 12345 -gui /usr/share/phonesim/default.xml`
|
|
||||||
* from the oFono *source* directory, call `./test/enable-modem` to bring the modem up, the control UI should come up
|
|
||||||
* call `./test/online-modem` to activate the test phonesim modem
|
|
||||||
* start the phone homescreen in a window:
|
|
||||||
|
|
||||||
```
|
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
dbus-run-session bash
|
|
||||||
kwin_wayland --xwayland "plasmashell -p org.kde.plasma.phone"
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that the oFono/phonesim part is necessary only if it's needed to test some part specific to telephony
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue