User Tools

Site Tools


doc:appunti:android:termux_problems

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:android:termux_problems [2022/03/12 07:23] – [Termux:Widget not working] niccolodoc:appunti:android:termux_problems [2022/03/15 07:53] (current) – [Termux:Widget not working] niccolo
Line 13: Line 13:
   * **Android 11** (Oukitel WP12 smartphone, with MediaTek processor)   * **Android 11** (Oukitel WP12 smartphone, with MediaTek processor)
  
 +It seems that battery optimization against Termux:API is the problem. Disabling the **Settings** => **DuraSpeed** option for all the system solved the problem. Unfortunately at the moment there is not an option to disable DuraSpeed for Termux:API only.
  
 +  * **[[https://github.com/termux/termux-api/issues/447|Termux-api No Work On Android 10 (BV9900 Pro) - Issue #447]]**
  
-It seems that battery optimization against Termux:API is the problem. Disabling the **Settings** => **DuraSpeed** option for all the system solved the problem. Unfortunately at the moment there is not an option to disable DuraSpeed for Termux:API only.+===== Termux:Widget only the 1x1 shortcut is available =====
  
 +Trying to add the Termux:Widget on the desktop, only the **Termux shortcut 1x1** option is available, the larger and resizable **Termux widget 2x2** is not listed as an option.
  
-===== Termux:Widget only 1x1 available =====+  * **Termux** 
 +    * Version 0.118.0 (from F-Droid) 
 +  * **Termux:API** 
 +    * Version 0.50.1 (from F-Droid) 
 +  * **Android 11** (Oukitel WP12 smartphone, with MediaTek processor)
  
-  * Termux version +It turned out that installing the Termux:Widget app into the **external SD card** is the problem. From **Settings** => **Storage** => **SD Card** => **Apps** => **Termux:Widget** => **Storage used** => **Change** it is possible to move the app to the internal shared storage.
-  * Termux:Widget version +
-  Android +
  
-  * **[[https://github.com/termux/termux-widget/issues/45|only 1x1 widget available on Android 10 · Issue #45 · termux/termux-widget · GitHub]]**+  * **[[https://github.com/termux/termux-widget/issues/45|only 1x1 widget available on Android 10 Issue #45]]**
  
 ===== Termux:Widget not working ===== ===== Termux:Widget not working =====
Line 30: Line 35:
 After some time of usage the widget suddendly stops working. Pressing the reload icon does not longer show the "Termux shortucts reloaded" toast. Tapping anyone of the items does not start the relevant script. Sometimes the list of items resets itself, displaying the "No files in $HOME/.shortcuts/" . After some time of usage the widget suddendly stops working. Pressing the reload icon does not longer show the "Termux shortucts reloaded" toast. Tapping anyone of the items does not start the relevant script. Sometimes the list of items resets itself, displaying the "No files in $HOME/.shortcuts/" .
  
-  * **[[https://github.com/termux/termux-widget/issues/56|Sometimes the widget stops to work #56]]**+  * **Termux** 
 +    * Version 0.117 (from F-Droid) 
 +  * **Termux:Widget** 
 +    * Version 0.12 (from F-Droid) 
 +  * **Android 11** (Oukitel WP12 smartphone, with MediaTek processor) 
 + 
 +The problem is caused by battery optimization: disabling the **Settings** => **DuraSpeed** option solves the problem. Starting from Termux:Widget version 0.13.0 it is possibile to disable DuraSpeed for the app only, leaving it enabled for the other apps. 
 + 
 +  * **[[https://github.com/termux/termux-widget/issues/56|Sometimes the widget stops to work - Issue #56]]** 
 + 
 +===== Termux:Widget not working ===== 
 + 
 +Starting from Android 10 the **Termux:Widget** requires that Termux app gets the permission to **draw over other apps**, otherwise it cannot start a terminal session from the background. Unfortunately some Android versions deny to grant such permission to Termux... FIXME add the error message here. 
 + 
 +  * **Termux** 
 +    * Version 0.117 (from F-Droid) 
 +  * **Termux:Widget** 
 +    * Version 0.12 (from F-Droid) 
 +  * **Android 10** (Doogee X93, with MediaTek processor)
  
doc/appunti/android/termux_problems.1647066191.txt.gz · Last modified: 2022/03/12 07:23 by niccolo