Ben Hutchings <firstname.lastname@example.org> (14/11/2012): > Well those are useful for a nostalgia trip but I can't quite see how > they would help to solve the screen-blanking problem. > > If you're using the graphical installer then you presumably need to > disable the X screen blanker somehow. That might require adding a check > to the relevant udeb. Picking xset from the x11-xserver-utils package might be a plan, but that one is linked against libXmuu.so.1 which isn't provided by any udebs. It appears there are only two XmuPrintDefaultErrorMessage() calls in xset/xset.c, which you can patch out, leading you to an xset (ELF) binary you could include in your images. I'm attaching a patch to that effect, recipe: apt-get source x11-xserver-utils # apply patch, install b-deps as needed cd xset autoreconf -vfi ./configure make I haven't checked what happens in a d-i environment with the resulting xset program, but you should be able to try: ./xset dpms force on after having pulled it there. Mraw, KiBi.
diff --git a/xset/configure.ac b/xset/configure.ac index 513b023..87a12e3 100644 --- a/xset/configure.ac +++ b/xset/configure.ac @@ -41,7 +41,7 @@ XORG_DEFAULT_OPTIONS AC_CHECK_FUNCS([usleep]) # Checks for pkg-config packages -PKG_CHECK_MODULES(XSET, [xproto >= 7.0.17 xmuu]) +PKG_CHECK_MODULES(XSET, [xproto >= 7.0.17]) # This is used below to allow <X11/Xlib.h> to be found PKG_CHECK_MODULES(SET_X11, x11) diff --git a/xset/xset.c b/xset/xset.c index 40fc7e1..cc530ff 100644 --- a/xset/xset.c +++ b/xset/xset.c @@ -59,7 +59,6 @@ in this Software without prior written authorization from The Open Group. #include <X11/keysym.h> #include <X11/Xproto.h> #include <X11/Xutil.h> -#include <X11/Xmu/Error.h> #ifdef MITMISC # include <X11/extensions/MITMisc.h> #endif @@ -1710,10 +1709,10 @@ local_xerror(Display *dpy, XErrorEvent *rep) progName, rep->resourceid); break; default: - XmuPrintDefaultErrorMessage(dpy, rep, stderr); + ; /* Avoid pulling Xmu in the d-i babelbox dance */ } } else - XmuPrintDefaultErrorMessage(dpy, rep, stderr); + ; /* Avoid pulling Xmu in the d-i babelbox dance */ error_status = -1;
Description: Digital signature