Display
Tasks
Commands
X11
- X
- Test X11 with the config file automatically generated after
Xorg -configure
X -config $HOME/xorg.conf.new
- xhost
- Enable access control to X server
Disable access control to X server, allowing clients from any host to connect (not unsafe if you use a firewall that allows only SSH)
xhost -
Addxhost +
$HOST
to list of authorized clients for X serverRemovexhost +$HOST
$HOST
from list of authorized clients for X serverAddxhost -$HOST
$USER
to ACLxhost si:localuser:$USER
xmodmap
- Replacing Caps Lock with Escape
! Swap caps lock and escape remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock
Xorg
- Enable automatic configuration of X11 server
Xorg -configure
xrandr
- Change resolution of DisplayPort1 to 1920x1080
Disable VGA1 output
xrandr --output DP1 --mode 1920x1080
Display current state of the systemxrandr --output VGA1 --off
xrandr -q --query
xset
- Dynamically add fonts [Haeder: 307][Haeder]
xset fp+ /usr/local/fonts