From aa230f2dae14b289619a32fa741c644c3d38bd70 Mon Sep 17 00:00:00 2001 From: cylgom Date: Sun, 5 Apr 2020 12:19:30 +0200 Subject: [PATCH] one simply does not rtfm --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/readme.md b/readme.md index a73656a..87774a3 100644 --- a/readme.md +++ b/readme.md @@ -93,6 +93,19 @@ Use the up and down arrow keys to change the current field, and the left and right arrow keys to change the target desktop environment while on the desktop field (above the login field). +# .xinitrc +If your .xinitrc doesn't work make sure it is executable and includes a shebang. +This file is supposed to be a shell script! Quoting from xinit's man page: +``` +If no specific client program is given on the command line, xinit will look for +a file in the user's home directory called .xinitrc to run as a shell script to +start up client programs. +``` +On ArchLinux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this: +``` +#!/bin/sh +``` + ## Tips The numlock and capslock state is printed in the top-right corner. Use the F1 and F2 keys to respectively shutdown and reboot.