Sunday, June 22, 2014

Fedora 19 internet not working - How to solve?

I got network problem when I transferred to new home. Everything was fine before. Now, my laptop running Fedora 19 detects Wi-Fi network but I was not able to access internet. The sad thing is I was able to access internet in my Windows Phone. I tried router reset but nothing gave me hand. So I decided to configure the file manually. But the solution was very simple than I imagined.

What are the possible issue

You need to know there are two type of configuration in router
  • Dynamic
  • Static
My router is dynamic configured. Don't bother about how find either your router is dynamic or static. It is not a big deal. I am going to give you two command, either of a command will do a magic for you.

Troubleshooting 1

Open your Terminal and write the following command as given in the image.


Command - sudo dhclient -v 

If the above command doesn't work switch to root user and try below one.
Command - dhclient -v

Troubleshooting 2

This is for static ip users. For this you need to know router ip address. To find that you need to check your router manual. If you follow the manual you will be able to figure out it. You can also find it using the following command.

Now use that ip in following command.
In the first command write Router Ip as I mentioned in previous image. The p9p1is name given to your ethernet card. Let it be the same as it is the default.  In my case
x=1
y=1

I am comparing with Router ip.

In the second command, replace z with 0.
x=1
z=0


Saturday, June 21, 2014

Firefox already running but is not responding - Solved

Sometimes you get error message in Firefox like Firefox is already running, but is not responding. To open new window, you must first close the existing Firefox process or restart your system. Following is the screen shot of error message.

Solution

It is clearly given in the error message like you need to end the process or restart. Restarting system is hectic task which consume lot of time. To solve the error without restarting open System Monitor.


Then you will see the following window.
 

Search for Firefox process. Click on the process as I did in the image then click End Process which you can see at the bottom.

Cause for the problem

This problem usually occurs when you close the Firefox with many tabs. Closing multiple tabs at the same time is the reason for this issue. You can avoid this by closing tab one by one. I don't know the technically reason behind it, but it happened to me every time I close active multiple tabs. This is not a frequent issue, but occurs very rarely. When I open many apps along with Firefox the chances are more for this issue. I am facing this issue only after updating Firefox to latest version.

Tuesday, June 17, 2014

Password generator app for Fedora

Password generator is a Python program. Run it using the terminal to generate password. So below is what the program do.


If you like it, you can download from this link - http://www.2shared.com/file/hzvRkOZb/passwdgen.html

Copy the link and paste in the browser to download passgen.py file.

Usage

After running this Python file in terminal you will be asked to enter how many password you want. In above picture I have given as 11. So 11 passwords were generated. It will give you alphanumeric password. If you are too intelligent to think of your own password, hats off you don't need this app at all.

How to run

Open the file location in terminal. If your file is in Downloads the use this command.

cd /home/your_home_name/Downloads
python passgen.py

What I am trying to say is open the file location in your Terminal using CD command. Then use Python <filename> to run the python file.

How to delete Windows OS from Fedora OS?

In Fedora OS, you will be able to see the Windows partition mounted in file manager. File manager is nothing but the place where you store your files. Let me show my file manager and the mounted Windows partition in file manager.



Hope you can locate Windows partition in you system running Fedora. So to remove or format Windows OS from Fedora, you can simply delete all the contents in Windows partition. However it won't be as effective as formatting. So lets try the formatting option.

Steps to format Windows OS from Fedora

Open the Disks tool from activities. To open this simply press Windows Key in your keyboard and type disks in the search bar. If you laptop doesn't have Windows Key, then move the mouse over Activities and in the search bar type disks.

Disks is the tool, using it you are going to delete Windows OS. Be careful while doing this. Because you may end up with deleting Linux partition. It means you are simply going to lose your files. In this tool you can see the partition with format NTFS. It is the windows os storage format. If you have two partitions in Windows then it will show two blocks.

In my case I know that 185 GB block is the place where my Windows OS sits. So I simply click on it and then click on gear icon. It shows several option. You can find Format option there. This format option will delete all the file (including Windows OS) in that block.

How to find in which block my Windows OS sits?

Under devices in File Manager you can see your Windows partition. Click on the first partition, check whether it contains folder named Windows and Program Files. If this folder is there, then that is partition where you have installed Windows OS.

Warnings
Deleting Windows OS means you are going to delete all the paid software installed in Windows OS. So make sure you have all those CD and product key before doing this.

Friday, June 13, 2014

Anti-virus software for Fedora

I was searching for a virus protection tool for a long time. Whenever I ask for Anti-virus tool in forum, people give lame answers like Linux won't get affected by virus. I was not happy without running an anti-virus program in my Fedora OS. I came to know about an anti-virus software ClamAV. This virus scanner software is available in Fedora repository. To download it use following command in Terminal as Root user.

yum install clamav* -y

By doing so it will install dependencies - clamav, clamav-filesystem, clamav-lib, clamav-update and clamav-data. The above package installs the back ends. If you didn't get the shortcut icon for clamav then you should manually install clamtk package for interface. To install it open Terminal and enter following command.

yum install clamtk -y

Anti-virus update configuration
You should regularly update virus definition to keep you system protected from unwanted threats. To allow this software to install update you need to edit freshclan.conf flie. Login as root user an

su
gedit /etc/freshclam.conf


Make following changes in configuration file. Insert a space between # and the text like given below.

# comment to remove the line below
# example

Now press save button, which you will find in menu bar. Close the word document.

To check for updates follow below steps. Enter below commands

su
clamtk


Go to Help meun and click on Check for Updates. It will update virus definitions.

This virus application will also check virus in e-mail.

Thursday, June 12, 2014

Music player application for Fedora

The default Fedora GNOME 3 comes with Rhythmbox music player. There are other music player for Fedora which can do tasks like ripping and editing. If you are bored with Rhythmbox music player, install any music player from the below list.

Music Players


Application Feature
Sound JuicerGNOME CD audio ripper (GStreamer)
Amarok KDE4 multimedia audio player
Banshee Multimedia player
Audacious Multimedia player
KscdMusic CD player
JuK KDE4 music player (jukebox) for managing music collections
GNOME CD Player CD player
GNOME Sound Recorder Sound recorder
XMMSCD player
Clementine Clementine music player (based on Rhythmbox)
Radio Tray The RadioTray radio streaming player, works from the panel like an applet
Xnoise The Xnoise music player uses a music track orientation
Audacity Professional multitrack audio editor
ArdourDigital Audio Workstation (DAW) and Hard Disk Recorder (HDR)
Rosegarden Audio/MIDI multitrack sequencer and score editor
FluidSynth Software synthesizer
Qtractor Audio/MIDI multitrack sequencer base on Qt toolkit

Best music player

Every music player has their own benefit. I mostly use Rhythmbox which can play almost all audio formats. Once I installed KDE4 environment, Amarok is a default music player there. It is also good which has lyrics feature. I am not able to understand some of the feature in it. Some forum users claim Banshee is best. However my favourite is Rhythmbox, it is stable at times when my PC crashes.

Sunday, June 8, 2014

Subtitle player which plays subtitle alone for Fedora

I suddenly got fond of American TV series. I was not able to understand it without subtitle. First I searched for online TV series with subtitle, no luck in finding it. Then I searched for online video player which can embed subtitle, it went failure. After slogging in internet for several hours I found that online videos can be streamed in VLC but it came up with new error. I searched for subtitle player for Fedora, I end up with an software Greenfish subtitle player.

Greenfish Subtitle Player - Not Working in Wine too

I tried Greenfish subtitle player and it is the player I was searching for. But fate played in my life, I was not able to install in Fedora even using Wine. I believed that Greenfish player can be installed using Wine. But it is not launching.

VLC online video streaming - Not working, shows some error

Many websites suggested to copy-paste the online video URL to VLC network streaming. But it came with error 'VLC is unable to open MRL'. There is no exact solution to work around this problem. They suggest me to unblock in firewall. But I have no idea about firewall in Fedora. So I just move on.

Partial Solution - Gaupol subtitle player for Fedora

I found this package is used to read, write and manipulate subtitle. Using this subtitle you can view the text in subtitle file. To be hones I am not impressed with this solution but it is the only solution. To install use following command.

yum install gaupol -y


Sunday, June 1, 2014

Beautiful theme for GNOME shell for Fedora

I just got bored using the same interface. So I planned to change the interface. I downloaded KDE desktop but it is complicated. I am not able to understand the interface. For each and every option I watched YouTube video to find out how it works. Eventually I shifted back to GNOME which is simple and handy. I came to know that themes can be installed to make my home screen look beautiful. I tried many themes and the best of all is Night Blues V2 theme.

Download Night Blues V2

Night Blues theme comes with quick controls for brightness, lock screen and power off.
To install this theme your GNOME version should be above 3.10 and above. To check your GNOME version use following command in Terminal.

gnome-shell --version

The above command will show you the GNOME version.

How to install:

For any modification you make in appearance you need two extenstions.

  • User-Theme-Extension
  • gnome-tweak-tool
To install the above two extension, open terminal and write the below two command one after the other.
  • yum install gnome-tweak-tool -y
  • yum install gnome-shell-extension* -y
 Once the installation gets completed successfully, use terminal and write gnome-tweak-tool to open it. Click on theme and then locate the download theme file. To locate the theme, use the button written as none.