How to Play ARF file on Ubuntu 12.04-Linux

ARF i.e Advanced Recording Format is a format recorded by NBR (Network Based Recording). For Ubuntu or other Linux versions currently no player is available which can play .arf files i.e WebEx (Player used to play and convert arf and wrf formats) is not supported on Linux based system or Ubuntu 10.04. That’s why to play arf file only one option is available and that is to convert the arf format to mp4 or swf or other simple formats. So you can use a converter tool “NBR2MP4″ to generate mp4 (That we can play Using VLC player) file from arf.

NBR2MP4 is a simple tool and converter that can be used to convert arf formats to mp4 formats. You can install it from command line in few steps (It’s very simple).

Download arf converter for Ubuntu 10.04 and other Linux distros

Download nbr2mp4 from repository from or from here.

Install ARF converter on Ubuntu 10.04 or on linux

1. After downloading the nbr2mp4.tar file, extract it to any directory e.g extra_softwares. It will create a directory nbr2_mp4 and a script file nbr2mp4.sh.

2. Then Make the file nbr2mp4.sh executable by typing this command on the terminal

$ chmod +x ./nbr2mp4.sh

3. Next,Install the converter by typing the command

$ ./nbr2mp4.sh

Type the directory where you want to install the software[/home/rkjha/extra_softwares]:

Extracting files…
Installation is complete.

When it will ask “Type the directory where you want to install….” then just hit enter to install in the current directory(extra_softwares).

4. That’s All…You have installed the arf to mp4 converter successfully..

Converting ARF format to MP4: Ubuntu-Linux

Now,first go to the directory nbr_2mp4 created in extra_softwares(The Directory where you installed the nbr2mp4).next,use the following command to convert format

./nbr2mp4 SOURCE [MP4-DIRECTORY] [FPS]

Where SOURCE means the name of the arf file which you want to convert and don’t forget to specify pathname if it is in the different directory. MP4-DIRECTORY stands for the output file i.e filename .mp4, it’s name will be same as arf file except the extension of .mp4 (Use ./ to generate in the same directory as of input file). In FPS (Frame Per Second) field you can specify between 3 to 10 (Default value is 5). The quality of the mp4 file (output file) is directly proportional to the FPS.

Thanks to blog.sudobits.com

Ubuntu 12.04 sidebar auto-hide

Hi folks,

 

Some days ago I decided to update my ubuntu 11.04 to 12.04 and first thing I noticed was the change in the sidebar settings, the side-bar responsiveness was decreased and auto-hide performance became bad.  After a while googling I found a solution the Unsettings, with it is possible to change lots of settings.

For install the software you must add a repository, because the software is not in the official Ubuntu repositories.

 

sudo add-apt-repository ppa:diesch/testing

 

now, update repository list and install software:

 

sudo apt-get update && sudo apt-get install unsettings

 

With this visual tool, you can easily change the settings to your preferences

 

 

Once you chosen the settings, press the engine button to apply settings

 

Thats it folks, hope you enjoy…

 

Skype icon disappeared

Hi folks,

 

Today I will explain how did I do to show the Skype icon in the tray after it  disappeared in ubuntu 11.10 upgrade.

The problem it that when I click in the close button I can’t get the Skype window again unless I kill it in terminal and restart it.

The solution I founded here is this Ubuntu forum thread.

The problem and solution is that, some applications can be whitelisted as being allowed to put an icon there.

 

On terminal:

 

gsettings get com.canonical.Unity.Panel systray-whitelist

 

gave me: ['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service', 'Update-notifier', 'Skype']

So then skype must be added to the whitelist. So add skype like below:

 

gsettings set com.canonical.Unity.Panel systray-whitelist “['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service', 'Update-notifier', 'Skype']”

 

Now the icon should appear in the clock bar like this:

 

 

If you want skype to start at login, and sit in the tray, you need another little trick because the whitelist only works if skype is started manually after login. Add this to the startup list:

gnome-panel –replace

 

And it all works perfectly, hope it works for you too.

 

Bye

Using SSH for access a webpage with a different IP

Hi folks,

 

Today I had the a problem for downloading a article from a academic magazine. Usually this websites uses your IP to allow/deny the restrict area use, the problem is that I am at home and don’t want to go to work just to download it.

 

You can discover the IP that you are using here

 

Here is my IP WITHOUT proxy:

 

 

The solution:

Use the SSH for access the webpage with my Work’s IP

 

How to do it?

On terminal:

ssh -p <ssh_port> -D <port_to_proxy_on_localhost> <user>@<ip_to_use>

Here is a axample:

ssh -p 22 -D 8080 my_user@143.107.223.XXX

 

On browser (firefox) go to (you can also do it in chrome or by Ubuntu proxy settings):
Edit -> Preferences -> Advanced -> Network -> Settings


and than setup “Manual Proxy Configuration” and set SOCKS HOST like 127.0.0.1 and PORT like the port you choosed (in this this case 8080), then click OK


 

Here is my IP WITH proxy

Now you can surf in the web using the Work’s IP and get the same permissions from websites as if you where there.

That’s it folks. Hope you enjoy

Bye

How To: Fix “Failed to download repository information Check your Internet connection.”

Hi folks,

 

Some days ago I had a problem with my ubuntu update manager, it was displaying a error message and the update manager was not working.

 

 

So I googled it and find the solution here.

 

Run in the terminal to search the broken repository

sudo apt-get update

 

The broken repository should appear like this

 

 

Now just go to System > Administrator > Update Manager, click on button on the windows bottom Configuration, Click the Other Software tab.

Find the repositories which caused the failure on the update and uncheck them and then close the Software Centre.

 

Run, once again and should work:

sudo apt-get update

 

 

Thats it folks

 

Como instalar Latex no VIM

Olá pessoal

Alguns dias atrás eu tive que instalar o Latex para escrever minha tese, é bastante simples, basta instalar os seguintes pacotes:

sudo apt-get install tex-common texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-latex-base texlive-latex-extra abntex


O editor que texto que eu utilizo é o VIM e para uma referência biliográfica organizada recomendo o Texmed.

É isso pessoal

Abraços

Inkscape arrowhead color (Bug)

Hi folks,

 

Some days ago I fought against my Inkscape because I did not want black arrow, the problem is that once you paint the arrow, the arrowhead remains black like this:

 

 

This is a know inkscape bug, however I lost some hours seeking for a answer.

 

The solution:

- Use an extension to circumvent the problem

 

How to do it:

  1. Paint the arrow the color you want
  2. Click (for selection) in the arrow you want, then
  3. Apply the extension

 

 

So you will get the arrow the colour you want

 

Thats it folks

Bye

How to create Favicons

HI folks,

 

Today I had to create a favicon to use in a website that I was developing. The problem was that any of the tutorial that I was using was not really good, so I have founded a simple solution by my own.

In two simple steps:

 

1) Use the Inkscape to make the draw:

  • Use a 16 X 16 pixels a template (A good hint is to use a transparent background)
  • Export and save it as .png

Remember that favicon as very small and you will need a very simple and informative image.

 

2) Use the imagemagick to convert .png in .ico

 

If you need to install the program (probably you already have it installed if you use Ubuntu)

sudo apt-get install imagemagick

 

To run the convertion, just use:

convert <image_name>.png <icon_name>.ico

 

SSH Tunneling

Hi Folks,

From now on I will need to use the SSH by tunneling to connect from my Home machine (Client) to my Office machine (Server) through a SSH Gateway because my Office machine is not directly connected to the Internet anymore, it seems a little bit complicated but I will try to simplify the things.

First of all the scheme to guide those who still may not have understood:

To access/connect the server I want, I can do by 2 ways:

    1. Connect to the SSH Gateway and then, connect to the desired server, it is the simplest solution but become quite costly and annoying when you need the SSH or SCP often, especially the SCP because you must copy to a tmp directory of the SSH Gateway all the files you want and then copy to desired server.

 

    1. Open a port in the client machine that connects to the desired server directly by tunneling, may seem more complicated but worth it. I will show how to do it bellow.

 

How to open the tunnel:

ssh -p <SSH_port_in_SSH_gateway> -fN -L <Port_to_use_in_client_machine>:<Server_IP>:<SSH_port_in_Server> <user>@<SSH_Gateway_IP>

 

example:

ssh -p 22 -fN -L 6666:199.199.199.199:22 my_user@200.200.200.200

 

How to use the tunnel – SSH:

ssh -p <Port_to_openned_in_client_machine> <user>@localhost

 

example:

ssh -p 6666 my_user@localhost

 

How to use the tunnel – SCP:

scp -P <Port_openned_in_client> <user>@localhost:<file_to_be_coppied_in_server> <file_destination_in_client>

 

example 1 (copy from server):

scp -P 6666 my_user@localhost:/home/my_user/Desktop/foo /home/my_user/Desktop/

 

example 2 (copy to server):

scp -P 6666 /home/my_user/Desktop/foo my_user@localhost:/home/my_user/Desktop/

 

That’s it folks

Bye

NOTE:
Thanks to my friend Marcelo Gomes, who gave me the tips: Marcelo’s Blog (Blog in portugueses).