[question] How to start qml file from CLI ?
Hi to all.
Someone know how to start QML file from CLI or from .desktop file ?
From googling I found that somehow can be started by sailfish-qml (needed package libsailfishapp-launcher)
But when I tried I got weird output:
[nemo@Jolla Vault]$ sailfish-qml /usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:230 - Specified Desktop file does not exist "/usr/share/applications//usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.desktop"
[W] unknown:-1 - file:///usr/share/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml/qml/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.qml: File not found
For example I want to directly open "Backup" from Settings app (/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml)
Any ideas ?
Thanks
No idea what the page is called in settings but I guess you want to do a dbus call for the settings-vault page. And in addition, vault comes as CLI tool.
chemist ( 2016-01-18 21:57:48 +0200 )editCan you explain how to start a full backup like we do in the jolla-settings, but in CLI ?
Schturman ( 2016-01-18 23:34:15 +0200 )editMaybe I will just create a simple script to create backup every few days...
Thanks