maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   long wire for the headphone jack and sailfish_x (https://talk.maemo.org/showthread.php?t=100637)

mrsellout 2019-01-23 18:30

Re: long wire for the headphone jack and sailfish_x
 
From the main screen, open the menu (the down arrow in the top right corner)
Tap on features and then on the green download button next to Command to enable it.

You can now create a new situation which can be triggered by Accessory > Charger, and then run your custom command, and another for the headphones, by executing the other script when you remove the charge cable (selecting "At situation end").

Saturn 2019-01-23 19:47

Re: long wire for the headphone jack and sailfish_x
 
Quote:

Originally Posted by norayr (Post 1553104)
i did not find how to execute my command line or script with situations.

i'll do that from console.

that is not a problem.


You can try ShellX (if you don't know already)
https://openrepos.net/content/acce/shellex
that's my preference for executing scripts when i need them regularly.


All times are GMT. The time now is 08:54.

vBulletin® Version 3.8.8