termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Feature]: Allow different zoom levels in Samsung DeX / phone screen

Open babaric-dev opened this issue 2 years ago • 11 comments

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

/

babaric-dev avatar Nov 25 '22 11:11 babaric-dev

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.

turtureanu avatar Nov 27 '22 08:11 turtureanu

I prefer a big font on my phone (tput cols -> 44) but a small font on DeX.

babaric-dev avatar Nov 27 '22 22:11 babaric-dev

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: @.***>

WilsonBradley avatar Nov 28 '22 04:11 WilsonBradley

How would this be implemented (using Termux:Style)?

babaric-dev avatar Dec 06 '22 14:12 babaric-dev

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

agnostic-apollo avatar Dec 06 '22 18:12 agnostic-apollo

We can just make a property to store zoom levels for DeX and phone separately? If then, it shouldn't be hard to implement

babaric-dev avatar Dec 12 '22 08:12 babaric-dev

There is currently no write support in the app for properties file.

agnostic-apollo avatar Dec 12 '22 08:12 agnostic-apollo

I mean, the same way termux now stores the zoom size, not in a properties file

babaric-dev avatar Dec 12 '22 23:12 babaric-dev

Any upates on this?

babaric-dev avatar Dec 28 '22 11:12 babaric-dev

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.

demure avatar Nov 28 '23 14:11 demure