Bill Evans’ solo on My Romance (Take 1)

I’ve been transcribing jazz again lately. I found a pretty cool software project called “Play it slowly” that can play back audio more slowly. It’s also easy to set start and end points for it to loop, making it ideal for transcription.

Here’s my transcription of the first chorus of Bill Evans’ solo on My Romance (take 1) from Waltz for Debby (1962):

My_Romance_(Take_1)_solo

Edit: For reference, here’s a Youtube link to the audio at the start point of the solo

tmux prints out “]112” randomly

I’ve been having an issue where tmux keeps printing out “]112” to random places on my screen when logged into certain ssh servers. I’m still not entirely sure what the issue is, but I at least have a workaround now.

This post started me off on the right track. It looks like libtve has an issue where it doesn’t support OSC 112 (the reset cursor color character). I’m now working around this by using roxterm as my terminal emulator instead.

Swapping ctrl and capslock in Ubuntu

I always forget how to do this permanently, so now I’m blogging it so I’ll remember. There’s multiple ways to do it. You can change it in some Gnome setting or run “setxkbmap -option ctrl:swapcaps” in your .bashrc.

I like to edit my /etc/default/keyboard conf file

Set XKBOPTIONS="ctrl:swapcaps"

And run

sudo dpkg-reconfigure keyboard-configuration

Source: http://askubuntu.com/questions/149971/how-do-you-remap-a-key-to-the-caps-lock-key-in-xubuntu

No wireless after waking from suspend

I updated to Xubuntu 15.04 today and was having trouble connecting to wifi after waking my laptop up from suspend. It would say the card was active, but it wouldn’t find any wireless networks in the scan.

This worked for me:

Edit or create

/etc/pm/config.d/config

And put

SUSPEND_MODULES="iwlwifi"

in the file.

This will unload the wifi driver before suspend and reload it after waking.

EDIT: Upon reading this: http://www.webupd8.org/2013/01/fix-wireless-or-wired-network-not.html, it’s probably best to run

sudo lshw -C network

to see what driver your card is actually running and unload that instead.

Installing drivers in xubuntu for a radeon hd 6770

These are the steps I took to get AMD’s proprietary drivers installed for a Radeon HD 6770 in xubuntu 14.04. Disclaimer, though, I tried a bunch of things, so this might not be in order.

  1. Install fglrx: sudo apt-get install fglrx
  2. Download the AMD drivers here: http://support.amd.com/en-us/download/desktop?os=Linux+x86
  3. Unzip and run the script as root: sudo ./amd-driver-installer-14.501.1003-x86.x86_64.run
  4. Choose to build packages for Trusty Tahr.
  5. Configure xorg.conf: sudo aticonfig –initial
  6. Reboot.
  7. fglrxinfo should now report the correct drivers:display: :0.0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: AMD Radeon HD 7800 Series
    OpenGL version string: 4.3.12798 Compatibility Profile Context 13.35.1005

I got some help from this link: http://askubuntu.com/questions/558520/cannot-install-new-omega-driver-from-amd