You are here

Ivan Radovanovic's blog

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

Ivan Radovanovic's picture

Interesting security related read

Can be found here - 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++ -

Ivan Radovanovic's picture

Enabling/disabling menu icons in GNOME

It can be enabled with

gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_icons true

and disabled (quite surprisingly) with:

gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_icons false

Ivan Radovanovic's picture

Creating certificate request with OpenSSL

It can be done like this

openssl req -new -newkey rsa:2048 -nodes -keyout certificate.key -out certificate.csr


Subscribe to RSS - Ivan Radovanovic's blog