* Specify the location of XKeyboard related stuff.
svn path=/nixos/trunk/; revision=8501
This commit is contained in:
parent
1bd112d4a7
commit
100efeeafe
@ -134,7 +134,7 @@ import ../upstart-jobs/gather.nix {
|
||||
(import ../upstart-jobs/xserver.nix {
|
||||
inherit config;
|
||||
inherit (pkgs) stdenv writeText lib xterm slim xorg mesa
|
||||
gnome compiz feh kdebase kdelibs;
|
||||
gnome compiz feh kdebase kdelibs xkeyboard_config;
|
||||
fontDirectories = import ./fonts.nix {inherit pkgs;};
|
||||
})
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv, writeText, lib, xorg, mesa, xterm, slim, gnome
|
||||
, compiz, feh
|
||||
, kdelibs, kdebase
|
||||
, xkeyboard_config
|
||||
|
||||
, config
|
||||
|
||||
@ -86,6 +87,12 @@ let
|
||||
source /etc/profile
|
||||
|
||||
exec > $HOME/.Xerrors 2>&1
|
||||
|
||||
|
||||
# Load X defaults.
|
||||
if test -e ~/.Xdefaults; then
|
||||
${xorg.xrdb}/bin/xrdb -merge ~/.Xdefaults
|
||||
fi
|
||||
|
||||
|
||||
### Start a window manager.
|
||||
@ -171,6 +178,7 @@ let
|
||||
"-logfile" "/var/log/X.${toString display}.log"
|
||||
"-config ${configFile}"
|
||||
":${toString display}" "vt${toString tty}"
|
||||
"-xkbdir" "${xkeyboard_config}/etc/X11/xkb"
|
||||
];
|
||||
|
||||
|
||||
@ -192,6 +200,8 @@ rec {
|
||||
|
||||
extraPath = [
|
||||
xorg.xrandr
|
||||
xorg.xrdb
|
||||
xorg.setxkbmap
|
||||
feh
|
||||
]
|
||||
++ optional (windowManager == "twm") [
|
||||
@ -232,6 +242,7 @@ rec {
|
||||
|
||||
env SLIM_CFGFILE=${slimConfig}
|
||||
env FONTCONFIG_FILE=/etc/fonts/fonts.conf # !!! cleanup
|
||||
env XKB_BINDIR=${xorg.xkbcomp}/bin # Needed for the Xkb extension.
|
||||
|
||||
${if getCfg "driSupport"
|
||||
then "env XORG_DRI_DRIVER_PATH=${mesa}/lib/modules/dri"
|
||||
|
Loading…
Reference in New Issue
Block a user