Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support for Multiple Sessions/Windows #2430

Closed
tiptruck opened this issue Nov 27, 2021 · 11 comments
Closed

[Feature]: Support for Multiple Sessions/Windows #2430

tiptruck opened this issue Nov 27, 2021 · 11 comments

Comments

@tiptruck
Copy link

Feature description

Support for multiple sessions/windows

Running Termux sessions in separate windows would allow switching via the recents button to give consistency with other apps but also would allow two windows to display at the same time, for example, one window with vi and the other window on screen to run Python.

Additional information

Most of the Android apps I use support multiple windows.

@2096779623
Copy link
Member

Multi-session is already supported. For multi-windows, please add X11 source to install xfce. This is an unofficial temporary solution.

@agnostic-apollo
Copy link
Member

Maintaining terminal sessions across different activities won't be possible easily, if even possible at all. Lot of shared stuff. That's like asking android chrome browser to open tabs in different activities.

@tiptruck
Copy link
Author

I do understand I can run x11 and VNC or use tmux. Both these have their uses. But it would be sweet to run two Termux sessions in Samsung Dex.

Chrome does allow two windows to run. I can run multiple Termux sessions in one window. Is it possible to split the sessions into separate windows?

Thanks for your consideration.

@agnostic-apollo
Copy link
Member

agnostic-apollo commented Nov 28, 2021

Chrome does allow two windows to run.

Chrome on Android?

Is it possible to split the sessions into separate windows?

You can use terminal multiplexer like tmux to run multiple windows in the same session.

@tiptruck
Copy link
Author

Chrome/Chromium will run 2 windows, although I'm going by memory, you select move to other window. to make it happen. Vivaldi/Samsung Internet can do 5, I still use them. News is Chrome will do 10 windows on Android 12 but I can't test that yet.

I have used tmux but it is just as easy to swap Termux sessions as tmux windows so I don't bother.

@agnostic-apollo
Copy link
Member

agnostic-apollo commented Nov 28, 2021

Chrome/Chromium will run 2 windows

Interesting. Thanks for the info. Despite that, what you are asking is going to be really complex if at all possible, will likely require a complete redesign of session management, and not really a priority.

@tiptruck
Copy link
Author

I understand, thanks

@nathaneltitane
Copy link

I do understand I can run x11 and VNC or use tmux. Both these have their uses. But it would be sweet to run two Termux sessions in Samsung Dex.

Chrome does allow two windows to run. I can run multiple Termux sessions in one window. Is it possible to split the sessions into separate windows?

Thanks for your consideration.

Dex allows chrome and other apps to run simultaneous windows as different activites when they are configured correctly - Chrome seems to be the case for me too here as well

@termux termux deleted a comment from obot7 Jan 19, 2022
@locuturus
Copy link

Dex allows chrome and other apps to run simultaneous windows as different activites when they are configured correctly - Chrome seems to be the case for me too here as well

DeX improves the presentation and usefulness of Android's multi windowing system but it's not required to use multi window apps. Chrome will offer to make a new window when any phone is in split screen mode for example. The AOSP files app also allows many windows (at least 3). Material Files as well. It's not common, but also not rare to see it.

@luisdavim
Copy link

#187 should solve this right?

@tiptruck
Copy link
Author

tiptruck commented Jun 4, 2022

#187 should solve this right?

Yes. I think this is a duplicate of #187 so I'll close this one and hope #187 can be resolved. Thanks for spotting it.

@tiptruck tiptruck closed this as completed Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants