GithubHelp home page GithubHelp logo

kitsunedfox / termux-monet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from termux/termux-app

887.0 20.0 55.0 27.41 MB

Termux Monet - a terminal emulator application for Android 8+ OS extendible by variety of packages, with Monet support and experimental features.

Home Page: https://github.com/KitsunedFox/termux-monet/releases/latest

License: GNU General Public License v3.0

Shell 0.14% C++ 1.10% C 0.35% Java 98.39% Makefile 0.01%
termux android android-12 android12 linux monet terminal android-8

termux-monet's Introduction



We are looking for Termux Android application maintainers.


Translation status

Currently Using Weblate for Translations!

Join us in https://hosted.weblate.org/engage/termux-monet/


MONET IS ONLY AVAILABLE ON ANDROID 12+!

LOWER VERSIONS WILL DISPLAY A STATIC, BLACK AND WHITE MONET THEME


Termux-Monet is a unofficial, modified fork of Termux, an Android terminal application and Linux environment, with Monet Theming Implementations.


Contents


Termux Monet and Plugins

The Termux Monet fork app comes with the following optional modified plugin apps:

These are Modified Plugins. All these repos are Forks from termux-app


Phantom Process Killer

NOTICE:

Termux may be unstable on Android 12+. Android OS will kill any (phantom) processes greater than 32 (limit is for all apps combined) and also kill any processes using excessive CPU. You may get [Process completed (signal 9) - press Enter] message in the terminal without actually exiting the shell process yourself. Check the related issue #2366, issue tracker, gist with details and this TLDR comment on how to disable trimming of phantom processes.

Deactivation Instructions (ADB):

  • On an ADB console, paste the following commands on the following order:
adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false

Deactivation Instructions (ROOT):

  • On Termux (or any Terminal Emulator), paste the following commands on the following order:
su -c /system/bin/device_config set_sync_disabled_for_tests persistent
su -c /system/bin/device_config put activity_manager max_phantom_processes 2147483647
su -c setprop persist.sys.fflag.override.settings_enable_monitor_phantom_procs false

Experimental Method (MAGISK)

  • On a Rooted phone with Magisk installed, flash the following module:

  • After that, PhantomProcessKiller might be deactivated on every device boot. Please make an issue on this repo if the module didn't work for you.

Check if PhantomProcessKiller was Disabled (ROOT):

su -c /system/bin/dumpsys activity settings | grep max_phantom_processes
su -c /system/bin/device_config get activity_manager max_phantom_processes
  • Both commands above should return 2147483647
su -c getprop persist.sys.fflag.override.settings_enable_monitor_phantom_procs
  • It should return "false"

Nightly Builds

Termux-Monet application can be obtained on GitHub either from GitHub Releases for stablier releases or from GitHub Actions for the latest unstable releases.

Releases (Stablier)

  • The APKs for GitHub Releases will be listed under Assets drop-down of a release. These are automatically attached when a new version is released.

Nightly (Unstable)

  • The APKs for GitHub Actions will be listed under Artifacts section of a workflow run. These are created for each commit/push done to the repository and can be used by users who don't want to wait for releases and want to try out the latest features immediately. Note that for seeing action workflows, you need to be logged into a GitHub account for the Artifacts links to be enabled/clickable. If you are using the GitHub app, then make sure to open workflow link in a browser like Chrome or Firefox that has your GitHub account logged in since the in-app browser may not be logged in.

Security warning: APK files on GitHub are signed with a test key that has been shared with community. This IS NOT an official developer key and everyone can use it to generate releases for own testing. Be very careful when using Termux GitHub builds obtained elsewhere except https://github.com/termux/termux-app. Everyone is able to use it to forge a malicious Termux update installable over the GitHub build. Think twice about installing Termux builds distributed via Telegram or other social media. If your device get caught by malware, we will not be able to help you.

The test key shall not be used to impersonate @termux and can't be used for this anyway. This key is not trusted by us and it is quite easy to detect its use in user generated content.

Keystore information:

Alias name: alias
Creation date: Oct 4, 2019
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=APK Signer, OU=Earth, O=Earth
Issuer: CN=APK Signer, OU=Earth, O=Earth
Serial number: 29be297b
Valid from: Wed Sep 04 02:03:24 EEST 2019 until: Tue Oct 26 02:03:24 EEST 2049
Certificate fingerprints:
         SHA1: 51:79:55:EA:BF:69:FC:05:7C:41:C7:D3:79:DB:BC:EF:20:AD:85:F2
         SHA256: B6:DA:01:48:0E:EF:D5:FB:F2:CD:37:71:B8:D1:02:1E:C7:91:30:4B:DD:6C:4B:F4:1D:3F:AA:BA:D4:8E:E5:E1
Signature algorithm name: SHA1withRSA (disabled)
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3

Wikis


True italic fonts

As described in termux#2829, true italic fonts support can be enabled when placing an italic font in ~/.termux/font-italic.ttf


Displaying images in Termux

As described in termux#2973, Termux can display images and gifs using sixel and iterm2 protocols.

For displaying images and gifs using Sixel, do pkg install libsixel and use img2sixel image.png

For displaying images using iTerm2, download the imgcat script, and use it with the command ./imgcat image.png


Dynamic Motd

As described in motds: add static motd back and use it as default instead of dynamic motd and add support for custom motd, in termux/termux-tools#8, and in termux/termux-packages#11250, Termux can now display both standard and dynamic motds.

For using your own custom dynamic motd, place a motd.sh executable file at ~/.termux/.

To use the dynamic motd provided by the latest termux-tools package, run ln -sf $PREFIX/etc/motd.sh ~/.termux/motd.sh.


Wallpaper support

As described in termux#3079, Wallpapers can be defined either by placing background_landscape.jpeg and background.jpeg on .termux folder or by selecting the option Set background image inside the terminal context menu, under "Appearance". Background image loading can also be enabled/disabled from settings. From Termux Settings -> Termux -> Termux Style -> Background Image.

An wallpaper overlay color can be defined through termux.properties, by using the key background-overlay-color=#COLOR. Supported color formats are #AARRGGBB and #RRGGBB


Running termux from ADB

As described in termux#1969, it is possible to access Termux directrly from adb shell via run-as. see the following example:

dreamlte:/ $ run-as com.termux
dreamlte:/data/data/com.termux $ PATH=/data/data/com.termux/files/usr/bin LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so /data/data/com.termux/files/usr/bin/bash -l
~ $ python
Python 3.9.2 (default, Feb 22 2021, 12:26:04)
[Clang 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Miscellaneous


Debugging

You can help debug problems of the Termux app and its plugins by setting appropriate logcat Log Level in Termux app settings -> <APP_NAME> -> Debugging -> Log Level (Requires Termux app version >= 0.118.0). The Log Level defaults to Normal and log level Verbose currently logs additional information. Its best to revert log level to Normal after you have finished debugging since private data may otherwise be passed to logcat during normal operation and moreover, additional logging increases execution time.

The plugin apps do not execute the commands themselves but send execution intents to Termux app, which has its own log level which can be set in Termux app settings -> Termux -> Debugging -> Log Level. So you must set log level for both Termux and the respective plugin app settings to get all the info.

Once log levels have been set, you can run the logcat command in Termux app terminal to view the logs in realtime (Ctrl+c to stop) or use logcat -d > logcat.txt to take a dump of the log. You can also view the logs from a PC over ADB. For more information, check official android logcat guide here.

Moreover, users can generate termux files stat info and logcat dump automatically too with terminal's long hold options menu More -> Report Issue option and selecting YES in the prompt shown to add debug info. This can be helpful for reporting and debugging other issues. If the report generated is too large, then Save To File option in context menu (3 dots on top right) of ReportActivity can be used and the file viewed/shared instead.

Users must post complete report (optionally without sensitive info) when reporting issues. Issues opened with (partial) screenshots of error reports instead of text will likely be automatically closed/deleted.

Log Levels
  • Off - Log nothing.
  • Normal - Start logging error, warn and info messages and stacktraces.
  • Debug - Start logging debug messages.
  • Verbose - Start logging verbose messages.


Disclaimer

Do not report issues occurred in Termux Monet on termux-app repo, unless you're completely certain that this problem is also present in the regular Termux App.

By installing this app, you agree that you're aware of its unstableness.

I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because Termux didn't load. Please do some research if you have any concerns about features and code included in this forked App before installing it! YOU are choosing to replace your Termux app with this one, and if you point the finger at me for messing up your terminal and device, I will laugh at you.

Usage of Termux for attacking/hacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.


Forking

  • Check TermuxConstants javadocs for instructions on what changes to make in the app to change package name.
  • Keep targetSdk 28 to avoid login error not exec("/data/data/com.termux/files/usr/bin/login"): Permission denied.
  • You also need to recompile bootstrap zip for the new package name. Check building bootstrap, here and here.
  • Currently, not all plugins use TermuxConstants from termux-shared library and have hardcoded com.termux values and will need to be manually patched.
  • If forking termux plugins, check Forking and Local Development for info on how to use termux libraries for plugins.
  • Enable GitHub actions and do any commit to build termux. e.g. upload a placeholder file.
  • Create empty releases. You don't need to manually upload termux apks, GitHub Actions will do all the job for you.

Special Thanks


termux-monet's People

Contributors

agnostic-apollo avatar dependabot[bot] avatar dkramer95 avatar fornwall avatar friederbluemle avatar gradle-update-robot avatar grimler91 avatar hannesa2 avatar john-peterson avatar kitsunedfox avatar kruna1pate1 avatar landfillbaby avatar maoabc avatar matanz avatar michalbednarski avatar mklein994 avatar neo-oli avatar odkate avatar pvagner avatar quasic avatar rakslice avatar rillian-grant avatar robertvandeneynde avatar tareksander avatar trygveaa avatar vindeville avatar weblate avatar whydoubt avatar x0b avatar xqdoo00o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termux-monet's Issues

can't install app

Problem description

I have this problem when installing latest termux-monet
I already tried to uninstall original termux
IMG_20220809_175401
what to do? thanks in advance

Steps to reproduce the behavior.

downloaded latest weekly > tried to install > error

What is the expected behavior?

No response

System information

  • Termux Monet version: 0.118.0-11
  • Is Nightly or Stable?: Stable (I think weekly 2 update means stable)
  • Android OS version: 12L arm64
  • ROM: crDroid 8.7 miatoll
  • Device model: Redmi Note 9S (curtana)

Translation license

Problem description

The stated translation licenses on Weblate GPLv3-only, Apache 2.0 and MIT, and I am thinking the current translations weren't taken under any of the latter licenses seeing as the main project license is GPLv3, and the main project is GPLv3-only.

Steps to reproduce the behavior.

Displayed on https://hosted.weblate.org/projects/termux-monet/#information

What is the expected behavior?

Can be changed in
https://hosted.weblate.org/settings/termux-monet/termux-shared/
and
https://hosted.weblate.org/settings/termux-monet/terminal-view/

System information

N/A

[Feature]: android 9 background images

Feature description

Make android 9's have Background image not only 12+.

Additional information

I dont know if you have it or not. But you said that in the readme

[Bug]: Nightly release artifacts already expired

Problem description

The latest nightly master build was two weeks ago, however it says that all the artifacts are already expired.

Steps to reproduce the behavior.

Go to build actions and check the most recent nightly build, the artifacts all show as expired

What is the expected behavior?

Downloadable nightly release/artifacts

System information

  • Termux Monet version: 0.118
  • Is Nightly or Stable?: Stable
  • Android OS version: 13
  • Device model:

[Feature]: RTL support

Feature description

In termux:
termux
In termux-monet:
termux-monet

  • Termux itself supports rtl with some font like dejavu.
  • Termux-monet doesn't support rtl even with fonts that have Arabic or other rtl direction.

Additional information

Please implement this font too:
Font link

[Feature]: open left panel by swipe

initially, termux required swiping from the left edge of the screen to the right in order to open the left menu, but in modern versions of android, when you swipe from the left edge of the screen, a backward gesture is triggered

maybe it’s worth making the left panel open on swipe from the middle of the screen to the right

[Feature]: Put on IzzyOnDroid

Feature description

Make a request to izzyondroid to add this repo. They do daily scans of your github releases, and add them.

Additional information

Nothing

[Bug]: cant set background image

Problem description

idk its termux-monet or not but after update I can't set background image

Screenshot_20230601-113301_Termux

Steps to reproduce the behavior.

change background image

What is the expected behavior?

background change

System information

  • Termux Monet version: v0.118.0-32-hotfix
  • Is Nightly or Stable?: stable
  • Android OS version: 10
  • Device model: redmi 6a

[Bug]: cursor blink rate can't be set to 0

Problem description

If cursor blink rate is set to 0, cursor still blinks, setting from 100 to 2000 works as expected.

Steps to reproduce the behavior.

set terminal-cursor-blink-rate = 0

What is the expected behavior?

cursor is not blinking

System information

  • Termux Monet version: 0.118.0-26
  • Is Nightly or Stable?: stable
  • Android OS version: 13
  • Device model: samsung galaxy tab s7, xiaomi mi 11 lite NE

[Bug]: Large sixel animations cause Termux to be unresponsive

Problem description

Drawing many large sixel frames in succession is very slow and will make Termux unresponsive. You can't CTRL-C out of the application anymore and sometimes also the 'Kill process' menu option will no longer work, requiring a force stop.

Steps to reproduce the behavior.

Install the Rust 'pic' crate (cargo install pic) and get a large animated GIF (i.e. https://www.techsmith.com/blog/wp-content/uploads/2016/08/citylarge.gif).

Run pic citylarge.gif

The animation will be very jerky and slow and will stop after a few frames. The terminal is then frozen.

What is the expected behavior?

Smooth animation and no freezes.

System information

  • Termux Monet version: 0.118.0
  • Is Nightly or Stable?: Stable
  • Android OS version: 13
  • Device model: Google Pixel 6

[Bug]: dark mode enabled, but termux keys still white

Problem description

First, I want to apologize for my bad english.
I enabled dark mode in phone setting, but termux keys still white
Screenshot_20230116-185226

Steps to reproduce the behavior.

Enabled dark mode.

What is the expected behavior?

Black Termux keys, like in default termux.

System information

  • Termux Monet version: 0.118.0
  • Is Nightly or Stable?: Stable
  • Android OS version: 9
  • Device model: moto G6 plus

[Community]: Current To-do list

Just made an TODO list so that i don't forget anything.

TODO:

  • Add Horizontal Cursor Scrolling and Text Wrap Toggle
  • Fix Holding Keyboard button in side menu
  • Optional Property Extra Keys Auto-hiding in landscape
  • Line Height Optional Property
  • Monet Background Theme
  • Optional Blurred and Transparent Extra Keys
  • Use A12+'s Native blur when on A12+, and RealtimeBlurView only in older SDKs
  • Change package name in order to be accepted in IzzyOnDroid
  • Build modded bootstrap packages for termux-monet (or make the app compatible with official ones, even with different package name)
  • Implement in-app updates

[Crash]:Termux monet

Problem description

Crash report from termux monet user

before the crash I ran the command to install ngrok and ran for a while, then my termux stopped and immediately I forced it to shut down and restarted to run the neofetch command but it stopped and exited and displayed a Termux crash notification

Steps to reproduce the behavior.

Please fix that

What is the expected behavior?

No response

System information

Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2023-12-10 07:18:53.540 UTC

Crash Details

Crash Thread: Thread[main,5,main]
Crash Timestamp: 2023-12-10 07:18:23.111 UTC

Crash Message:

Unable to start activity ComponentInfo{com.termux/com.termux.shared.activities.ReportActivity}: java.lang.RuntimeException: Parcelable encountered ClassNotFoundException reading a Serializable object (name = f2.a)

Stacktrace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.termux/com.termux.shared.activities.ReportActivity}: java.lang.RuntimeException: Parcelable encountered ClassNotFoundException reading a Serializable object (name = f2.a)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3340)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3489)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2073)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:225)
	at android.app.ActivityThread.main(ActivityThread.java:7563)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:994)
Caused by: java.lang.RuntimeException: Parcelable encountered ClassNotFoundException reading a Serializable object (name = f2.a)
	at android.os.Parcel.readSerializable(Parcel.java:3148)
	at android.os.Parcel.readValue(Parcel.java:2920)
	at android.os.Parcel.readArrayMapInternal(Parcel.java:3252)
	at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:292)
	at android.os.BaseBundle.unparcel(BaseBundle.java:236)
	at android.os.BaseBundle.containsKey(BaseBundle.java:518)
	at com.termux.shared.activities.ReportActivity.updateUI(ReportActivity.java:16)
	at com.termux.shared.activities.ReportActivity.onCreate(ReportActivity.java:72)
	at android.app.Activity.performCreate(Activity.java:7893)
	at android.app.Activity.performCreate(Activity.java:7880)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3315)
	... 11 more
Caused by: java.lang.ClassNotFoundException: f2.a
	at java.lang.Class.classForName(Native Method)
	at java.lang.Class.forName(Class.java:454)
	at android.os.Parcel$2.resolveClass(Parcel.java:3134)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1703)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1594)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1872)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1412)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
	at android.os.Parcel.readSerializable(Parcel.java:3142)
	... 22 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "f2.a" on path: DexPathList[[zip file "/data/app/com.termux-cRSKZ-cUG7G8aKbkm0c9Gg==/base.apk"],nativeLibraryDirectories=[/data/app/com.termux-cRSKZ-cUG7G8aKbkm0c9Gg==/lib/arm, /data/app/com.termux-cRSKZ-cUG7G8aKbkm0c9Gg==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:230)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
	... 31 more

Termux App Info

APP_NAME: Termux Monet
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
UID: 10542
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
SE_PROCESS_CONTEXT: u:r:untrusted_app_27:s0:c30,c258,c512,c768
SE_FILE_CONTEXT: u:object_r:app_data_file:s0:c30,c258,c512,c768
SE_INFO: default:targetSdkVersion=28:complete
TERMUX_APP_PACKAGE_MANAGER: APT
TERMUX_APP_PACKAGE_VARIANT: APT_ANDROID_7
APK_RELEASE: GitHub
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.9.190-perf-g726745c074e7
SDK_INT: 29
RELEASE: 10
ID: QP1A.190711.020
DISPLAY: QP1A.190711.020
INCREMENTAL: V12.0.14.0.QCRIDXM
SECURITY_PATCH: 2022-07-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: Xiaomi
BRAND: Redmi
MODEL: M2006C3MG
PRODUCT: angelica_id
BOARD: angelica
HARDWARE: mt6765
DEVICE: angelica
SUPPORTED_ABIS: armeabi-v7a, armeabi

termux-crash_report.log

Not BUG help required pantom process killer can't enable via adb

Problem description

Unable to complete pantom process killer..

Steps to reproduce the behavior.

C:\Windows\system32>adb shell settings put global settings_enable_monitor_phantom_procs false

Exception occurred while executing 'put':
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
        at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2562)
        at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1562)
        at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:1516)
        at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:495)
        at android.content.ContentProvider.call(ContentProvider.java:2511)
        at android.content.ContentProvider$Transport.call(ContentProvider.java:525)
        at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:384)
        at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:280)
        at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
        at android.os.ShellCommand.exec(ShellCommand.java:38)
        at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
        at android.os.Binder.shellCommand(Binder.java:1073)
        at android.os.Binder.onTransact(Binder.java:901)
        at android.os.Binder.execTransactInternal(Binder.java:1331)
        at android.os.Binder.execTransact(Binder.java:1268)

What is the expected behavior?

No response

System information

  • Termux Monet version:
  • Is Nightly or Stable?:
  • Android OS version:
  • Device model:

0.118 version application
Android 13
Realme GT 2

[Bug]: On screen keys can't be hidden

Problem description

In the base termux, you can hide the onscreen keys by pressing and holding keyboard button. In termux-monet it does not work.

Steps to reproduce the behavior.

Press and hold keyboard button in side panel -> nothing happens.

What is the expected behavior?

Hide on screen keys (ctrl, alt, esc, tab, etc.)

System information

  • Termux Monet version: 0.118.0-26
  • Is Nightly or Stable?: stable
  • Android OS version: 13
  • Device model: samsung galaxy tab s7, xiaomi mi 11 lite NE

[Bug]: failed to intall apk

Problem description

failed to intall apk (both termux-monet and styling apk)

error message:
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.termux has a signing lineage that diverges from the lineage of the sharedUserId

Steps to reproduce the behavior.

install

What is the expected behavior?

successful installation

System information

  • Termux Monet version:
    termux-app_v0.118.0-32-Hotfix+apt-android-7-github-release_arm64-v8a (universal as well)
    termux-styling_v0.30-1-github-debug
  • Is Nightly or Stable?: Stable
  • Android OS version: 12
  • Device model: SM-N770F

[Bug]: Monet not working with base termux config

Problem description

I had monet working perfectly but after applying dots from my previous termux setup termux is defaulting to white color

Screenshot_20220920-024404_Termux

Maybe the reason is caused by termux.properties if you've implemented any extra line there which was missed when I used my dotfiles

Steps to reproduce the behavior.

Copy my dots :)

What is the expected behavior?

Working monet :)

System information

  • Termux Monet version: termux-app_v0.118.0-17+apt-android-7-github-debug_arm64-v8a.apk
  • Android OS version: 12L
  • Device model: Redmi Note 7 pro
  • Rom: Ricedroid latest

[Bug]: Doesn't Work on Android TV

Problem description

When I try to open termux-monet on Android TV it just crashes. While the original termux works fine. But I want italics and sixel support.

I see that the original termux has install size of 20~ mb but this only has 3~ how's that possible.

Steps to reproduce the behavior.

Android TV with Android 11
Architecture: Arm v7
Install magisk-monet and try to start termux.

What is the expected behavior?

White screen appears and closes again.

System information

  • Termux Monet version:0.118-33
  • Is Nightly or Stable?: stable
  • Android OS version: 11
  • Device model: Hisense Android TV

[Bug]: Icon color

Problem description

Screenshot_20221026-181103_Pixel Launcher
Icon color is not the same as other apps

Steps to reproduce the behavior.

Install termux monet and enable themed icons in android 13

What is the expected behavior?

The icon should be same as the other apps

System information

  • Termux Monet version: the latest
  • Is Nightly or Stable?: Nightly
  • Android OS version: 13
  • Device model: A217F

A problem whit system

Problem description

Huawei android 13 miui 14
Since I installed termux-monet basically if I want to install apks on my phone there is always termux which has to make a mess and doesn't let me install files directly And I have an app specifically for Word files and termux tries to save the file without even giving a warning for example open with, what should I do? (I'm not very expert in termux but I know how to use the operating system quite well and I wasn't able to solve the problem on my own)

Steps to reproduce the behavior.

Prove to install apks from Edge (i use apkmirror) and use the command open whitor open a file Word in email

What is the expected behavior?

No response

System information

  • Termux Monet version:Latest
  • Is Nightly or Stable?:stable i guess
  • Android OS version:android
  • Device model:huawei

[Feature]: GPU-accelerated terminal

Feature description

A GPU-accelerated terminal would be better, because the terminal will use less CPU and screen updates would be more smooth, like Alacritty

Additional information

Nothing to add

[Bug]: Statusbar icon

Problem description

Screenshot_20230312_121105_Chrome Canary

The icons background color is white on dark mode.

Steps to reproduce the behavior.

  1. Download termux monet
  2. Open the app and see the notification icon in notifications tray on Android 13

What is the expected behavior?

Icons background must match with dark mode

System information

  • Termux Monet version: latest workflows build
  • Is Nightly or Stable?: Nightly
  • Android OS version: 13
  • Device model: G973F (S10)

[Bug]: termux-monet craches with code-server

Problem description

I installed termux-monet and executed those commands to install code-server
pkg update -y && pkg upgrade -y
pkg install tur-repo
pkg install code-server nodejs zip tree lsd glow wget git

  • and also simple script from code-server docs to allow some code-server extensions on android
    android-as-linux.js

after that, i executed this to run code-server
NODE_OPTIONS="--require ./android-as-linux.js" code-server

every thing is going well, until installed liveserver extension
when trying to run it termux-monet craches with this crach report:

Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2024-03-01 13:42:36.151 UTC

Crash Details

Crash Thread: Thread[main,5,main]
Crash Timestamp: 2024-03-01 13:42:18.210 UTC

Crash Message:

Unable to start receiver com.termux.app.TermuxOpenReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.server.wm.ConfigurationContainer.inPinnedWindowingMode()' on a null object reference

Stacktrace

java.lang.RuntimeException: Unable to start receiver com.termux.app.TermuxOpenReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.server.wm.ConfigurationContainer.inPinnedWindowingMode()' on a null object reference
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4324)
	at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2150)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7896)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:854)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.server.wm.ConfigurationContainer.inPinnedWindowingMode()' on a null object reference
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3034)
	at android.os.Parcel.createException(Parcel.java:3012)
	at android.os.Parcel.readException(Parcel.java:2995)
	at android.os.Parcel.readException(Parcel.java:2937)
	at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2070)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1840)
	at android.app.ContextImpl.startActivity(ContextImpl.java:1101)
	at android.app.ContextImpl.startActivity(ContextImpl.java:1072)
	at android.content.ContextWrapper.startActivity(ContextWrapper.java:432)
	at android.content.ContextWrapper.startActivity(ContextWrapper.java:432)
	at com.termux.app.TermuxOpenReceiver.onReceive(TermuxOpenReceiver.java:186)
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4315)
	... 9 more
Caused by: android.os.RemoteException: Remote stack trace:
	at com.android.server.wm.ActivityStarter.isAllowedToStart(ActivityStarter.java:2066)
	at com.android.server.wm.ActivityStarter.startActivityInner(ActivityStarter.java:1872)
	at com.android.server.wm.ActivityStarter.startActivityUnchecked(ActivityStarter.java:1679)
	at com.android.server.wm.ActivityStarter.executeRequest(ActivityStarter.java:1232)
	at com.android.server.wm.ActivityStarter.execute(ActivityStarter.java:718)


Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
UID: 10269
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
SE_PROCESS_CONTEXT: u:r:untrusted_app_27:s0:c13,c257,c512,c768
SE_FILE_CONTEXT: u:object_r:app_data_file:s0:c13,c257,c512,c768
SE_INFO: default:targetSdkVersion=28:complete
TERMUX_APP_PACKAGE_MANAGER: APT
TERMUX_APP_PACKAGE_VARIANT: APT_ANDROID_7
APK_RELEASE: GitHub
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 3.18.140-followmsi+
SDK_INT: 33
RELEASE: 13
ID: TQ2A.230405.003.E1
DISPLAY: TQ2A.230405.003.E1
INCREMENTAL: 1682526896
SECURITY_PATCH: 2023-04-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: false
TYPE: user
TAGS: release-keys
MAX_PHANTOM_PROCESSES: - (Requires DUMP and PACKAGE_USAGE_STATS permission)
MONITOR_PHANTOM_PROCS: false
DEVICE_CONFIG_SYNC_DISABLED: -

Hardware

MANUFACTURER: Samsung
BRAND: samsung
MODEL: SM-T580
PRODUCT: lineage_gtaxlwifi
BOARD: universal7870
HARDWARE: samsungexynos7870
DEVICE: gtaxlwifi
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Steps to reproduce the behavior.

NODE_OPTIONS="--require ./android-as-linux.js" code-server

What is the expected behavior?

running without crashing while use code-server

System information

  • Termux Monet version: 0.118.0
  • Is Nightly or Stable?: stable
  • Android OS version: 13
  • Device model: SM-T580

[Community]: Any suggestions?

Open for Suggestions!

Actually i've ran out of ideas for Termux Monet. So, what do you folks suggest to be added into it?

Feel free to commend any ideas you have for it.

Advise

Features that requires java knowledge might be delayed fo be implemented. This is because i currently don't know java. If you volunteer to implement it, feel free to make a PR. In the next months, when i finally begin having java classes on my University, i'm gonna implement all those features.

[Bug]: In dark mode can't differentiate if an extra key is pressed or not

Problem description

Title says it all

Steps to reproduce the behavior.

Enable dark mode tap on an extra key, you can't tell which one is pressed

What is the expected behavior?

It should be highlighted

System information

  • Termux Monet version: 0.118-16
  • Is Nightly or Stable?: Stable
  • Android OS version: 12.1
  • Device model: poco x3 pro

[Bug]: for God's enable extra keys transparency and blur

Problem description

Transparency of extra keys disabled

Steps to reproduce the behavior.

Extra keys blur is also disabled

What is the expected behavior?

No response

System information

  • Termux Monet version:
  • Is Nightly or Stable?:
  • Android OS version:
  • Device model:

F-Droid Repo

Feature description

Would it be possible to create a F-Droid repo to easily update Termux Monet?

Additional information

Official Termux has updates via f-droid

[Bug]: Crash: SystemVibratorManager cannot be cast to Vibrator

Problem description

Termux monet crashes when the user triggers a vibration.

termux-crash_report.log

Steps to reproduce the behavior.

  1. Open termux monet
  2. Press backspace to cause a vibration
  3. Crash

What is the expected behavior?

Termux monet shouldn't crash.

System information

  • Termux Monet version: 0.118.0
  • Is Nightly or Stable?: Stable
  • Android OS version: 12
  • Device model: Galaxy A12

[Bug]: Libc Access Denied

Problem description

Screenshot_20220710-192852_Termux

libc: Access denied finding property "odsign.verification.success"

when I do termux-setup-storage or any other command sometimes this appears

Steps to reproduce the behavior.

termux-setup-storage
termux-reload-settings
and there are some more but i forgot

What is the expected behavior?

Hopefully it can be improved, and optimized

System information

  • Termux Monet version: 0.118.0+334c902
  • Is Nightly or Stable?: Nightly
  • Android OS version: 12.1
  • Device model: Realme

when tab in proot, it crash

Problem description

when I tab in proot, termux crashed

Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2023-05-29 16:01:37.690 UTC

Crash Details

Crash Thread: Thread[main,5,main]
Crash Timestamp: 2023-05-29 16:01:36.547 UTC

Crash Message:

android.os.SystemVibratorManager cannot be cast to android.os.Vibrator

Stacktrace

java.lang.ClassCastException: android.os.SystemVibratorManager cannot be cast to android.os.Vibrator
	at com.termux.app.terminal.TermuxTerminalSessionActivityClient.onBell(TermuxTerminalSessionActivityClient.java:82)
	at com.termux.terminal.TerminalSession.onBell(TerminalSession.java:3)
	at com.termux.terminal.TerminalEmulator.processCodePoint(TerminalEmulator.java:184)
	at com.termux.terminal.TerminalEmulator.processByte(TerminalEmulator.java:126)
	at com.termux.terminal.TerminalSession$MainThreadHandler.handleMessage(TerminalSession.java:28)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:210)
	at android.os.Looper.loop(Looper.java:299)
	at android.app.ActivityThread.main(ActivityThread.java:8247)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
UID: 10312
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
SE_PROCESS_CONTEXT: u:r:untrusted_app_27:s0:c56,c257,c512,c768
SE_FILE_CONTEXT: u:object_r:app_data_file:s0:c56,c257,c512,c768
SE_INFO: default:targetSdkVersion=28:complete
TERMUX_APP_PACKAGE_MANAGER: APT
TERMUX_APP_PACKAGE_VARIANT: APT_ANDROID_7
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 5.10.101-android12-9-00005-ga829d48e78bd-ab9206161
SDK_INT: 33
RELEASE: 13
ID: TKQ1.220905.001
DISPLAY: TKQ1.220905.001 test-keys
INCREMENTAL: V14.0.24.0.TMNCNXM
SECURITY_PATCH: 2023-04-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys
MAX_PHANTOM_PROCESSES: - (需要 DUMPPACKAGE_USAGE_STATS 权限)
MONITOR_PHANTOM_PROCS: false
DEVICE_CONFIG_SYNC_DISABLED: -

Hardware

MANUFACTURER: Xiaomi
BRAND: Redmi
MODEL: 23013RK75C
PRODUCT: mondrian
BOARD: taro
HARDWARE: qcom
DEVICE: mondrian
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Steps to reproduce the behavior.

proot-distro login archlinux --user mayu --shared-tmp
cd

What is the expected behavior?

cd
Desktop/ downloads/ Music/ storage/

System information

  • Termux Monet version:0.118.0-32
  • Is Nightly or Stable?:Stable
  • Android OS version:13
  • Device model:redmi k60

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.