termux-app
termux-app copied to clipboard
[Feature]: Allow different zoom levels in Samsung DeX / phone screen
Feature description
The font in Samsung DeX seems too big. If I resize it, it is too small for my phone. We can have an individual setting for DeX / phone screen so we don't need to resize everytime.
Additional information
/
The zooming should be linear, try using a different font. Once you resize the font, it should stay that way.
A video demonstrating the issue would help.
I prefer a big font on my phone (tput cols
-> 44) but a small font on DeX.
If termuxx-app worked with the Styles add on- then this would not be a issue. Are there plans to have the add-ons working ?
[image: image.png] [image: image.png] Thanks..
On Sun, Nov 27, 2022 at 3:37 PM babaric-dev @.***> wrote:
I prefer a big font on my phone (tput cols -> 44) but a small font on DeX.
— Reply to this email directly, view it on GitHub https://github.com/termux/termux-app/issues/3119#issuecomment-1328357061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6LSRJO65DH4PQ5XGZXFK3WKPPBPANCNFSM6AAAAAASLGPSWU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
How would this be implemented (using Termux:Style)?
The currently engaged font is stored in termux-app shared preferences and cannot be stored in some property file or controlled by termux-styling. A separate key could be used to store current font for dex, and at startup and config changes it could be detected if dex is being used or not and use required font.
https://developer.android.com/guide/topics/resources/runtime-changes
https://github.com/termux/termux-app/blob/cff6cff609143d7441b42dad20c058ca26543247/app/src/main/java/com/termux/app/terminal/TermuxTerminalViewClient.java#L174
We can just make a property to store zoom levels for DeX and phone separately? If then, it shouldn't be hard to implement
There is currently no write support in the app for properties
file.
I mean, the same way termux now stores the zoom size, not in a properties file
Any upates on this?
I would love a Dex mode auto detect for font size. Additionaly, it would be great if what ever method is used could also auto toggle the extra keys bar.
I find myself resizing the font and toggling the extra keys mutliple times a day as I go between dex and normal phone use.