Tag: freebsd

  • 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…

  • 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) FreeBSD 10.2 and latest ports Some manual installation is needed (follow instruction from here) – short: # pkg install linux-c6-pulseaudio-libs# cd…

  • Manually trusting certificate in Chromium

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

  • Formatting USB drive with FAT32 using FreeBSD

    Assuming your usb drive is /dev/da0 Using fdisk: Using gpart: However if you want GNOME to automount usb drive you shouldn’t follow instructions above 🙂 Instead do this:

  • Debug gstreamer plugins

    To discover which plugin is used for specific file run command similar to this:gst-launch -v filesrc location=filename_here ! decodebin ! autoaudiosinkthat should give you (among other things) output lines similar to these:…/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/x-id3/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstID3Demux:id3demux0.GstPad:sink: caps = application/x-id3Pipeline is PREROLLING …/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstFluMp3Dec:flump3dec0.GstPad:sink:…

  • If Netbeans fails to start

    Try this:env LD_PRELOAD=/usr/local/lib/libjpeg.so netbeans-7.3 (or whatever version you are using if not 7-3)