Tuesday, June 30, 2015

Fixing issue with Realtek Wifi on Ubuntu 14.X - Lenovo L440

Hi,


Today I have installed Ubuntu in my machine Lenovo L440, But there was no driver found for wifi since it has latest wifi driver which supports only for Windows.


After searching in the internet I have found a solution as below.



Steps:
-------

- Type the command 'lspci' in terminal. You will see the information of wifi hardware information as below.

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter

- I have tried below links to install some unstable versions of driver software.

http://netbook-remix.archive.canonical.com/updates/pool/public/o/oem-wireless-rtl-92ce-92se-92de-8723ae-88ee-8723be-92ee-dkms/

http://netbook-remix.archive.canonical.com/updates/pool/public/o/oem-wireless-rtl8192ee-trusty-dkms/



Note: After installation, it may not work immediately. 



sources : 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1239578
http://ubuntuforums.org/showthread.php?t=1457592&page=7





How to install Graphviz in Ubuntu 14.X

Hi,

Graphviz is a tool to generate diagrams using plantuml (one of the tools depending on it).


Below are steps to install Graphviz tool in Ubuntu.


Step1) In the terminal type below command with sudo permission

sudo apt-get install graphviz
This command will automatically downloads and installs it.



If you want to take a binary copy of this setup, then run below command in terminal

sudo apt-get download graphviz
This command will download a copy of the setup (*.deb) into current directory. You can keep it as backup ;)



Source: http://askubuntu.com/questions/196230/how-do-i-install-graphviz-2-29-in-12-04

Sunday, June 7, 2015

Cat command usage

Hi,

Here I will show you how to use cat command in some of the areas to utilize from command line (CLI).

1) If you want to display the content of a file in the terminal, then use as below.

Syntax : $>cat <filename>

$> cat samplefile.text
Hello how are you

2) If you want to create a new file with some text in it.

Syntax: $> cat > new-filename

$>cat > hellofile.text
Hi hello how are you

To save the file, use Ctrl+c

3) If you want to append some text to an already existing file.

$> cat >> oldfilename.text
Hi this is last line

To save the file/ append the text, use Ctrl+c

To be continued.....

Sunday, October 13, 2013

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", with any application through command line...Resolving this error..

Gtk-WARNING Bug fixes : 


Whenever you try to run or launch any application from command line  and you got errors like below..

   I have got the below errors while launching eclipse through commnad line.

(eclipse:12749): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(eclipse:12749): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(eclipse:12749): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

It's a bug , and you can fix this bug by installing one package in any one of ubuntu versions...

That is  gtk2-engines-pixbuf Install gtk2-engines-pixbuf package..


Try this and give feedback


sources:


Monday, October 7, 2013

Some VI editor tips...

since Linux commands are case-sensitive, you have to write commands carefully.
VI Editor: 

VI editor plays very important role when you use any Linux distributions.

       Because If we need any modification of any file when we connect to any linux server / machine remotely,  This time everybody definitely go for  this VI editor, But some people go for other editor / tools  like nano..etc.

So, Learning this VI will provide us flexibility on any linux machine.


vi is legacy.  to check - just type vi in command line

so Install vim, using the command 'sudo apt-get install vim '

vim is very flexible text editor. It is very advanced.



Generally VI editor has two modes

1) command mode
2) Insert mode

- If we want to modify/customize any content of a file like delete a line, copy, search a pattern ..etc, we must enter into command mode by pressing 'Esc' button.
- Any text we want to enter to a file, we must enter into insert mode,
     If we are in command mode, press 'i' to enter to insert mode.






Below are some tips to work with VI..

$ vi + file    open file at last line
$ vi +n file  open directly at line number n
$ vi +/pattern file  open file directly at pattern

command mode commands
------------------------------------
dd         to remove a line
/pattern search forward for pattern
?pattern search backward for pattern
n           Repeat last search in same
N          Repeat last search in opposite direction

Hi All, Welcome to Linux tips....Blog

This blog is for people who are new to Linux and wanted to know some tips in the Linux Operating System..

This entire blog talks about mainly on Ubuntu OS.