Posts

Showing posts from April, 2015

File transfer from android to linux

Android File transfer basically got two method or format which are Media device (MTP) and also for camera (PTP). However , the MTP is only suitable for windows or Mac computer, it was not compatible with the Linux. The PTP only allow you to transfer photos only but not others files. However you can let your ubuntu to support mtp by using the "mtpfs" or "jmtpfs". Below I will show step by step how to configure the MTP service in Ubuntu 14.04 LTS. First of all you need to install the mtp tools in linux, you can install by using the commands below. Open the terminal and type in the following 2 line. (ps:without the quote, and it may required you to key in your password) "sudo apt-get install libmtp-common mtp-tools libmtp-dev lilbmtp-runtime libmtp9" "sudo apt-get dist-upgrade" 2nd Step you have to edit the fuse.conf file. Fuse provide a secure method for non privileged users to create and mount their own file system implementation. =| You

Tutorial to set environment path linux

This tutorial is for Linux Distro that using bash in terminal, in my case is Ubuntu. If you just set the PATH just using the "export" command  , it wont able to set it permanently and will disappear after you close the terminal or restart computer.So follow the procedure below to set the PATH permanently. STEP: EXAMPLE SETTING JAVA Jdk-x-x-x at =usr/local/jdk-x-x-x 1) Open the terminal. 2) Type in the command "cd ~" 3) gedit .bashrc 4) Put the command "export PATH=$PATH:/usr/local/jdk-x-x-x" at the bottom of the .bashrc 5) Save it and exit gedit. 6) then type in the command "source .bashrc" You can try type java inside the terminal. restart the terminal and try. =D hope it help.