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

Samsung Dex support - multiple windows

Open dagelf opened this issue 5 years ago • 12 comments

Multiple Windows in DEX mode Seems simple to add - and I will try it soon as I get a chance - unless someone beats me to it.

From DEX docs:

Q03 Why doesn’t Multi-Window work, even though android:resizeableActivity="true" has been declared in the Manifest?

Your app might have targeting the wrong targetSDKVersion. Android:resizeableActivity is supported when the targetSDK version is greater than or equal to 24 (Android N). IF targetSDKVesion is under 24, activities are only resizable when the screenOrientation is not set as fixed. Check to make sure you do not have this code in your manifest:

<activity
android:screenOrientation="portrait | landscape">
</activity>

dagelf avatar Oct 19 '19 06:10 dagelf

+1 for this

thawkins avatar Nov 24 '19 12:11 thawkins

See also #1259

Meanwhile, @dagelf do you know you can use Ctrl-Alt-C to launch a new Termux session, and switch between them using Ctrl-Alt-Arrow up or down ?

laem avatar Nov 26 '19 12:11 laem

CTL-ALT-C and switch works, but obviously is in the same window, it would be desirable to have an alternative that opens a new window.

thawkins avatar Nov 28 '19 17:11 thawkins

note it would be killer to be able to run vscode in termux, it would make it a very very capble dev environment.

thawkins avatar Nov 28 '19 18:11 thawkins

Andronix's "modded OSes" give you Code-OSS. Very impressive. However, I tested it and it's abnormaly slow (e.g. compared to UserLand), and the right Alt keys on my french keyboard don't work, so no code possible.

Screenshot_20191128-221558_Remotix

laem avatar Nov 28 '19 21:11 laem

Update : also tried Andronix with XFCE 4.16, works great, no performance problem except for the VNC delay.

note it would be killer to be able to run vscode in termux, it would make it a very very capble dev environment.

Have you tried running vscode arm64 (http://code.headmelted.com) as a server and use any android browser as a UI ?

laem avatar Dec 29 '20 10:12 laem

+1 for this. Will be usefull even on a phone screen in split screen view. unfortunatelly It is not possible with termux

Screenshot_20221028-104307_Apps

While it is possible with browsers and some other apps

Phone Screenshot_20221028-104209_Samsung Internet

Desktop Screenshot_20221028-104039_Samsung Internet

5A52 avatar Oct 28 '22 07:10 5A52

This is new? Guess I've been spoiled all these years...

Screenshot_20221028-215130_X-plore

cujoXavier avatar Oct 29 '22 01:10 cujoXavier

Oh my bad, I just saw this was a post on a 3 year old thread. But I remember vividly 10/19/2019 - It's my mom's birthday, and I just got divorced - so I was crashing on her sofa- anyway, i had no PC so I was using my S10 5G new that summer- Dex to my TV, cheap Amazon jellycomb usb wireless keyboard & mouse-- and that was my desktop environment - ran Kali NH via termux to kex & had s ball... Split screen was essential- I had to have my phone's browser (opera) to have sound on the web....

cujoXavier avatar Oct 29 '22 02:10 cujoXavier

This is not new, I commented yesterday (not to open a new issue) . You have termux + xplore, and im about termux + termux.

5A52 avatar Oct 29 '22 04:10 5A52

You can use a terminal multiplexer like tmux to get a splitscreen terminal.

tareksander avatar Oct 29 '22 06:10 tareksander

You can use a terminal multiplexer like tmux to get a splitscreen terminal.

In terminals, you can choice to open a new window, or new session, because there are use cases where a new window is more convenient than a new session (even with tmux). Android more or less supports Window Management. Feature is not difficult to realise. Then whay not?

5A52 avatar Oct 29 '22 10:10 5A52