We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-03-03 09:00:12 +0200

Wrapper app or code for running shell scripts

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

  • Mount CIFS network shares, see the question https://together.jolla.com/question/28377/using-network-file-shares-smbclient-in-mer-repository-and-compiling/
  • Sleeper for turning off mediaplayer, see https://together.jolla.com/question/27469/stop-mediaplayer-radio-with-sleep-or-timer-shell-script/

Would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user or rooted (su) scripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.

Wrapper app or code for running shell scripts

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

  • Mount CIFS network shares, see the question https://together.jolla.com/question/28377/using-network-file-shares-smbclient-in-mer-repository-and-compiling/
  • Sleeper for turning off mediaplayer, see https://together.jolla.com/question/27469/stop-mediaplayer-radio-with-sleep-or-timer-shell-script/

Would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user (nemo) or rooted (su) su-ed (root) scripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.

Wrapper app or code for running shell scripts

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

  • Mount CIFS network shares, see the question https://together.jolla.com/question/28377/using-network-file-shares-smbclient-in-mer-repository-and-compiling/
  • Sleeper for turning off mediaplayer, see https://together.jolla.com/question/27469/stop-mediaplayer-radio-with-sleep-or-timer-shell-script/

Would It would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user (nemo) or su-ed (root) scripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

Ideally the wrapper/launcher app could be generalized in such a way, that it would be able to read some settings (including the needed shell script) from a text or xml file. Otherwise it would have to be compiled separately for every new shell script, but that's not really an issue and could have even some other advantages (e.g. probably from a security point of view too).

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.

Wrapper app or code for running shell scripts

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

  • Mount CIFS network shares, see the question https://together.jolla.com/question/28377/using-network-file-shares-smbclient-in-mer-repository-and-compiling/
  • Sleeper for turning off mediaplayer, see https://together.jolla.com/question/27469/stop-mediaplayer-radio-with-sleep-or-timer-shell-script/

It would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user (nemo) or su-ed (root) scripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

Ideally the wrapper/launcher app could be generalized in such a way, that it would be able to read some settings (including the needed shell script) from a text or xml file. Otherwise it would have to be compiled separately for every new shell script, but that's not really an issue and could have even some other advantages (e.g. probably from a security point of view too).

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.

Wrapper app or code for running shell scripts

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

  • Mount CIFS network shares, see the question https://together.jolla.com/question/28377/using-network-file-shares-smbclient-in-mer-repository-and-compiling/
  • Sleeper for turning off mediaplayer, see https://together.jolla.com/question/27469/stop-mediaplayer-radio-with-sleep-or-timer-shell-script/

It would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user (nemo) or su-ed (root) scriptsscripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

Ideally the wrapper/launcher app could be generalized in such a way, that it would be able to read some settings (including the needed shell script) from a text or xml file. Otherwise it would have to be compiled separately for every new shell script, but that's not really an issue and could have even some other advantages (e.g. probably from a security point of view too).

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.