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 2020-04-19 16:59:26 +0200

Start Script via UI Icon without loading an icon window

Hi, i am writing a little script to switch the double tab display mode on and off. It works fine when using terminal command. Now i want to start the script by pressing the UI icon but the an Application windows starts try loading something ( the app ui ? ) and then closes after a few seconds.

How can i execute a terminal command by pressing the icon without starting anything else expect the terminal command.

Start Script via UI Icon without loading an icon window

Hi, i am writing a little script to switch the double tab display mode on and off. It works fine when using terminal command. Now i want to start the script by pressing the UI icon but the an Application windows starts try loading something ( the app ui ? ) and then closes after a few seconds.

How can i execute a terminal command by pressing the icon without starting anything else expect the terminal command.

Code available on: https://github.com/speefak/sfos-doubletab_display_configurator