Posts Tagged ‘gnome 3’

Connect/ mount Android mobile phone Internal Storage in Linux

February 6, 2013 3 comments

Connect/mount Android mobile phone Internal Storage in Linux

In linux, You can connect external storage SD card as USB mass storage of a android phone . But connecting Phone internal storage is difficult. Because it support only MTP, android 3.0 onwards.

Philip Langdale is has implemented native MTP support for gvfs. The native mtp implementation for gvfs has been merged upstream and has been released in gvfs 1.15.2. [Gvfs is the virtual filesystem layer that’s used by Gtk+ based desktop environments (GNOME 3, Unity, XFCE, etc).]

To access phone Internal Storage in android mobile phone, you need to enable following ‘gvfs mtp backend & you can effectively browse through nautilus, and can download files from and upload files to it.

For that you can download source file from & compile. or you can to add ppa & install the files for Ubuntu.

By using command line,

sudo add-apt-repository ppa:langdalepl/gvfs-mtp


Using synaptic package manger – repository or software center – software sources

For Ubuntu 12.04,

deb precise main
deb-src precise main

For Ubuntu 12.10,

deb quantal main
deb-src quantal main

For Ubuntu 13.04,

deb raring main
deb-src raring main

after adding update packages using synaptics or command line

sudo apt-get update

Now log out & login into system.  Connect your phone & access internal storage in nautilus.

Internal Storage_009

Note: MTP is the “Media Transfer Protocol”. MTP only allows you to download a complete file, or upload one – you can’t even move a file between locations on the device through MTP (you have to download it, delete it, then upload it to the new location) against a traditionally filesystem where you can do random I/O within a file (ie: open, seek, read, write, close, etc).

So Trying to just open a file will probably fail because automatically download the file and open the temporary copy may not happen in all softwares. So you need to manually copy file to your home directory.

Hide / Remove icon view /entries from Applications view in Gnome 3

Some cases you may need to edit or hide icons from applications in gome 3.

GNOME 3 uses .desktop files to populate its Applications view. These text files are in /usr/share/applications. It is not possible to edit these files from a folder view ‒ Nautilus does not treat their icons as text files. Use a terminal to display or edit .desktop file entries.

# ls /usr/share/applications
# nano /usr/share/applications/example.desktop

For system wide changes, edit files in /usr/share/applications.

For local changes, make a copy of example.desktop in your home folder.

$ cp /usr/share/applications/example.desktop ~/.local/share/applications/

Edit .desktop files to fit your wishes.

Note: Removing a .desktop file does not uninstall an application, but instead removes its desktop integration: MIME types, shortcuts, and so forth.

The following command appends one line to a .desktop file and hides its associated icon from Applications view:

$ echo “NoDisplay=true” >> example.desktop


You can use graphical program “Alacarte“, a menu editor for the GNOME desktop.

To enable touchpad tap-on-click / two finger scroll in linux for laptop users

November 29, 2011 7 comments

Touchpad setup in Linux.

You may find your touchpad to be lacking some features such as two-finger scrolling or tap-to-click not working in Linux distros like Fedora, Ubuntu, Mint Linux in some cases.

By passing a couple of options to the Xorg touchpad driver, we can enable this functionality.

Try putting the following into a file /etc/X11/xorg.conf.d/50-synaptics.conf:

Open the ” /etc/X11/xorg.conf.d/50-synaptics.conf” file in a text editor in a super user or root mode.

Section "InputClass" 
      Identifier "touchpad catchall" 
      Driver "synaptics" 
      MatchIsTouchpad "on" 
      MatchDevicePath "/dev/input/event*" 
      Option "HorizScrollDelta" "0" 
      Option "TapButton1" "1" 
      Option "TapButton2" "2" 
      Option "RBCornerButton" "3" 
      Option "VertTwoFingerScroll" "1" 

This enabled two-finger scrolling, tap-to-click, scrolling on the edges and right mouse button triggering when tapping the lower right corner of the touchpad, making laptop much less frustrating to operate.


Path of xorg.conf.d may differ in new version – /usr/share/X11/xorg.conf.d/

Screenshot from 2013-02-06 15:25:07

Open file using text editor with administrative privilege.

sudo gedit

Then open the file & add the section.

Screenshot from 2013-02-06 15:33:48