Wednesday, May 8, 2019

command line - How do I simply run an ubuntu touch app from the terminal?




I've got a qml file and I just want to ssh to the phone and do



qmlscene myfile.qml


Is it possible without doing all that stuff with SDK and packages? Just vim and some simple commands that can fit into person's memory.



If you already have your qml file on the phone, it's pretty easy. All you have to do is to call qmlscene with an extra argument.





  1. Start a connection from your desktop/laptop with phablet-shell.


  2. Run qmlscene with --desktop_file_hint, example:



    $ qmlscene --desktop_file_hint=/usr/share/applications/dialer-app.desktop $HOME/Documents/myfile.qml 


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...