Home > Article > Backend Development > What does startx mean in python
What does startx mean in python? Let me introduce it to you:
1 Function
When we want to start the graphical interface in the terminal, we will do it by entering startx , this command can start an Xserver, and can start a beautiful graphical interface (under Ubuntu).
2 Usage
The usage of Startx is basically the same as that of xinit: startx [ [ client ] options ... ] [ -- [ server ] options . ..]. why? This is because startx is actually a script. It starts the X server by calling the xinit command. All parameters of startx will be passed to xinit. Therefore, the meaning of these parameters is the same as that of xinit.
Related recommendations: "Python Video Tutorial"
3 Example
The following are two simple examples of the startx command :
1) startx -- -depth 16
This example mainly starts the X server with 16-bit color.
2) startx -- -dpi 100
This example mainly starts the X server with a dpi of 100.
The above is the detailed content of What does startx mean in python. For more information, please follow other related articles on the PHP Chinese website!