[Pkg-xfce-devel]
Bug#362458: xfce4-utils: add support for arbitrary,
user-defined environment settings
Greg Norris
haphazard at kc.rr.com
Thu Apr 13 15:12:35 UTC 2006
Package: xfce4-utils
Version: 4.2.3-1
Severity: wishlist
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Please consider adding support for user-defined environment settings by
xinitrc, similar to how kde processes the "$HOME/.kde/env" directory.
This is particularly useful when launching a session via xdm/gdm.
The patch below causes xinitrc to source files named like *.sh, located
in either "/etc/xdg/xfce4/env" or "$HOME/.config/xfce4/env". I'd be
happy to refine it further, if you have any concerns or suggestions
about the current incarnation.
Thanx for your time! :)
*** xinitrc.diff
- --- xinitrc.orig 2006-04-13 09:30:20.000000000 -0500
+++ xinitrc 2006-04-13 10:03:48.000000000 -0500
@@ -68,6 +68,20 @@
fi
fi
+# administrator-defined environment settings
+if [ -d /etc/xdg/xfce4/env ]; then
+ for f in /etc/xdg/xfce4/env/*.sh; do
+ [ -r "$f" ] && . "$f"
+ done
+fi
+
+# user-defined environment settings
+if [ -d "$HOME/.config/xfce4/env" ]; then
+ for f in "$HOME/.config/xfce4/env/"*.sh; do
+ [ -r "$f" ] && . "$f"
+ done
+fi
+
# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages xfce4-utils depends on:
ii aterm [x-terminal-emulato 1.0.0-2 Afterstep XVT - a VT102 emulator f
ii gnome-terminal [x-termina 2.14.0-1 The GNOME 2 terminal emulator appl
ii konsole [x-terminal-emula 4:3.5.2-1 X terminal emulator for KDE
ii libatk1.0-0 1.11.4-1 The ATK accessibility toolkit
ii libc6 2.3.6-6 GNU C Library: Shared libraries
ii libdbh1.0-1 1.0.24-1 Creates disk based hashtables
ii libglib2.0-0 2.10.2-1 The GLib library of C routines
ii libgtk2.0-0 2.8.16-1 The GTK+ graphical user interface
ii libice6 6.9.0.dfsg.1-6 Inter-Client Exchange library
ii libpango1.0-0 1.12.0-2 Layout and rendering of internatio
ii libsm6 6.9.0.dfsg.1-6 X Window System Session Management
ii libstartup-notification0 0.8-1 library for program launch feedbac
ii libx11-6 6.9.0.dfsg.1-6 X Window System protocol client li
ii libxfce4mcs-client-2 4.2.3-1 Client library for Xfce4 configure
ii libxfce4mcs-manager-2 4.2.3-1 Manager library for Xfce4 configur
ii libxfce4util-1 4.2.3.2-1 Utility functions library for Xfce
ii libxfcegui4-3 4.2.3-1 Basic GUI C functions for Xfce4
ii procps 1:3.2.6-2.1 /proc file system utilities
ii rxvt [x-terminal-emulator 1:2.6.4-10 VT102 terminal emulator for the X
ii xfce4-terminal [x-termina 0.2.4-7 Xfce terminal emulator
ii xlibs 6.9.0.dfsg.1-6 X Window System client libraries m
ii xterm [x-terminal-emulato 210-2 X terminal emulator
Versions of packages xfce4-utils recommends:
ii xfce4-panel 4.2.3-1 The Xfce4 desktop environment pane
ii xfwm4 4.2.3.2-2 window manager of the Xfce project
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEPmpjgrEMyr8Cx2YRAugLAJ9fCDWJQ5LSCQNwYyBsZ04NgJv5rQCg1jxi
OGbz/yYtXQJGTNbO0I0KFXw=
=eBuK
-----END PGP SIGNATURE-----
More information about the Pkg-xfce-devel
mailing list