-
Notifications
You must be signed in to change notification settings - Fork 1
/
Xorg.txt
41 lines (31 loc) · 1.35 KB
/
Xorg.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2016-10-24T01:39:52+02:00
====== Xorg and Xinit ======
Created mandag 24 oktober 2016
**Xorg is our display server and Xinit provides a way to start the server. **
===== Xorg =====
**#** **Install the following packages :**
$ pacman -S xorg-server xorg-server-utils xorg-xinit
===== Xinit =====
**# Xinit provides **//startx, xinit //**and a basic **//xinitrc//** configuration file.**
== Xserverrc ==
**# Both **//startx //**and **//xinit//** executes **//~/.xserverrc//** which is not created by default. **
**# You should create a **//~/.xserverrc//** file **
**# The following will help maintain a session and help prevent bypassing the screen locker**
{{{code: lang="texinfo" linenumbers="True"
#!/bin/sh
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR
}}}
== Xinitrc ==
**# **//.xinitrc//** file can be found at GitHub. Else, follow below for a quick setup.**
**# Create a copy of the default **//xinitrc //**file**
$ cp /etc/X11/xinit/xinitrc ~/.xinitrc
**# By default it starts a few applications. These can be commented out in the **//~/xinitrc//** file.**
**# You can append applications to start leading with a **//&//** (ampersand) for multiple entries.**
**# Lines after **//exec//** won't be read.**
{{{code: lang="texinfo" linenumbers="True"
application1 &
application2 &
exec dekstop
}}}