- # the following shortcut restarts the X-server which is currently active on your console:
ctrl-alt-backspace - # usb mouse troubleshooting: It may happen that the automatically generated file /etc/X11/XF86Config-4 does not include correct settings for your usb mouse. If the command
cat /dev/input/mice|hexdump|timeout 30 head -5 Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" # PS/2 Mouse not detected # Serial Mouse not detected InputDevice "USB Mouse" "CorePointer" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "SendCoreEvents" "true" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection
- # nice X11 configuration tool for Knoppix:
sudo kxconfig - # nice /etc/X11/XF86Config generation tool used by Knoppix:
mkxf86config - # if you wish to specify an additional X display which can be accessed through ctrl+alt+8, you could add the following line to /etc/X11/xdm/Xservers:
:1 local /usr/X11R6/bin/X vt8 -dpi 100 -nolisten tcp - # installing the xv.rpm:
- # fetch and unpack the rpm:
cd /tmp
wget ftp://ftp.trilon.com/pub/xv/binaries/xv-3.10a-13.i386.rpm - # install the stuff:
sudo alien /tmp/xv-3.10a-13.i386.rpm
- # fetch and unpack the rpm:
- # you could also give it a try compiling and installing xv yourself:
- # fetch and unpack the sources:
cd /tmp
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
tar -xzvf xv-3.10a.tar.gz
cd xv-3.10a - # read the README and INSTALL files, and pay the registration fee of 25 dollar
- # replace 'extern char *sys_errlist[]; /* this too... */' by 'extern __const char *__const sys_errlist[];':
cat xv.h|sed s/"extern char \*sys_errlist\[\]; \/\* this too... \*\/"/"extern __const char \*__const sys_errlist\[\];"/ > xv.h.tmp;
mv xv.h.tmp xv.h - # make sure that the X11 libraries are found:
cat Makefile|sed s/"LIBS = -lX11 \$(JPEGLIB) \$(TIFFLIB) -lm"/"LIBS = -L\/usr\/X11R6\/lib -lX11 \$(JPEGLIB) \$(TIFFLIB) -lm"/ > Makefile.tmp
mv Makefile.tmp Makefile - # execute the make file and install the stuff if successful:
if make;then
sudo mkdir -p /usr/local/man/man1;
sudo make install;
fi
- # fetch and unpack the sources: