You are here

Blogs

Ivan Radovanovic's picture

Script to clean ports

Since make clean seems not to work properly anymore

#!/bin/sh

cd /usr/ports

for port in `find . -name work -type d | sed -E -e 's/\/work.*$//'`
do
cd /usr/ports/$port
make clean
done

Ivan Radovanovic's picture

Running Cinnamon on FreeBSD 10

If it fails to start complaining that it can't find any theme install x11-wm/metacity

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

Interesting security related read

Can be found here - BetterCrypto.org and ECRYPT II

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)

Ivan Radovanovic's picture

Manually trusting certificate in Chromium

To manually trust single certificate do
certutil -A -d sql:$HOME/.pki/nssdb -t P -n description -i cert_file

To add new trusted CA do
certutil -A -d sql:$HOME/.pki/nssdb -t CT -n description -i cert_file

Ivan Radovanovic's picture

How to type unicode character in GNOME (using its code)

Do CTRL + SHIFT + u then type its code and press enter when done.

Ivan Radovanovic's picture

Changing file associations from command line

It can be done from command line using xdg-mime - might be useful if weird programs are started
xdg-mime default nautilus.desktop inode/directory

These associations are kept in /usr/local/share/applications/mimeinfo.cache, ~/.local/share/applications/mimeinfo.cache, maybe also some other mime* file in those directories

Ivan Radovanovic's picture

Discovering include paths for clang++

It can be done using command
clang++ -v -xc++ -

Pages

Subscribe to RSS - blogs