You are here

freebsd

Ivan Radovanovic's picture

MATE 1.12.1 and FreeBSD 10.3

One place to put all little tweaks to make it work better with FreeBSD.

Ivan Radovanovic's picture

Too much antialiasing when rendering fonts with new freetype2

In case there is too much antialiasing there it can be reverted to old behavior by setting environment variable FREETYPE_PROPERTIES to truetype:interpreter-version=35 (port gives suggestion of using "truetype:interpreter-version=35 cff:no-stem-darkening=1 autofitter:warping=1" but for me these extra options make no difference). More about available options can be found in freetype2 documentation (/usr/local/share/doc/freetype2/reference/ft2-toc.html section "Controlling FreeType Modules", if documentation is installed).

Ivan Radovanovic's picture

Unbound without DNSSEC on FreeBSD 10

After initial installation according to instructions in handbook, you have to edit /var/unbound/unbound.conf and to add module-config: "iterator" to server section there, so it looks similar to

server:
username: unbound
directory: /var/unbound
chroot: /var/unbound
pidfile: /var/run/local_unbound.pid
auto-trust-anchor-file: /var/unbound/root.key

Ivan Radovanovic's picture

Unzip multivolume zip file on FreeBSD

It can be done with port installed, but first multivolume zip has to be converted to single volume zip file.

First run
zip -FF path-to-multivolume-zip --out path-to-singlezip
to convert to single volume, then you can unzip that one as usual.

Ivan Radovanovic's picture

How to find out which preprocessor symbols are defined for C/C++ compiler

Run compiler with arguments -dM -E -xc++ /dev/null. (-x specifies language, so if you want to see predefined symbols for C, you should use -xc instead of -xc++).

For example:
clang -dM -E -xc++ /dev/null

or
gcc -dM -E -xc++ /dev/null

Ivan Radovanovic's picture

When USB devices don't run properly in VirtualBox guest

Since FreeBSD is not officially supported by Oracle, they don't make extension pack for it. For this reason all USB 2 and later devices will most likely fail in guest operating systems with weird errors (devices are recognized but they do not work later). Workaround for this is to force device to 1.1 within host operating system and only then to use them in guest OS. To accomplish this:
- disconnect device
- execute sysctl hw.usb.ehci.no_hs=1 as root
- connect device
- map it inside VirtualBox for guest OS to see

Ivan Radovanovic's picture

Making GNOME 3 usable under FreeBSD

As usable as it could be after their developers got infected by that brain parasite (it is funny how functionality-wise pretty much everything is done in wrong way).

Plugins needed/enabled:

Ivan Radovanovic's picture

Compiling latest versions of monodevelop on FreeBSD

Clone their repository from git (tarballs created by them fail way too often)

git clone https://github.com/mono/monodevelop.git

Ivan Radovanovic's picture

HP printer with FreeBSD

Install /usr/ports/print/hplip-plugin (in the past mirror for that one was quite unstable so it was difficult to download all files needed). After that install /usr/ports/print/cups-filters as well (have no clue why they are removed from normal cups installation but without them you might have lot of errors similar to "Returning IPP client-error-document-format-not-supported for Print-Job". Printer should be working after this.

Ivan Radovanovic's picture

If skype 4.2 doesn't work with FreeBSD

and if there are lot of messages similar to
kernel: linux: pid 64067 (skype): linux_sys_futex: op FUTEX_WAIT_REQUEUE_PI not implemented

remove port /usr/ports/audio/linux-c6-pulseaudio-libs and make sure /usr/ports/audio/linux-c6-alsa-plugins-oss is installed (last one might require tweaking /compat/linux/etc/alsa/pcm/pcm-oss.conf)

Pages

Subscribe to RSS - freebsd