on Wed, Feb 07, 2001 at 05:28:44AM -0800, kmself@ix.netcom.com (kmself@ix.netcom.com) wrote: > I've upgraded my laptop from stable to testing. In the process, I seem > to have versioned up to XFree86v4. Currently: > > - X display managers don't allow a session to start (see attached > error output). This is annoying, but not a biggie. startx works > fine. But I have been beating my head against the wall trying to > figure out what wdm's startup sequence is.
This still doesn't work, but I tend not to like DMs anyhow. I've created the following bash function to expedite starting X from a shell, with some smarts: gostartx=() { if [ $# -eq 0 ]; then disp=1; else disp=$1; fi; if test -f /tmp/.X${disp}-lock; then if test -d /proc/$( cat /tmp/.X${disp}-lock | sed -e '/ */s///' ); then echo "X session already running on display :$disp" 1>&2; exit 1; else echo -e "Removing stale lockfile...\c"; if rm /tmp/.X1-lock; then echo "Succes"; else echo "Failed" 1>&2; return 1; fi; fi; fi; sudo -v; exec nohup startx -- :$disp >.startx.${disp}.log 2>&1 & } > - Mouse: how do you configure three-button emulation for a two-button > touchpad with V4? This is driving me nuts. Resolved. The trick appears to be the line: Option "Emulate3Buttons" "true" in /etc/X11/XF86Config-4, configured by running: $ dpkg-reconfigure xserver-xfree86 -plow (Thanks, Norm). > - Fonts. I've got truetype fonts and had been using xfstt. Fonts are still broken. - I've installed mkttfdir and run it on /usr/share/fonts/truetype. - I've added to /etc/X11/XF86Config-4: Section "Files" FontPath "unix/:7100" # local font server FontPath "/usr/share/fonts/truetype" # if the local font server has problems, we can fall back on # these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "ddc" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" Load "bitmap" Load "freetype" # ** this guy ** Load "speedo" Load "type1" Load "vbe" Load "int10" EndSection - I've tried running with and without xfs. - I've added to /etc/X11/fs/config the line (escapes added): catalogue = /usr/share/fonts/truetype,/usr/lib/X11/fonts/misc/,\ /usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/:unscaled,\ /usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1/,\ /usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo/,\ /usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/ ...but no TT fonts. :-( I've also downloaded Joerg Pommnitz's ttmkfdir utility, but don't know how to modify the Makefile to use libttf.so. Hint? TIA. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgpZDiFl6xWzy.pgp
Description: PGP signature