mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
633 B
Plaintext
26 lines
633 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# startx
|
|
|
|
> A front-end to `xinit` that provides a nice user interface for running a single session of the X Window System.
|
|
> More information: <https://www.x.org/releases/X11R7.6/doc/man/man1/startx.1.xhtml>.
|
|
|
|
- Start an X session:
|
|
|
|
`startx`
|
|
|
|
- Start an X session with a predefined depth value:
|
|
|
|
`startx -- -depth {{value}}`
|
|
|
|
- Start an X session with a predefined dpi value:
|
|
|
|
`startx -- -dpi {{value}}`
|
|
|
|
- Override the settings in the `.xinitrc` file and start a new X session:
|
|
|
|
`startx /{{path/to/window_manager_or_desktop_environment}}`
|