Archive

Posts Tagged ‘ubuntu 12.10’

Fix Flash Video is half or green or not proper problem on intel graphics card

To Fix Flash Video is showing half width or green or not proper problem on Intel on board graphics card on Ubuntu or fedora

This is due to SNA mode enabled default in video acceleration for old Intel on board graphics card. You need to enable UXA mode.

To do that You need to create a xorg.conf file as shown below.

Section “ServerLayout”
Identifier     “X.org Configured”
Screen      0  “Screen0” 0 0
InputDevice    “Mouse0” “CorePointer”
InputDevice    “Keyboard0” “CoreKeyboard”
EndSection

Section “Files”
ModulePath   “/usr/lib/xorg/modules”
FontPath     “/usr/share/fonts/X11/misc”
FontPath     “/usr/share/fonts/X11/cyrillic”
FontPath     “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath     “/usr/share/fonts/X11/75dpi/:unscaled”
FontPath     “/usr/share/fonts/X11/Type1”
FontPath     “/usr/share/fonts/X11/100dpi”
FontPath     “/usr/share/fonts/X11/75dpi”
FontPath     “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
FontPath     “built-ins”
EndSection

Section “Module”
Load  “glx”
EndSection

Section “InputDevice”
Identifier  “Keyboard0”
Driver      “kbd”
EndSection

Section “InputDevice”
Identifier  “Mouse0”
Driver      “mouse”
Option        “Protocol” “auto”
Option        “Device” “/dev/input/mice”
Option        “ZAxisMapping” “4 5 6 7”
EndSection

Section “Monitor”
Identifier   “Monitor0”
VendorName   “Monitor Vendor”
ModelName    “Monitor Model”
EndSection

Section “Device”
Identifier “Intel”
Driver “intel”
Option “AccelMethod” “UXA”
EndSection

Section “Screen”
Identifier “Screen0”
Device     “Intel”
Monitor    “Monitor0”
DefaultDepth    24
SubSection “Display”
Depth        1
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        4
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        8
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        15
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        16
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        24
Modes        “1280×1024” “1024×768”
EndSubSection
EndSection

You need edit screen modes to your current monitor.

Save the above file with following name xorg.conf in home directory. then copy to /etc/X11 folder

cp xorg.conf /etc/X11/xorg.conf

Then restart the display server or restart computer. You will able to see flash videos properly again.

Note : you need to edit file to get work display. If not working properly delete the xorg.conf from X11 folder & restart computer.

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 https://github.com/philipl/gvfs & compile. or you can to add ppa & install the files for Ubuntu.

By using command line,

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

or

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

For Ubuntu 12.04,

deb http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main
deb-src http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main

For Ubuntu 12.10,

deb http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu quantal main
deb-src http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu quantal main

For Ubuntu 13.04,

deb http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu raring main
deb-src http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu 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.

To install Libreoffice 4.0 Alpha on ubuntu 12.10 / 12.04

November 27, 2012 13 comments

You can install libre-office 4.0 alpha from per-release ppa.

It will not cleanly install yet without removing your old version of LibreOffice first.

So Steps followed are:

sudo apt-get purge libreoffice-core
sudo add-apt-repository ppa:libreoffice/libreoffice-prereleases
sudo apt-get update
sudo apt-get install libreoffice

or,

remove Libreoffice from system using software center or synaptics. then add following PPA in source Or repository list

ppa:libreoffice/libreoffice-prereleases. then Update package list & install libreoffice 4.0 alpha.

For Ubuntu 12.10

deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu quantal main 
deb-src http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu quantal main

For Ubuntu 12.04

deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu precise main 
deb-src http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu precise main

It has lots of new features and new bugs & bug fixes. So test & report new Bugs.

Note : Libreoffice 4.0 Beta2 is available for Ubuntu 13.04 in the same repository.

For Ubuntu 13.04

deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu raring main deb-src http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu raring main You can download libreoffice Impress remote for Android from play store https://play.google.com/store/apps/details?id=org.libreoffice.impressremote How to use the LibreOffice Android Remote in 4.0 https://wiki.documentfoundation.org/Development/Impress/RemoteHowTo

************

Manually Install Libreoffice 4.0 (Final)

  1. Download archive from http://www.libreoffice.org/download : http://download.documentfoundation.org/libreoffice/stable/4.0.0/deb/x86/LibreOffice_4.0.0_Linux_x86_deb.tar.gz
  2. Unpack the downloaded archiveScreenshot from 2013-02-11 11:14:12Screenshot from 2013-02-11 11:16:00
  3. Open a terminal window
  4. change directory to “DEBS” [eg: cd  /…../ DEBS]Screenshot from 2013-02-11 11:29:02
  5. execute the command : sudo dpkg -i *.debScreenshot from 2013-02-11 11:29:56
  6. Change directory to subdirectory called “desktop-integration” in terminal [ eg: cd desktop-integration]
  7. execute the command : sudo dpkg -i *.deb
  8. You can access all the LibreOffice applications in your desktop’s Applications/Office menu.

You need to uninstall any other version for desktop integration package install installation, unless you get error following error.
libreoffice-debian-menus conflict with libreoffice-bundled libreoffice-core provides libreoffice-bundled and is present and installed.

Screenshot from 2013-02-11 11:30:48