<div dir="ltr">This is a small HowTo,  I've first made for myself, but, I think, could be useful for others too. Specialy those willing to have a windowing envirnoment.<br>Please note that this howto is minimalist.<br>
 <br>Summary: This small howto will explain how to install Xfce4, firefox, ... with the help of Dports. <br>Within less than 1 hour you will be able to surf internet and even watch <a href="http://youtube.com">youtube.com</a> (via html5), play videos, ... with your prefered OS<br>
<br>Hypothesis:<br>You must have a DragonFlyBSD 3.4 (as on April 2013).<br>We will use the Dports features to perform it (no pkgsrc here).<br>We will not use hald<br><br>1. DragonFlyBsd Installation:<br>Here, just perform a standard installation: <a href="http://www.dragonflybsd.org/docs/newhandbook/Installation/">http://www.dragonflybsd.org/docs/newhandbook/Installation/</a><br>
<br>In short, what I like to do is:<br>1 Burn DragonFlyBSD-3.4.1 on a CD or DVD. <br>2 Prepare a primary slice for DragonFly on one of your disk<br>3 Boot from the CD or DVD and select the correct keyboard in "Live CD utilities"<br>
  Select the correct disk and slice, format it and install DragonFly on it<br>4 Personnally, I skip the MBR installation since I have already one.<br>5 Configure your installation: set root passwd, set hostname, set keyboard, set network interface with dhcp, set timezone<br>
6 Reboot<br>7 create your userid: <i>adduser</i> and put it in "wheel" and "operator" groups.<br><br>2. Start Dports<br>- <i>mv /usr/pkg /usr/pkg_old</i> (despite not recommended by John Marino)<br>- create or edit /usr/local/etc/pkg.conf with your preferred mirrors (cfr <a href="http://www.dragonflybsd.org/docs/howtos/HowToDPorts/">http://www.dragonflybsd.org/docs/howtos/HowToDPorts/</a>)<br>
- <i>pkg update</i><br><br>3. Software Installation:<br>- <i>pkg install xorg</i><br>- <i>X -configure</i><br>- <i>cp /root/xorg.conf.new /etc/X11/xorg.conf</i><br>- customize /etc/X11/xorg.conf:<br>   in section "InputDevice", add:<br>
      Option      "XkbLayout" "be" #depends on the keyboard layout<br>   in section "Files", add:<br>      FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"<br>   in section "Modukles", add:<br>
      Load  "freetype"<br>- <i>pkg install xfce</i><br>- <i>pkg install midori</i> #a very good browser<br>- add snd_hda_load="YES" in /boot/loader.conf   #to activate the sound<br>- <i>pkg install smplayer</i> #very good video player<br>
- <i>pkg install firefox-20.0,1</i> (name it fully because just putting "firefox" create conflict with firefox-17)<br>#with firefox you'll be able to play HTML5 youtube videos<br><br>4. Customisations<br><br>
4.1 To havethe Xfce4 shutdown and reboot buttons<br>- <i>pkg install sudo</i><br>- <i>visudo</i> and append: "%wheel ALL = NOPASSWD:/usr/local/lib/xfce4/session/xfsm-shutdown-helper"<br>- log out/login<br><br>4.2 For automatic lauch of xfce4<br>
- <i>pkg install zsh</i> #since I'm using zsh as main shell for my user:<br>- login with your userid<br>- <i>chsh</i> and put /usr/local/bin/zsh as Shell<br>- create or add in ~.zprofile:<br>[[ -z $DISPLAY && $TTY = "/dev/ttyv0" ]] && exec startxfce4<br>
- logout/login in the 1st terminal window, Xfce4 will start immediately<br><div><br></div><div><br></div><div><br></div><div style>Have fun</div><div style>William</div><div><br></div></div>