X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/blobdiff_plain/5ef3209006fccf2bcaf643630c82d66fd2375ee5..HEAD:/docs/developer/luxh/index.mdwn diff --git a/docs/developer/luxh/index.mdwn b/docs/developer/luxh/index.mdwn index 211f8db8..0061efc6 100644 --- a/docs/developer/luxh/index.mdwn +++ b/docs/developer/luxh/index.mdwn @@ -1,6 +1,5 @@ ###Some stuff I always forget. -####Console -echo -h >> /boot.config
+####Serial console echo console=comconsole >> /boot/loader.conf
ttyd0 "/usr/libexec/getty std.9600" dialup on secure @@ -8,6 +7,43 @@ ttyd0 "/usr/libexec/getty std.9600" dialup on secure debug.debugger_on_panic=0 or put DDB_UNATTENDED in the config to panic instead of going to debugger.
remember to update dumpdev in rc.conf when you change disk. +####X +New way, when devd is used. se_sv_dvorak is in /usr/local/share/X11/xkb/symbols/se_sv_dvorak. Add this to /usr/local/etc/X11/xorg.conf.d/input.conf: + + Section "InputClass" + Identifier "Keyboard Defaults" + Driver "keyboard" + MatchIsKeyboard "on" + Option "Protocol" "standard" + Option "XkbRules" "base" + Option "XkbModel" "pc105" + Option "XkbLayout" "se_sv_dvorak" + EndSection + + Section "InputClass" + Identifier "Mouse Defaults" + Driver "mouse" + MatchIsPointer "on" + EndSection + + +Old way: Set keyboard layout in /etc/X11/xorg.conf. + + Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "XkbLayout" "se_sv_dvorak" + EndSection + +Enable xdm by changing 'off' to 'on' in /etc/ttys. kill -HUP 1 to take effect. + + ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure + +Disable xconsole by commenting it out in /usr/local/etc/X11/xdm/Xsetup_0. xdm reads ~/.xsession. set LC_CTYPE and exec your wm here. + +####hammer +The root PFS can't be mirrored to. If the filesystem gets completely filled up, do hammer viconfig and shorten snapshot retention time, then run hammer prune, and maybe hammer reblock as well. Keep the PFS symlinks in /pfs/ on the same filesystem. + ####pkgsrc cd /usr/pkgsrc/bootstrap @@ -22,10 +58,6 @@ mk.conf: CFLAGS+= -g # don't bmake clean, it'll remove the source. INSTALL_UNSTRIPPED= yes -####hammer -root PFS can't be mirrored.
-if the filesystem gets completely filled up, do hammer viconfig and shorten snapshot retention time. then run hammer prune, and maybe hammer reblock as well. - ####time machine I gave up on all this. Backing up with Time Machine usually works for some time (a half-through backup) and then cnid_metad gets a fit and thinks it's a good idea to force the exported volume read only. Backup fails and you have to start over. I heard this got even worse with Lion. I'm going to backup my important stuff with rsync and NFS.