I have just received my Nexus 4 and I want to plug it in to root it/copy files onto it but somehow I can't see it while I use
$sudo fastboot devices
I am using this version of fastboot on my ubuntu laptop
android-tools-fastboot 4.1.1+git20120801-1
EDIT
While the issue of rooting the device was solved (simply fastboot only sees devices while they are in bootloader) I still cannot see the device while I plug it in the system.