# mount /dev/sr0 /mnt/dvd
# cp -r /mnt/dvd/source/xap/xscreensaver/ /usr/src/
Then change into the directory you have copied and edit the build file. Add the --with-pam line to the configure command (insert after line 90):
# vi xscreensaver.SlackBuild
...
--with-gl \
--with-pam \
--build=$ARCH-slackware-linux
--with-pam \
--build=$ARCH-slackware-linux
...
Start the build script:
# sh xscreensaver.SlackBuild
...
If everything goes right you have a new xscreensaver package under /tmp. Uninstall first the old xscreensaver package and install the new one:
# removepkg xscreensaver && installpkg /tmp/xscreensaver-5.11-i486-1.txz
To activate xscreensaver during the startup of fluxbox add the xscreensaver command to your personal .xsession file:
$ vi ~/.xsession
setxkbmap -model pc104 -layout deexec /usr/bin/xscreensaver -no-splash &
exec startfluxbox
No comments:
Post a Comment