From: Reginald Kennedy Date: Mon, 6 Oct 2014 02:56:43 +0000 (+0800) Subject: Add note to man page regarding autorun and LD_PRELOAD. X-Git-Tag: SPECTRWM_2_6_1~5 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/33d4117279c3a01d50133161a94add69f64fa84c Add note to man page regarding autorun and LD_PRELOAD. closes #72 --- diff --git a/spectrwm.1 b/spectrwm.1 index f719acd..1e86e00 100644 --- a/spectrwm.1 +++ b/spectrwm.1 @@ -99,6 +99,27 @@ Defined in the format e.g. ws[2]:xterm launches an .Xr xterm 1 in workspace 2. +.Pp +Note that workspace mapping is handled via +.Pa libswmhack.so . +When +.Ic autorun +spawns windows via a daemon, ensure the daemon is started +with the correct +.Pa LD_PRELOAD +in its environment. +.Pp +For example, starting +.Xr urxvtd 1 +via +.Xr xinit 1 : +.Bd -literal -offset indent +LD_PRELOAD=/usr/lib/libswmhack.so.0.0 urxvtd -q -o -f +.Ed +.Pp +Spawned programs automatically have +.Pa LD_PRELOAD +set when executed. .It Ic bar_action External script that populates additional information in the status bar, such as battery life.