Launch shell commands from user interface
AFAIK, there is currently no way to execute shell commands from the Sailfish OS user interface (i.e. without accessing the terminal first).
Say I have created a shell script to run a backup on some files or to reboot my PC at home. The terminal is great, but I would love to be able to execute stuff like this directly from the user interface.
EDIT: re-phrased this to be 100% feature request, initially it also included a question ("Is it possible...")
Yes! Something like a dropdown terminal accessible from the pulley menu.
fc ( 2014-02-04 17:44:25 +0200 )editIn your case, it seems like a shortcut app to your shell script would be ok, isn't it?
Tofe ( 2014-02-04 18:08:33 +0200 )edit@Tofe Basically yes, but it is not very comfortable to build an app every time one needs a launcher for a shell script... even though it's probably easy once one has basic knowledge of Sailfish app development.
tokaru ( 2014-02-04 18:37:08 +0200 )editWhat about an app that runs premade shell scripts? Like it has a list of them?
Bulder ( 2014-02-04 18:40:23 +0200 )edit@Bulder say if an app would display all
tokaru ( 2014-02-04 20:36:11 +0200 )edit*.sh
files in/home/nemo
, and I could trigger each with another touch? That would be a great app for sure. Being possible to launch it right from the app icons view would be pure luxus, but I guess it would be neccessary to create and install an app for each selected script automatically on the phone... phew ;-)