Table of Contents

A step-by-step practical guide to installing & configuring your X Windows System / X.Org server / X11 / X on FreeBSD 6.2, by Sebastiaan Giebels [sgie bels_freebsdATpc probleemloos.nl].

This section of My FreeBSD Installation and Configuration Guide by Sebastiaan Giebels will show you how to setup the graphical user environment called 'X' or 'X Windows System', together with a few common applications like an e-mail client (thunderbird), a browser (firefox), an instant messaging client (pidgin), an office suite (OpenOffice.org), a remote desktop applcation (TightVNC), and some other applications. I'll also show you how to install NVidia drivers, which you will need if you want to play some 3D games.

This will probably always be 'Work in progress', but I think it's pretty usable in its current state. I would welcome any comments or corrections. By continuing reading you agree to the disclaimer.

Commercial FreeBSD support NEW!
We can help you with many of your configuration and installation problems, by phone, chat, or e-mail from our office in Eindhoven, the Netherlands/Nederland. Contact [freebsd_live_supportATpc probleemloos.nl] to find out how we can help you with your BSD issues & ask for our hourly rates. Languages spoken: dutch, english, german.

X-Windows (X.Org server)

X-Windows is not required if you want to use your FreeBSD pc just for server tasks, and I suggest that you install X-Windows only if you want to use your FreeBSD machine as a workstation too. I do.

If xorg version 6.9 is already installed, read /usr/ports/UPDATING to see how to upgrade to xorg 7.2. <TODO>

Installation (make sure your ports tree is up-to-date before running this):

cd /usr/ports/x11/xorg
make
make install

This will make xorg7.2 from source, which might take a lot of time and diskspace.

If everything goes well, continue with the configuration of the X-Windows server:

xorgconfig

You will be asked lots of questions, about your keyboard, mouse, monitor capabilities & specifications:

  1. This program will create a basic xorg.conf file, … Press enter to continue, or ctrl-c to abort. (press enter)
  2. First specify a mouse protocol type. Choose one from the following list: 1. Auto [Auto detect]
  3. Do you want to enable Emulate3Buttons? y
  4. Now give the full device name that the mouse is connected to, … (press enter, which will use the default value '/dev/sysmouse')
  5. Enter a number to choose the keyboard. Press enter for the next page (I entered option 1, choose for yourself what is best)
  6. Enter a number to choose the country. Press enter for the next page (I entered option 1 (US keyboard layout, keyboards in the Netherlands have US-layout), choose for yourself what is best)
  7. Please enter a variant name for 'nl' layout. Or just press enter for default variant (press enter)
  8. Do you want to select additional XKB options? n
  9. Now we want to set the specifications of the monitor. … (I entered option 7 (31.5 - 57.0; High Frequency SVGA, 1024x768 @ 70 Hz), check your monitor manual for the correct values)
  10. You must indicate the vertical sync range of your monitor. … (I just pressed enter, choose for yourself what is best)
  11. Enter an identifier for your monitor definition: (enter your monitor brand/model)
  12. Now we must configure video card specific settings. … Do you want to look at the card database? y
  13. Enter a number to choose the corresponding card definition. (I entered option 349,NVIDIA GeForce;driver=nv, you should carefully choose your own video card type)
  14. How much video memory do you have on your video card: (I entered option 8, 32768K)
  15. For each depth, a list of modes (resolutions) is defined. … 4 The modes are OK, continue. If your monitor doesn't support the modes listed, remove those (and keep 1024x768, or if that doesn't work 800x600)
  16. Please specify which color depth you want to use by default: 5 24 bits (16 million colors)
  17. Shall I write it to /etc/X11/xorg.conf? y

You can try to run X-windows with the following command:

startx

You can exit X-windows by pressing CTRL-ALT-BackSpace

I noticed my machine is not running as fast as my friends, I tried installing more RAM (I went from 512MB to 1GB) and now all applications are running noticably faster (Firefox and Mozilla Thunderbird feel more than twice as fast). Nice!

Keyboard layout

International keyboard input in X-windows / X.org

The normal keyboard layout I've selected is fine in most cases, but sometimes it's easier to have an international layout, which makes it easier to use the Euro-symbol, and other

nano /etc/X11/xorg.conf

In the "InputDevice" section for the keyboard, change the line 'XkbLayout'. My keyboard section looks as follows:

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us(alt-intl)"
    Option "XkbOptions" "compose:rwin"
EndSection

Some of the combinations you can use now:

CharacterKey combination
&egrave; ` e
&ecirc;Shift-6 e
&eacute;" e
&euml;Shift-" e
&ccedil;Right-Alt-, then "c"
&euro;Right-Alt-5

Instead of 'e', you can use a,i,o,u,y, each lower or uppercase, etc. There are many more combinations, many of them are similar to the windows international keyboard layout. A website listing/showing some of them (without key combinations): http://www.starr.net/is/type/htmlcodes.html

Gnome

If you have chosen to install X-Windows, it's now time to install a desktop manager. The most popular choices are Gnome and KDE. I'll document both of them here.

Installing Gnome:

pkg_add -r gnome-session

To start the Gnome desktop manager together with X-windows,

su <freebsd_username>
cd ~
nano .xsession

Insert the following command just before the last line: gnome-session

KDE

Installation:

pkg_add -r kde

To start the KDE desktop environment together with X-windows (you won't need to do this if you have done this step with the Gnome installation):

su <freebsd_username>
cd ~
nano .xsession

Insert the following command just before the last line:

startkde

TightVNC / VNC

Remote control your X session, comparable with Windows Remote Desktop Connection, PC Anywhere, etc. This also works cross-platform: I can control my FreeBSD from Windows, and vice versa. Windows installation files are available at the URL.

URL: http://www.tightvnc.org URL: http://www.freebsddiary.org/tightvnc.php

Installation of client and server:

cd /usr/ports/net/tightvnc
make
make install
cd /usr/ports/net/x11vnc
make
make install

Setup a password to use with VNC:

su <my_freebsd_username>
cd ~<my_freebsd_username>
vncpasswd

Enter the password to use for vnc access. I chose not to enter a view-only password.

To configure the VNC server to automatically start when you run X-Windows, edit /home/<my_freebsd_username>/.xinitrc, and add the following line just in front of the window manager (I use 'gnome-session') startup command: x11vnc -rfbauth ~/.vnc/passwd -forever -shared & The option '-forever' means it keeps on listening (won't close) after a client has disconnected, and '-shared' means that multiple viewers can simultaneously connect to this server.

Sometimes other people ask me to help them over the phone, I instruct them to install TightVNC, and then they can 'invite' me to look at their computer (they start the server, right click the 'V' icon, select 'Add new client' and enter the ip address or hostname to my FreeBSD machine. On my FreeBSD machine I have a vnc viewer in listening mode, on TCP port 5500 with very low quality settings (so it works fast even on slow network links). To have this vncviewer automatically run on X startup, edit /home/<my_freebsd_username>/.xinitrc, and add the next line just in front of the window manager startup command ('gnome-session', in my case): vncviewer -bgr233 -compresslevel 9 -quality 0 -listen 0 &

To install from a package instead of building it from source, use 'pkg_add -r tightvnc'

URL (german): http://wiki.unixboard.de/index.php/FreeBSD_-_Remote_Desktop http://www.skullbox.net/vncserver.php http://www.realvnc.com/pipermail/vnc-list/2000-April/013787.html

I've got 2 PC's on my workplace. PC number 1 is running WindowsXP, and has 2 LCD monitors attached to it. To the left of those two monitors, there is an old 15" CRT, which is connected to my FreeBSD machine. I want to control the FreeBSD server from the keyboard of my Windows machine, …

1. upon boot, TightVNC server is started automatically, which starts a new (but detached) X-Server (without requiring the user to login). This session also starts Mozilla Firefox, Mozilla Thunderbird, and Gaim Pidgin (instant messaging with ICQ, MSN, AIM, Jabber etc.) 2. The freebsd user <freebsd_username> is automatically logged into the system on ttyv0 (the first text console) 3. After the user has been automatically logged in, it waits a moment (for vncserver to finish loading X-windows), and then starts a second X-Server session 4. this 2nd session has no window manager, and will only launch vncviewer to connect to the first X-Server-session, in shared mode. (shared mode means that more than one vncviewer can connect at the same time)

The 1st X-windows session (where everything happens) will also start the Synergy client, which allows me to control the monitor with the X-windows. URL: http://synergy2.sourceforge.net/autostart.html

http://www.mail-archive.com/freesbie@gufi.org/msg00671.html

Recently, my VNC server crashed (does this have anything to do with my dual monitor configuratio?): caught X11 error: 19/10/2007 23:12:11 deleted 1 tile_row polling images. X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x2c143b5 Serial number of failed request: 1686019 Current serial number in output stream: 1686021   [1]+ Exit 1 x11vnc -rfbauth ~/.vnc/passwd -forever -shared

VNCviewer in listening mode

To have a vncviewer listening (so other people can allow you to look with them on their screen), use vncviewer in listening mode. When someone has installed TightVNC (Windows version available), and wants you to look at their screen, they can rightclick on their VNC Server icon (when it's running), select 'Add new client' and enter the IP address of your FreeBSD machine.

To run vnc viewer in listening mode:

vncviewer -listen -bgr233 -compresslevel 9 -quality 0

You can put this in ~/.xinitrc so it will automatically start when X is started, but remember to add a '&' sign at the end of the line, or else your window manager won't load..

To have a windows TightVNC viewer listening: "C:\Program Files\TightVNC\vncviewer.exe" /8bit /shared /listen /compresslevel 9 /quality 0 You can make a shortcut to it, and place the shortcut in your 'Start → Programs → Run' folder.

When I started vncserver without having installed the package 'x11vnc', I got the error message: Xalloc error: Tail corrupt in Xfree() for small block After running 'pkg_add -r x11vnc' it worked fine.

There is another thing, called clipboard transfers, which allow you to 'copy' a piece of text (no graphics or other stuff) on one machine or VNC session, and 'paste' it into a different machine or VNC session I've read some things, because it didn't work with my TightVNC server and client, until I started xclipboard on the vnc server. I've added 'xclipboard &' (&?) to my .xinitrc, and now copy/paste between VNC sessions works just as I'd hoped it would.

Synergy

URL: http://synergy2.sourceforge.net/

I've discovered an application that runs on many operating systems (windows included) which allow me to control the mouse & keyboard of my FreeBSD machine (running X-windows) from another pc (I'm using a WindowsXP machine).
It's not like VNC, where your display becomes the display of the vnc-server you're controlling/viewing, it just allows you to use the same mouse&keyboard for controlling 2 pc's. When I move my mouse to the left edge of my windows desktop, and just a bit more to the left, the mouse cursor appears on the monitor connected to my FreeBSD X-windows machine. When I move my mouse to the right again, the mouse cursor disappears from my FreeBSD-monitor, and re-appears on my Windows desktop again.

Nice!

Let's install it:

pkg_add -r synergy

Configuration (I want to control my FreeBSD server from my WindowsXP desktop pc which has got the keyboard&mouse attached to it, and will have to make FreeBSD the client, and WindowsXP the server). On the FreeBSD machine:

nano /home/freebsd/synergy.conf

find out the computer name of the windows Xp machine (how?) If this Windows machine does not have a FQDN, add this name to the hosts file on the unix machine with the correct ip address section: screens freebsd62.example.org: winxp: end   section: links freebsd62.example.org: right = winxp winxp: left = freebsd62.example.org end 'winxp' is the hostname of my windows machine (dns resolvable 'winxp.example.org'), 'freebsd62.example.org' the hostname of my FreeBSD machine running X-Windows.

Start the client (the client is the machine whose mouse & keyboard actions are controlled from the other pc):

synergyc winxp

(Again, 'winxp' is the hostname of my windows machine)

On my Windows-XP machine, I start the server with the following configuration: After installing Synergy, click on the desktop icon to start it, select 'Advanced', and change the 'Screen Name' to 'winxp', and click OK. Select 'Share this computer's keyboard and mouyse (server)' Click on 'Screens & Links: Configure' Click on the '+' sign under 'Screens:', Screen Name: enter "freebsd62.example.org" and press OK Again, click on the '+' sign under 'Screens:', Screen Name: enter "winxp" and press OK

Now click on '[New Link]' and enter: 0 to 100% of the right of freebsd62.example.org goes to 0 to 100% of winxp and, after clicking on the '+' sign: 0 to 100% of the left of winxp goes to 0 to 100% of freebsd62.example.org

Select OK, Click on 'Start'. If everything went allright, the Synergy icon in the system tray should display a yellow lightning-strike symbol, indicating you are connected.

You can use TightVNC and Synergy simultaneous. You could overdo it in combining all those, but sometimes it is the only way, like Casper Gielen described in his blog, combining RDesktop/RDP, an SSH-tunnel+X, Citrix and VNC]. It's great to see what you can archieve with all those tools in the unix-world.

nVidia driver for X

NVidia drivers for my old GeForce 2 and GF4 AGP cards.

Find out which driver you'll need, by checking which card is installed: Get the correct PCI-id. As root, enter:

scanpci

Find the line with the word nVidia in it (make sure it's your video card and not something else). In my case, I'll get: pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x0111 nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]

Check which version of the Nvidia drivers you need on the NVidia website (they regularly put more and more 'old' models in the 'legacy driver' section) I found it in: http://us.download.nvidia.com/freebsd/100.14.11/README/appendix-e.html in the section "The 1.0-96xx driver supports the following set of GPUs:" So I'll install the 96xx driver:

cd /usr/ports/x11/nvidia-driver-96xx
make

[X] FREEBSD_AGP Use FreeBSD AGP GART driver [ ] VM86_INT10CALL Use VM86 interface for video BIOS calls [X] ACPI Enable support for ACPI Power Management [X] LINUX Build with support for Linux compatibility

(the version going to be installed is 9639) If all went well:

make install

Next, add the next line to the file /boot/loader.conf to have the nvidia kernel module loaded upon next boot: nvidia_load="YES"

Check to make sure the kernel module agp.ko is loaded (wether built into the kernel, or as a module). It will tell you if it is already loaded:

kldload agp

kldload: can't load agp: File exists

kldload nvidia
kldstat |grep nv

5 1 0xc90af000 490000 nvidia.ko Ok, nvidia kernel module is loaded too.

There is a tool which will configure xorg.conf for you. Installation:

cd /usr/ports/x11/nvidia-xconfig
make
make install
nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf". Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup' New X configuration file written to '/etc/X11/xorg.conf' I could spot the biggest changes/additions here: Load "glx" (in the "Module" section) Driver "nvidia" (in the "Device" section of the existing graphics card definition) Option "NvAGP" (in the "Screen" section)

Restart X, or if you're not running X, enter:

startx

When you see the NVIDIA logo flash for a second when you've installed the driver, as a sign to confirms that the nVidia kernel driver is installed correctly.

Install some OpenGL applications to run some 3D tests:

portinstall -PP mesa-demos

(http://www.opengl.org/resources/code/samples/glut_examples/mesademos/mesademos.html) Testing it (from within an X session/console), any app from mesa-demos will do:

gears

You should see an animation of three rotating gears. If this works, you have successfully installed the nVidia driver.

Upon next reboot, you'll see something like this text as soon as the nvidia kernel driver is loaded: nvidia0: <GeForce2 MX/MX 400> mem 0xf2000000-0xf2ffffff,0xe0000000-0xe7ffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED]

If you get the error: GLUT: Fatal Error in gears: OpenGL GLX extension not supported by display: :0.0 Then there's still an error in your xorg.conf configuration.

In /var/log/messages (or with 'dmesg') you might encounter the following lines: NVRM: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please NVRM: visit http://www.nvidia.com/object/unix.html for more NVRM: information. The 100.14.11 NVIDIA driver will ignore NVRM: this GPU. Continuing probe... This means you've installed the wrong driver. Get & install the correct driver.

If you see the next error (in /var/log/messages), remove & try to reinstall the driver: NVRM: API mismatch: the client has the version 1.0-9755, but NVRM: this kernel module has the version 1.0-9639. Please NVRM: make sure that this kernel module and all NVIDIA driver NVRM: components have the same version.

To unload/reload the nvidia kernel module:

kldunload nvidia
kldload nvidia

Check with 'dmesg' for any error messages.

/*

mesa=software accelleration

</html> agp.ko device agp linux_enable="YES" hint.agp.0.disabled="1" http://us.download.nvidia.com/freebsd/100.14.11/README/chapter-09.html http://www.google.nl/search?hl=nl&client=firefox-a&rls=org.mozilla%3Anl%3Aofficial&hs=12s&q=ln+x11r6+xorg+modules&btnG=Zoeken&meta= http://www.nvnews.net/vbulletin/showthread.php?p=907956 */

NVIDIA power management

To save power (and thus money), I enabled DPMS / power save on my monitors.

Test if your monitor supports dpms:

/usr/local/bin/xset dpms force off

Configure X to enable DPMS:

nano /etc/X11/xorg.conf

Look in the sections for the line: Driver "nvidia" Add, just below this line: Option "DPMS" "TRUE"

Put the following line in '<freebsd_username>/.xinitrc', to load the gnome power manager on startup, just above the line where you start your window manager: gnome-power-manager

Restart X to test. Note: Some applications (e.g. xawtv) disable the screen saver / power saver features.

If it doesn't work, try adding this line to .xinitrc, just before starting the window manager (300=wait 5 minutes before activating screensaver): /usr/local/bin/xset s 300 /usr/local/bin/xset +dpms /usr/local/bin/xset dpms 200 200 200

Default Browser

Set Mozilla Firefox as your default browser in KDE:

In Gnome, you can do the same: Go to System → Preferences → Preferred Applications and select your browser and e-mail client. firefox -remote "openurl(%s,new-tab)" thunderbird %s

http://www.nvnews.net/vbulletin/showthread.php?p=907956

Browsing flash-enabled websites

Macromedia flash is not supported under FreeBSD, but you can use the linux version of the Opera browser together with the linux port of the flash plugin to view flash (with sound)

Installation:

portinstall -P linux-opera
portinstall -P www/linux-flashplugin7

Test it:

linux-opera

You can visit any site which uses Macromedia Flash video to test it, like http://www.youtube.com

Firefox & Flash

I've experimented with this and I've decided it was too unstable to use. I'll use linux-opera instead.

http://www.freebsd.org/doc/nl/books/handbook/desktop-browsers.html http://freebsdgirl.com/2007/08/freebsd_firefox_flash_revisite_1.html

An other method for viewing Flash:

http://www.riondabsd.net/2007/05/23/flash-on-freebsd-using-gnash/

http://www.freebsdwiki.net/index.php/Flash

last.fm application with internet radio / AudioScrobbler

URL Last.fm: http://last.fm

Last.FM is a service that collects information on the music you're listening to create a personal music profile for you. Your music taste is matched with the music other people hear, and it gives you suggestions on musical artists you might appreciate too, based upon what you listen to. It also comes with a 'personalised radio' applcation, so you can listen to your 'kind' of music. It learns what you like by listening what you play. It runs on X, and, unfortunately, when you've started it, you'll see the process 'Xorg' using much more processor power.. is this a bug?

Installation:

cd /usr/ports/audio/last.fm
make install

Running it:

last.fm

Login with your last.fm username&pasword. Radio works, which is great. !- FIXME still to do: add shortcut: "download directly this mp3 with mldonkey from last.fm" -!

Pidgin

cd /usr/ports/net-im/pidgin
make
make install

OpenOffice.org

URL: http://www.openoffice.org/ OpenOffice Writer, Calc, etc. All very similar to the products from the Microsoft Office suite (Word, Excel,..) The same software also runs on windows, see URL. And don't forget to look for your native language version.

To build OOo from sources or the ports tree, you should have a lot of free diskspace (~ 35GB) and memory (~ 2GB). A lot of time too, so I'm not going to install OpenOffice from source, but I'll install the precompiled FreeBSD OpenOffice.org packages: URL: http://porting.openoffice.org/freebsd/

portinstall -PP editors/openoffice.org-2

(there are a few other older versions available, I prefer this stable 2.x one)

TV Card (bt878 based)

URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tvcard.html http://linux.die.net/man/1/xawtv http://justlinux.com/forum/showthread.php?t=111054

Load the Booktree FreeBSD kernel module:

kldload bktr

See if it's loaded:

kldstart | grep bktr

Install a tv viewing application:

cd /usr/ports/multimedia/xawtv
make
make install

/* kernel: device bktr device iicbus device iicbb device smbus make config, depend, .. install, reboot */

Download the .xawtv configuration here TODO Edit your .xawtv configuration file

There seems to be a problem with my AMD 64 bit processor, my NVIDIA card and the drivers for it, AGP drivers, X-windows etc. This means I can not use overlay mode, and all the video goes trough my processor before appearing on the screen. Also, I have to start xawtv with the '-noxv' parameter to get things working.

xawtv -noxv

Configure FreeBSD to load the bktr driver upon boot:

nano /boot/loader.conf

Add:

  bktr_load="YES"

You can remotely control xawtv with xawtv-remote from the console, I have shortcuts for changing to the next or previous channel:

alias x-="xawtv-remote setstation prev"
alias x+="xawtv-remote setstation next"

Now I just have to enter 'x-' or 'x+' in a shell to change channels.

There are some other tv viewing applications, like mplayer and zapping

If mplayer is installed, you can run it this way to watch tv:

mplayer -tv driver=bsdbt848:norm=paln:chanlist=europe-west:input=1 tv://

URL: http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html

FTD4Linux

Warning: Dutch only! FTD is a Dutch community driven messageboard/database, where people can post links to files in (binary)newsgroups for others to download. This version, FTD for Linux, will also run on Mac, *BSD (that means FreeBSD, OpenBSD, DragonFly BSD, …): Official URL: http://www.ftd4linux.nl/

Installation (check at the website if there's a new version first):

cd /usr/src
wget http://www.icheb.nl/mirrors/openftd/openftd-0.98.6.tar.bz2 (of een andere tool om de tbz2 file te downloaden)
tar -jxf openftd-0.98.6.tar.bz2
cd openftd-0.98.6
./configure --with-libcurl-libraries=/usr/local/lib --with-pcre_libraries=/usr/local/lib
gmake

It terminates with an error: ftd_http_curl.c: In function `ftd_http_curl_execute': ftd_http_curl.c:291: error: `OS' undeclared (first use in this function) ftd_http_curl.c:291: error: (Each undeclared identifier is reported only once ftd_http_curl.c:291: error: for each function it appears in.) ftd_http_curl.c:295: error: syntax error before "OS" ... gmake: *** [all] Error 2

I still have to figure out what is wrong here. nano ftd_core/src/ftd_http_curl.c if (ftd_svn_get_revision()) { char *user_agent = g_strdup_printf("OpenFTD 1.0 SVN Revision %s (%s)", ftd_svn_get_revision(), OS); curl_easy_setopt(curl, CURLOPT_USERAGENT, user_agent); g_free(user_agent); } else { curl_easy_setopt(curl, CURLOPT_USERAGENT, "OpenFTD 1.0 Beta 6 (" OS ")" ); }

I changed the first 'OS' into '"freebsd62"', and replaced '" OS "' with 'freebsd62' (thus removing the "-characters too). 'OS' is probably a global variable on Linux, or there might be a ./configure parameter that I'm not aware of.

gmake

No errors. Nice.. Start it (in a terminal in a X-session):

ftd

It should popup the 'Configuratie'-wizard, where you can enter your FTD account data and change your preferences.

/*

==== todo: xhost +localhost man xauth export DISPLAY="0:0"

<FIXME> probleem: apache php module ondersteund geen pcre php5-apache2-ssl.info

pkg_delete php\*
pkg_delete apache\*

jpgraph 2.x PHP library for diagram output URL: http://www.aditus.nu/jpgraph/ example: http://enarion.net/programming/php/library/jpgraph/ Free for non-commercial use (not GPL, not BSD license)

[root@freebsd62 /usr/ports/graphics/jpgraph2]# make => jpgraph-2.1.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://web.comhem.se/jpgraph/jpgdownloads/. jpgraph-2.1.4.tar.gz 100% of 4375 kB 511 kBps ===> Extracting for jpgraph-2.1.4 => MD5 Checksum OK for jpgraph-2.1.4.tar.gz. => SHA256 Checksum OK for jpgraph-2.1.4.tar.gz. ===> Patching for jpgraph-2.1.4 ===> Configuring for jpgraph-2.1.4 [root@freebsd62 /usr/ports/graphics/jpgraph2]# make install ... ===> Registering installation for jpgraph-2.1.4   usage example: http://www.binnendijk.net/jpgraph/index.php?page=line_1

http://www.linux.com/article.pl?sid=06/03/23/191237

lsof, LiSt Open Files: http://www.opensource.apple.com/darwinsource/10.3/lsof-12/lsof/00QUICKSTART

cd /usr/ports/multimedia/vlc make WITH_SKINS=yes WITH_WXWINDOWS=yes WITHOUT_DTS=no WITH_LAME=yes WITHOUT_VORBIS=no WITHOUT_SDL=no WITH_SVG=yes WITH_XOSD=yes WITHOUT_TRANSCODE=no WITHOUT_DVD=no WITHOUT_LIVEMEDIA=no WITH_MOZILLA_PLUGIN=firefox WITH_OPENGL=yes WITH_OPTIMIZED_CFLAGS=yes WITH_DVD_DEVICE=/dev/acd0 FORCE_PKG_REGISTER=yes reinstall clean

Firefox Add-ons: Dictionaries (Dutch dictionary for correcting spelling) https://addons.mozilla.org/en-US/firefox/browse/type:3

Mozilla Flashblock plugin to block flash banners/ads: http://flashblock.mozdev.org/installation1.html

Mozilla AdBlock extension: https://addons.mozilla.org/en-US/firefox/addon/10 Adblock Plus: https://addons.mozilla.org/en-US/firefox/addon/1865

Google (and other) text-ads blocker with GreaseMonkey & Firefox: http://www.fibble.org/archives/cat_greasemonkey.html

*/

VLC VideoLan Client Media player

My favorite media player for video (for audio I use XMMS) It's compatible with a lot of media formats.

Installation:

cd /usr/ports/multimedia/vlc
make

I selected these options: FLAC, THEORA, WIN32_CODECS

make install

I had a notice about having an older version of libtheora installed, which I had to 'make deinstall' and 'make reinstall' first (/usr/ports/multimedia/libtheora).

Usage:

vlc </path/to/media_file>

gtktalog

An application for managing my cd/dvd collection. Supports my DACAL cd/dvd jukebox-alike storage devices

Mozilla Thunderbird

Plugins installed: Virtual Identity plugin, allows me to easily change the sender e-mail adress used when sending mail with Mozilla Thunderbird

Extra → Options → Composition → Forward as: in mail

Mozilla Firefox

Speed-up for Firefox (not FreeBSD specific)

URL: http://howto.helpero.com/howto/Speed-Up-Firefox_31.html Enter 'about:config' in the address bar network.http.pipelining -> true network.http.proxy.pipelining -> true network.http.pipelining.maxrequests -> 30 browser.cache.memory.capacity -> 65536   network.http.max-connections -> 48 network.http.max-connections-per-server -> 16 network.dns.disableIPv6 -> true Also, create a new value (right click, new → integer) 'nglayout.initialpaint.delay' and set it to 0

Not all changes tested for correctness / effect