Termux-app: [Feature request] Samsung DeX support.

Created on 23 Sep 2019  路  8Comments  路  Source: termux/termux-app

Hi. I am an active user of Termux on Samsung DeX. The issue is that when the DeX is enabled/disabled the Termux session gets dropped.

Could Termux be updated for DeX usage please? Here is the official source from Samsung on how to adapt the app:

https://developer.samsung.com/samsung-dex/modify-optimizing

Thank you in advance.

enhancement

Most helpful comment

Fixed by version 0.90 of the app, which has been released and should be available as an update shortly, by @jeansch in #1446.

All 8 comments

This is the main problem I've found too when trying to use a Galaxy phone as a development machine.

When you're working on it in Dex mode, get a phone call or have a tea, unplug your phone from the monitor, you have to launch termux again to get back to work.

Let's push the envelope even further: can Termux get an integrated VNC Client to run atop what seems to be another great use for this beautiful little application: chroot/proot?

This would surely make Termux the ultimate item in the portable development arsenal :)

See https://github.com/termux/termux-app/issues/1315#issue-510824467

Using Andronix with Termux opened new opportunities under DeX. Though it still closes session when you detach the phone from DeX compatible hub so all work is lost if you need to make a phone call all of a sudden.

For the users of Andronix (or alternatives) + Termux i have found a workaround of sorts. DeX allows to continue using phone as usual while using DeX on the connected monitor. So:

1) Connect your device to monitor to activate DeX
2) Launch Termux on the PHONE
3) Launch Linux distro in Termux on the PHONE, start VNC server. Minimize Termux.
4) Launch VNC viewer in DEX, connect it to localhost as usual.

This way when you detach the device from DeX Termux session remains intact. Then after connecting to DeX again you can re-launch your VNC viewer and you will have your Linux distro in the same spot you left it. This way you have same (or even more) development options without the risk of loosing the data.

Though still i beg Termux developers to adapt the app for DeX =)

Thanks @DarthZedd that's a smart tip !

Fixed by version 0.90 of the app, which has been released and should be available as an update shortly, by @jeansch in #1446.

Does anyone happen to know if a similar fix is possible for the Huawei Desktop mode (currently using it with a my Mate 20 X on Android 10). When I disconnect the USB-C monitor, Termux and any running tmux sessions are killed.

To avoid open a new issue I think the right click should act like a desktop right click. The same for selecting text, middle click. Something like Samsung Browser does.

Same to sessions which should become tabs like Chrome mobile do.

Thank you.

Was this page helpful?
0 / 5 - 0 ratings