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

easier basic commands #3841

Closed
totaam opened this issue Apr 30, 2023 · 1 comment
Closed

easier basic commands #3841

totaam opened this issue Apr 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 30, 2023

The most common command that I use is:

xpra start --start=xterm

There is no reason why we can't make it easier and support:

xpra start xterm
@totaam totaam added the enhancement New feature or request label Apr 30, 2023
totaam added a commit that referenced this issue Apr 30, 2023
@totaam
Copy link
Collaborator Author

totaam commented Apr 30, 2023

The commit above does this and is quite small too.

We also automatically enable:

  • --exit-with-children since the command(s) are added as start-child options
  • --attach is enabled if we have a real display (ie: MacOS, Windows or others as long as it's not an SSH session)

This allows us to do things like:

xpra desktop fluxbox

To start fluxbox in a desktop session and terminate the session when fluxbox exits.

It also supports remote hosts:

xpra start ssh://user:password@host:sshport/ xterm firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant