Solve – Fedora 19 is Slow

Fedora development releases use a kernel with extra debug information. So this have a significant impact on performance. So add this line in grub to disable ‘kernel with extra debug information’.

slub_debug=0

Categories: Uncategorized Tags: ,

Shortcut key for repeat a command in Libreoffice calc

May 14, 2013 1 comment

Sometimes we need to repeat a command in libreoffice as we do microsoft ofice. Short cut key is not a assigned as default. so We need to set it.

Go to Tools -> customize

Menu_007

In customize -> switch to keyboard tab.

Customize_008

In bottom, change ‘category’ to edit & change ‘function’  to repeat. Then assign a shortcut key using ‘modify’ button in short key area as shown below.

Customize_009

 

 

Apache OpenOffice 4.0 Snapshot with sidebar

Rescue system after unistalling linux kernel

February 21, 2013 Leave a comment

mount /dev/sda7 /mnt/

mount –bind /dev /mnt/dev

mount –bind /proc /mnt/proc

mount –bind /sys /mnt/sys

mount –bind /dev/pts /mnt/dev/pts

cp /etc/resolv.conf /mnt/etc/resolv.conf

chroot /mnt/

(replace sda7 with your os partition)

Categories: Technical

To install Libreoffice 4.0 in fedora 17 / fedora 18

February 11, 2013 2 comments

To install Libreoffice 4.0 in fedora 17 / fedora 18, steps are given below

http://download.documentfoundation.org/libreoffice/stable/4.0.0/rpm/x86/LibreOffice_4.0.0_Linux_x86_rpm.tar.gz

  • Unpack the downloaded archive
  • Open a terminal window
  • Change directory to “rpms” in the terminal[ eg :cd  /path_of_extracted_content/rpms]
  • Execute the command :  su -c ‘yum install *.rpm’
  • Change to subdirectory called “desktop-integration” in the terminal[eg : cd desktop-integration]
  • Execute the command : su -c ‘yum install *freedesktop*.rpm’

You can access all the LibreOffice applications in your desktop’s Applications/Office menu.

Note: You need to uninstall any other version for desktop integration package to install.

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.

Remove apostrophe used for text formatted number in Libreoffice

January 2, 2013 2 comments

To enter the number as text, the easiest way is to enter the number starting with an apostrophe (for example, ‘00008). The apostrophe will not appear in the cell, and the number will be formatted as text.

If apostrophe is not removed, calculation operations will not be include the cell & result will be wrong. So You may need to remove apostrophe or Formatting Numbers as Text or formatting mark or special non-displaying character to do calculate with this number.

To Convert text formated cells to numbers in libre-office, follow the below steps :

  1. Choose Edit – Find & Replace
  2. In the Search for box, enter ^[0-9]
  3. In the Replace with box, enter &
  4. Check Regular expressions
  5. Click Replace All

Note: ^[0-9] regular expression means ‘other than 0-9 numericals’.