Røde NT-USB microphone – great value for money

Saturday, July 1st, 2017 | Gadgets, Language, Linux, Tech-savvy | No Comments

Today I spend some MusicStore gift vouchers (thanks Rob & Tobi) buying a decent microphone. A Røde NT-USB.

Maybe for podcasting, maybe streaming, maybe recording of music.

First thing that came to my mind was reading a small story for my daughter. So I plugged in the mic – which was the first “challenge”. Sometimes “pro” audio devices only work with Mac and Windoze machines, but the Røde NT-USB just worked out of the box (Linux, Fedora 25). After that I launched Audacity, saw the rec level was a bit weak, maxed out the input using the audio settings and hit record. From my POV the result was awesome. So I just kept on reading the story, only using the Audacity compressor plug-in (default settings) afterwards. Then I added a small intro/outro acoustic guitar jingle. That’s it. No-frills recording with very nice results.

Thanks Røde, you made my day 🙂

Here is the result (a 96k cbr mono mp3 mixdown). Sorry, German only 🙂 Remember, this is a one take and I have no experience doing lectures – so don’t expect too much.

Eine Meerjungfrau im Schwimmbad (Maren von Klitzing)

Der Kater mit den goldenen Pfoten (Käthe Recheis)

Source: Märchen und Kindergeschichten

Tags: , , , , , ,

Cannot umount busy file system – who’s to blame?

Tuesday, February 4th, 2014 | Insights, Linux, Tech-savvy | No Comments

Use fuser and ps to identify what process/es is/are occupying the file system.

ps -lf -p $(fuser -c /mount/point 2>/dev/null)

This is an example that is in no way related to anything that has ever happened in the real world:

[user@host somefolder]$ sudo umount /media/somefolder
umount: /media/somefolder: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
[user@host somefolder]$ ps -lf -p $(fuser -c /media/somefolder/ 2>/dev/null)
0 S user      5058  5054  0  80   0 - 29109 wait   09:22 pts/0      0:00 bash
[user@host somefolder]$ cd ..

lol 🙂 pebcak!

Tags: , , , , , ,

Fedora 20 / Ubuntu GNOME 13.10 Post Installation Tasks

Friday, January 24th, 2014 | Linux, Tech-savvy | Comments Off on Fedora 20 / Ubuntu GNOME 13.10 Post Installation Tasks

Again, some post installation tasks. I figure Fedora is a little bit too trigger happy on kernel updates, so I went back to go for the “default” Linux, but GNOME flavoured. Unity is not my cup of tea. It did not work as well as expected, so in the end I went back to Fedora. /etc/init.d/vboxdrv setup anybody?

› Continue reading

Tags: , , ,

Automatically create genre playlists of your music collection

Sunday, March 3rd, 2013 | Linux, Tech-savvy | No Comments

This script will create playlists based on the tags of your mp3 and flac files. Prerequisites: id3v2/metaflac command line tool (sudo apt-get install id3v2 metaflac) and tagged mp3/flac files.

Note: The id3v2 command only works up to version 2.3 of the id3v2 spec (which is pretty much the default), so this script will not work on v2.4 files. It seems a lot of people still use 2.3 as 2.4 does not give a lot of advantages and 2.3 is way more compliant with mp3 playback devices. I just came across this issue because I use EasyTag for tagging and this tool writes v2.4 by default. After setting EasyTag’s prefs to v2.3 I was good to go 🙂

# set extraction command chain for each file type
EXTMP3="id3v2 -l \"_FILE\" | sed -n \"s/TCON (Content type): \(.*\) (.*)/\1/p\""
EXTFLAC="metaflac --show-tag=GENRE \"_FILE\" | sed -n \"s/GENRE=\(.*\)/\1/p\""
# delete old playlists
rm *.m3u
function createPlaylist {
  while IFS= read -r -d '' FILE; do
    echo Processing \"$FILE\"
    GENRE=`eval ${2/_FILE/$FILE}`
    if [ "$GENRE" ]
        echo "$FILE" >> "$GENRE.m3u"
    echo "$FILE" >> "All.m3u"
  done < <(find . -name "*.$1" -print0 | sort -z)
createPlaylist mp3 "$EXTMP3"
createPlaylist flac "$EXTFLAC"

Basically we loop over all files and extract the genre’s nice name using a file type specific chain of commands. If a genre is found the file name is appended to the playlist that is named like the genre itself. Additionally an “All” playlist is created that holds every file found, even the ones that have no genre set.

Tags: , , , , , , , ,

“fast” JIRA and Confluence setup on a small VPS

Sunday, January 6th, 2013 | Linux, Tech-savvy | 5 Comments

I recently stumbled upon my old “fast firewalling for developers with iptables” blog and also read the comment (yeah, one!) asking how to go on from here, maybe set up JIRA and Confluence from Atlassian really fast. So here we go. We will install JIRA and Confluence using MySQL as the database, allowing only HTTPS connections. Bear in mind that this is not an enterprise setup, it’s again targeted at individuals who want to run these tools in a non-critical private small VPS environment maybe to evaluate the tools or collaborate with a friend. This is going to be easy and straightforward, no fancy admin stuff, no over the top security, simply getting the stuff up and running.
› Continue reading

Tags: , , , , , , , , ,

Bash history at your fingertips as seen @coderwall.

Thursday, December 13th, 2012 | Linux, Tech-savvy | No Comments

The single most useful thing in bash #protip via @coderwall

Create ~/.inputrc and fill it with this:

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on

This allows you to search through your history using the up and down arrows … i.e. type “cd /” and press the up arrow and you’ll search through everything in your history that starts with “cd /”.

Props go to Jude. Thank you very much for this. Upvote done.

Tags: , , ,

Goodbye Fedora, Hello Ubuntu

Tuesday, September 11th, 2012 | Gadgets, Linux, Tech-savvy | No Comments

Fedora pretty much blew my mind until recent updates rendered the system unusable. After a kernel update VirtualBox stopped working (had to install recent header files by hand) and my FreeMind had some dependency issues I didn’t even bother to solve. I like to have a system that is as versatile as any modern Linux, yet I need a stable environment as well. So I thought fudge it, let’s give *the* “standard” Linux a try – I installed the recent Ubunutu 12.04.1 LTS and man it rocks! 🙂

    Ubuntu 12 at a glimpse:

  • Unity is a Desktop Environment that is easy and pleasant to work with.
  • The dash is pretty kewl as well. I don’t know how much I like the tight integration with pretty much everything, but it seems to be a nice concept.
  • Terminals come with a decent colour scheme – may sound petty, yet a sloppy set-up terminal is a major annoyance to me.
  • Ctrl-Alt-T – how come it never occurred to me that a terminal shortcut will make life so much easier?!
  • Ubuntu’s default font is a feast for the eyes – love it!
  • bash history size is already set to 2000 (instead of Mint’s 500) – no need to pimp this one as well
  • ls aliases already present, yet needed some personal flavour tweaking

I have to say that Ubuntu 12.04 has been the most flawless and out-of-the-box experience in quite some time. Awesome!

    Brief post-installation task as a reminder to self:

  • fix vim movement issue
  • echo set nocompatible >> ~/.vimrc

  • hide windoze hdds in nautilus @see
  • fix .local name resolution in /etc/nsswitch.conf if you are on a m$ driven network
  • hosts: dns files mdns4_minimal mdns4

  • we like to be united – my wife and me use the same usergroup and still like to have 002 umasks instead of non-username group’s umask of 022 @see for more info
    • all beloved ones shall use the same group
    • sudo usermod -g users username

    • edit /etc/login.defs s/UMASK 022/UMASK 002/
  • install Adblock Plus, Firebug
  • install VirtualBox + extension pack and add users to vboxusers group
  • sudo usermod -a -G vboxusers username

  • install Audacious
  • install TrueCrypt
  • set up ssh environment, keys and the like

I am about to get a new shiny device at work. I am looking forward to see how Ubuntu subsists in every day’s developer’s business. Stay tuned.

Tags: , , , ,

Fedora 17: post installation tasks

Monday, September 3rd, 2012 | Linux, Tech-savvy | 1 Comment

Okay, as promised, my personal Fedora 17 post-installation tasks are:

  1. Change terminal environment
  2. First thing I do is open a terminal and wonder who likes to work on a small piece of paper? This is a terminal, not a word processor. Edit -> Profiles… -> Default, 132×43 size, colour scheme: Gray on black, transparency 10%, Scrollback 5120, done.

  3. Install Adblock Plus
  4. Adblock Plus seems to me like the essential FireFox plug-in in any kind of browsing environment.

  5. Hide unwanted devices in Nautilus
  6. Get rid of windoze partitions and the like showing up in Nautilus. See my previous post on this topic.

  7. Install Fedora Utils
  8. Fedora Utils is a script that lets you install essential (proprietory/closed-source) software. Use it to get access to multi-media codecs and DVD playback or software like Google Earth and Skype. Nice! Save a lot of handiwork. There maz be better alternatives around, but as this is my first Fedora run I cannot say which one does the job best.

  9. Install TrueCrypt
  10. Nice encryption tool. Make sure you disable the requiretty option in the sudoers file for GUI support.

  11. Install Audacious
  12. My favourite Linux Winamp clone. Love it or leave it.

    sudo yum install audacious
  13. Install Nautilus Open in Terminal extension
  14. Fiddling in Nautilus and need a Terminal? Right click -> Open in Terminal. Done.

    sudo yum install nautilus-open-terminal
  15. Install VirtualBox
  16. If you installed Fedora Utils you should already have a current VirtualBox in your repositories.

    sudo yum install VirtualBox

    Download and install the extension pack for USB support.
    Make sure you are a member of the vboxusers group:

    usermod -a -G vboxusers username
  17. Install Thunderbird
  18. Fedora ships with Evolution, I prefer Thunderbird.

    sudo yum install thunderbird
  19. Install Office suite
  20. I guess Libre Office is the suite to go with.

    sudo yum install libreoffice
  21. Install Gimp
  22. What? No Gimp? That@s pretty darn “pure” too me 🙂

    sudo yum install gimp
  23. pimp Gnome
  24. I only install a bare minimum of Gnome Extensions, namely

    1. Windows Alt Tab
    2. A replacement for Alt-Tab, allows to cycle between windows and does not group by application. First I tried AlternateTab, but that gave a small preview of the window instead of the program’s icon. It can be quite tedious to search for a window’s content rather than an easily recognizable icon.

    3. Native Window Placement
    4. Arrange windows in overview in a more compact way.

    5. Remove Accessibility
    6. Remove the accesibility button from the top panel.

    7. Status Icon Fixer
    8. Fixes Dropbox, Skype, vlc and others into the status bar; not perfect, but ok
      I like this little devil a lot. I used it to fix Audaciuos status icon to appear where I want it to. Edit ~/.local/share/gnome-shell/extensions/ to suit your needs.

  25. increase terminal history size
  26. From a previous post: Remember that wicked command you entered a few weeks ago? No? Increase your history size to something that lives up to the term “history”. Open your ~/.bashrc and enter something like export HISTFILESIZE=10000

I’d like to point out one more time that Fedora 17 ships with working multi-monitor support and vi movements are working out of the box as well, no more echo set nocompatible >> ~/.vimrc needed. I also already encountered a few problems, like VirtualBox no longer working after Kernel update or FreeMind having some dependency issues at some point. I have to say that it seems bleeding edge comes with a few characteristics that render the OS not work-compliant. Maybe next time I’ll go for a plain Ubuntu LTS and hope it just works…

Tags: , , , , , , , , , , ,

Goodbye Mint, Hello Fedora

Tuesday, July 31st, 2012 | Misc | No Comments

Seems Mint 13 finally finished me. I have to say that Mint 10 was the last “flawless” version of Mint (I’ve been there since Mint 4 “Daryna”). Right now I am still using Mint 12 on my home machine, tried 13 on my business laptop – and decided that I don’t want to take part in the desktop environment wars any more. Again, the multi-monitor setup in Mint was a pain and trying to preserve the Gnome 2 / XP way of working is a huge step back IMHO. I am okay with Gnome 3 (didn’t try Unity yet) and I was looking for a “pure” unfiddled Linux experience. After checking some major distros I decided to give Fedora 17 a more serious go and I have to say I did not regret it. “Mint” Linux, no clutter, bleeding edge (wow, finally including a mulit-monitor setup that seems to work). You could argue that setting up the system takes longer, because Fedora does not ship with things like proper multimedia support or propitiatory software like Flash, VirtualBox or Skype. I think that’s pretty kewl. You should understand why mp3 playback is not available out-of-the-box and that you have to explicitly install it at your own will.

Anyway, right now I am compiling a few Fedora 17 post installation tasks that will show there’s a bit more to do (no Gnome 3 extension installed by default – very pure indeed 🙂 ), stay tuned.

Tags: , , , , ,

Treasures of the toolbox: SequoiaView / GdMap

Tuesday, February 7th, 2012 | Gadgets, Linux, Tech-savvy | No Comments

A few years ago I stumbled across a tool (SequoiaView) that graphically displays the contents of your hard drive using a so called cushion treemap. It’s a fast and easy way to get an overview of your (probably messed up) file system.

This is one of the gems I considered part of my Swiss “computer tools” army knife.

Now that I use Linux as my desktop OS I had to find an alternative to this Windows-only tool. Luckily there are quite a few similar tools available for Linux. I am pretty happy using GdMap.

So, whether you are using Windoze or Linux, try one of these cushion treemaps to get an idea how of your file system looks like from a distance. (…and get rid of these old ISO images in your temp dir 😉 )

Happy housekeeping!

Tags: , , , , ,