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
Related question: https://together.jolla.com/question/225009/running-shell-script-from-desktop-file/
d ( 2020-04-19 17:57:14 +0200 )editRelated, maybe. But completely different direction of topic. ;)
peterleinchen ( 2020-04-19 18:02:28 +0200 )editAdd
to your desktop file.
SORRY, nonsense.
peterleinchen ( 2020-04-19 18:03:14 +0200 )editThis is only for hiding from app drawer!
I'm pretty certain all this will do, is stop the icon from appearing in the app launcher, I don;t think it will prevent the cover from showing/closing as explained in the OP,I could also be wrong! :P
Spam Hunter ( 2020-04-19 18:23:47 +0200 )edit@Edz: confirmed, you're right, XA2 3.3
A.Maretzek ( 2020-04-19 19:05:41 +0200 )edit