# NOTE: order important, do not sort package list
#
DPORTS_PACKAGES+= x11/xorg \
+ x11-drivers/xf86-input-libinput \
x11-wm/fluxbox \
- x11-wm/fvwm \
+ x11-wm/fvwm3 \
www/firefox \
graphics/xpdf \
shells/zsh \
x11-fonts/terminus-font \
net/rsync \
x11-clocks/asclock \
- sysutils/screen
+ sysutils/screen \
+ sysutils/tmux
+.endif
+
+.if make(binpkgs)
+PKG_x11-wm/fvwm3?=fvwm3
+PKG_lang/perl5?=perl5
+# Only install the console flavor of vim, whereas
+# "pkg ins editors/vim" would install all flavors.
+PKG_editors/vim?=vim
.endif
ROOTSKELS+= ${.CURDIR}/gui
Option "XkbOptions" "ctrl:nocaps"
EndSection
-Section "InputDevice"
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/sysmouse"
- Option "ZAxisMapping" "4 5 6 7"
+Section "InputClass"
+ Identifier "libinput pointer catchall"
+ MatchIsPointer "on"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
EndSection
Section "Monitor"
set userresources = "$HOME/.Xresources"
set usermodmap = "$HOME/.Xmodmap"
-set sysresources = "/usr/pkg/xorg/lib/X11/xinit/.Xresources"
-set sysmodmap = "/usr/pkg/xorg/lib/X11/xinit/.Xmodmap"
cd $HOME
-if ( -f $sysresources ) then
- xrdb -merge $sysresources
-endif
-
-if ( -f $sysmodmap ) then
- xmodmap $sysmodmap
-endif
-
if ( -f $userresources ) then
xrdb -merge $userresources
endif
xmodmap $usermodmap
endif
+xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1
+
xset m 2 1
(limit core 0; xscreensaver -nosplash) &
asclock -shape -position -60+345 -led green -noblink &
# start window manager here
#
-/usr/pkg/bin/fvwm2 -f ~/.fvwm/.fvwm2rc
+/usr/local/bin/fvwm3 -f ~/.fvwm/.fvwm2rc
#startkde
/bin/kill $SSH_AGENT_PID