all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/4] gnu: Add XFILESEARCH path to profiles' environment.
@ 2016-11-25 19:08 John Darrington
  2016-11-25 19:08 ` [PATCH 2/4] gnu: Add editres John Darrington
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: John Darrington @ 2016-11-25 19:08 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

* gnu/system.scm (operating-system-etc-service): Add new environment variable:
XFILESEARCHPATH
---
 doc/guix.texi  | 30 ++++++++++++++++++++++++++++++
 gnu/system.scm | 25 +++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index e64c361..9d133bb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1209,6 +1209,36 @@ data in the right format.
 This is important because the locale data format used by different libc
 versions may be incompatible.
 
+@subsection X Window System
+@vindex XFILESEARCHPATH
+@vindex @code{Xt}
+@vindex X Toolkit Intrinsics
+@vindex @command{xterm}
+
+If you intend to use X Toolkit Intrinsics client applications such
+as @command{xterm} then you should define the @code{XFILESEARCHPATH}
+environment variable:
+
+@example
+$ export XFILESEARCHPATH="$HOME/.guix-profile/share/X11/%L/%T/%N%C%S:
+  $HOME/.guix-profile/share/X11/%l/%T/%N%C%S:
+  $HOME/.guix-profile/share/X11/%T/%N%C%S:
+  $HOME/.guix-profile/share/X11/%L/%T/%N%S:
+  $HOME/.guix-profile/share/X11/%l/%T/%N%S:
+  $HOME/.guix-profile/share/X11/%T/%N%S:
+  $HOME/.guix-profile/lib/X11/%L/%T/%N%C%S:
+  $HOME/.guix-profile/lib/X11/%l/%T/%N%C%S:
+  $HOME/.guix-profile/lib/X11/%T/%N%C%S:
+  $HOME/.guix-profile/lib/X11/%L/%T/%N%S:
+  $HOME/.guix-profile/lib/X11/%l/%T/%N%S:
+  $HOME/.guix-profile/lib/X11/%T/%N%S"
+@end example
+
+@noindent
+This (rather long) definition provides the search path which the @code{Xt}
+library uses to search for resource files and other files needed for correct
+running of applications.
+
 @subsection X11 Fonts
 
 @cindex fonts
diff --git a/gnu/system.scm b/gnu/system.scm
index 4e57f97..729a1a0 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -419,6 +419,31 @@ export MANPATH=$HOME/.guix-profile/share/man:/run/current-system/profile/share/m
 export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share/info
 export XDG_DATA_DIRS=$HOME/.guix-profile/share:/run/current-system/profile/share
 export XDG_CONFIG_DIRS=$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
+export XFILESEARCHPATH=\"$HOME/.guix-profile/share/X11/%L/%T/%N%C%S:\\
+$HOME/.guix-profile/share/X11/%l/%T/%N%C%S:\\
+$HOME/.guix-profile/share/X11/%T/%N%C%S:\\
+$HOME/.guix-profile/share/X11/%L/%T/%N%S:\\
+$HOME/.guix-profile/share/X11/%l/%T/%N%S:\\
+$HOME/.guix-profile/share/X11/%T/%N%S:\\
+$HOME/.guix-profile/lib/X11/%L/%T/%N%C%S:\\
+$HOME/.guix-profile/lib/X11/%l/%T/%N%C%S:\\
+$HOME/.guix-profile/lib/X11/%T/%N%C%S:\\
+$HOME/.guix-profile/lib/X11/%L/%T/%N%S:\\
+$HOME/.guix-profile/lib/X11/%l/%T/%N%S:\\
+$HOME/.guix-profile/lib/X11/%T/%N%S:\\
+/run/current-system/profile/share/X11/%L/%T/%N%C%S:\\
+/run/current-system/profile/share/X11/%l/%T/%N%C%S:\\
+/run/current-system/profile/share/X11/%T/%N%C%S:\\
+/run/current-system/profile/share/X11/%L/%T/%N%S:\\
+/run/current-system/profile/share/X11/%l/%T/%N%S:\\
+/run/current-system/profile/share/X11/%T/%N%S:\\
+/run/current-system/profile/lib/X11/%L/%T/%N%C%S:\\
+/run/current-system/profile/lib/X11/%l/%T/%N%C%S:\\
+/run/current-system/profile/lib/X11/%T/%N%C%S:\\
+/run/current-system/profile/lib/X11/%L/%T/%N%S:\\
+/run/current-system/profile/lib/X11/%l/%T/%N%S:\\
+/run/current-system/profile/lib/X11/%T/%N%S\"
+
 
 # Ignore the default value of 'PATH'.
 unset PATH
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-12-04 21:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 19:08 [PATCH 1/4] gnu: Add XFILESEARCH path to profiles' environment John Darrington
2016-11-25 19:08 ` [PATCH 2/4] gnu: Add editres John Darrington
2016-11-27 21:22   ` Ludovic Courtès
2016-11-25 19:08 ` [PATCH 3/4] gnu: Remove wrappers from xfd and xfontsel John Darrington
2016-11-25 19:08 ` [PATCH 4/4] gnu: Xfig: Set XAPPLOADDIR John Darrington
2016-11-27 21:22 ` [PATCH 1/4] gnu: Add XFILESEARCH path to profiles' environment Ludovic Courtès
2016-11-28 13:19   ` John Darrington
2016-11-29 14:34     ` Ludovic Courtès
2016-11-29 18:16       ` John Darrington
2016-11-29 21:42         ` Ludovic Courtès
2016-11-30  5:36           ` John Darrington
2016-12-02 16:25           ` [PATCH] gnu: Patch libxt's default search path John Darrington
2016-12-04 21:19             ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.