Skip to main content

Posts

Showing posts with the label ubuntu

How to fix no permission error for android devices on Ubuntu 14.04

On Ubuntu 14.04 , adb devices command may return List of devices attached ???????????? no permissions This is because current user doesn't have permission to detect the device. This may be solved in two ways. One is starting adb as root after killling all adb processes. Because root user has permissions for all vendors, almost any android device is detected. But second solution is more handy.

Change Default Editor in Debian

My favourite editor is vim in Linux. I am very comfortable with it. But when I need to do some come some configuration(e.g. crontab -e ), operating system opens it with default editor which is generally nano . This is annoying to me. Therefore, I generally change default editor with the following very simple step to vim :