- Enable CentOSPlus by editing the file /etc/yum.repos.d/CentOS-Base.repo.
$ vim /etc/yum.repos.d/CentOS-Base.repo
Locate the CentOSPlus section ( [centosplus] ) and change enabled=0 to enabled=1. Save and exit. - Enable the EPEL (Extra Packages for Enterprise Linux) repository by issuing the command
$ yum -y install epel-release
This repository is a prerequisite for secondary repositories and contains many useful packages e.g. ntfs-3g package which enables NTFS partitions mounting and unmounting in CentOS 7. - Enable the nux-dextop repository. This repository contains multimedia and other useful packages.
$ yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
- Enable the Adobe repository to install flash-plugin by issuing the following command
$ yum -y install http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm
- You are all set now. You can install the required packages by issuing the following command
$ yum -y install "Package_Name"
Some popular package categories and packages in them are as follows:
Multimedia: smplayer, vlc, soundkonverter, simplescreenrecorder, clementine, kdenlive, audacity
Internet: hexchat, otter-browser, qbittorrent, thunderbird, wireshark
It is also possible to configure or install additional packages e.g. vivaldi (https://www.vivaldi.net) and jitsi (https://www.jitsi.org) etc. For further details, please visit the homepage of the respective package.
Sunday, December 13, 2015
How to Install Multimedia and Additional Packages on CentOS 7
How to Increase GRUB Timeout in CentOS 7
- Edit the file /etc/default/grub by issuing the following command
$ vim /etc/default/grub # Edit the GRUB_TIMEOUT field and set the new timeout
- Generate the new grub configuration file by issuing the following command
$ grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfgNote: If Windows is installed before installing CentOS, running grub2-mkcondig should detect Windows boot loader too.
Thursday, October 08, 2015
How to Install SimpleScreenRecorder in Fedora 22
$ su -c 'dnf copr enable mosquito/myrepo'Install the SimpleScreenRecorder with the following command.
$ su -c 'dnf -y install simplescreenrecorder'Enjoy using SimpleScreenRecorder. If you have got a question, please ask in the comments section.
Tuesday, October 06, 2015
Urdu Support in Windows 7 and Later
Sunday, October 04, 2015
How to Enable Urdu Language Support and Write Urdu in Fedora 22
- nafees-pakistani-web-naskh-fonts
- nafees-riqa-fonts
- nafees-web-naskh-fonts
- nafees-nastaleeq-fonts
- nafees-tehreer-naskh-fonts
- nafees-pakistani-naskh-fonts
- nafees-naskh-fonts.
$ su -c 'dnf -y install nafees-*'In order to install the Jameel Noori Nastaleeq, use the below command.
$ su -c 'rpm -ivh ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/Kenzy:/packages/Fedora_22/noarch/jameel-noori-nastaleeq-fonts-1.0-3.1.noarch.rpm'After installing the new fonts, update the font cache with the following command so that the system can become aware of new fonts.
$ su -c 'fc-cache -fv'Given below are the images showing Urdu alphabets written in Calligra Words and LibreOffice, respectively.
Sunday, May 18, 2014
How to Install SMPlayer Themes and Skins in Fedora 20
chmod +x smthemesskins.sh; sudo ./smthemesskins.shHopefully, the script works for you. Please share your thoughts on the script. Any improvements/comments/suggestions/errors will be welcomed.
Sunday, September 26, 2010
Send Free SMS to Pakistan
People living abroad often need to send SMS to their loved ones in Pakistan. SMSMARKAZ is a service provided by URDUPOINT Network and offers one an opportunity to send free SMS messages to any network in Pakistan. You can send up to 1000 free SMS messages during a particular month. If you want more, you can purchase a package and you can get lot of useful services including, receiving SMS messages from Pakistan, SMS forwarding, Auto Responder, and SMS to e-mail forwarding etc. You can find more details at the link below:
N.B. If you found this post useful, don't forget to click on the ads.
Saturday, June 05, 2010
How to Install Skype on Fedora 13 (64 bits)
Skype is only available as a 32 bit application on linux and in order to run skype on fedora 64 bit, you need to install the corresponding 32 bit packages. Prior to Fedora 13, installing the dependencies for Skype is quite easy, however in case of Fedora 13, there is a small hiccup.
Skype requires the installation of a package "nss-softokn-freebl". The native 64 bit version of this software in Fedora 13 is 3.12.4-19.fc13.x86_64 whereas the 32 bit version 3.12.4-17.fc13.i686 is older than the installed 64 bit native version. Consequently you cannot install an older 32 bit version of "nss-softokn-freebl" and yum terminates with an error. In order to avoid this issue, downgrade the 64 bit version of the corresponding software by issuing the following command in the terminal window:
sudo yum downgrade nss-softokn-freebl
The aforementioned command will downgrade nss-softokn-freebl to version 3.12.4-17.fc13.x86_64. After downgrading the above package, just issue the following commands in the terminal window to get Skype working under fedora 13.
sudo yum install alsa-lib.i686 libXv.i686 libXScrnSaver.i686 qt-x11.i686 qt.i686 --exclude nss-softokn-freebl.x86_64;sudo yum install skype-2.1.0.81-fc10.i586.rpm --nogpgcheck
Hopefully, this issue will be fixed in the subsequent releases of "nss-softokn-freebl" but for now, you can use the aforementioned technique to make Skype work normally. :)
Update:
The updated version 3.12.4-19.fc13.i686 of the package "nss-softokn-freebl" can be obtained from the following link:
With this, the aforementioned issue is obsolete.
Wednesday, April 14, 2010
Vi/Vim Survival Guide
Vi/Vim SURVIVAL GUIDE
- The cursor is moved by using either the arrow keys or the hjkl keys.
- h (left)
- j (down)
- k (up)
- l(right)
- To exit vim
:q! Type x to delete the character below the cursor, X deletes the character to the left of the cursor. - To insert or append text type:
- i type inserted text
insert before the cursor - I type inserted text
insert at the beginning of the current line - A type appended text
append after the line - a type appended text
append immediately after the cursor
- i type inserted text
- To insert an empty line below the cursor type and go to insert mode: o (lowercase o)
- To insert an empty line above the cursor type and go to insert mode: O (capital O)
- To delete from the cursor up to the next word type: dw
- To delete from the cursor up to the end of a line type: d$
- To delete a whole line type: dd
- To repeat an action prepend it with a number: 2w
- To move to the start of the line use a zero: 0
- To move to the end of the line use dollar sign: $
- To undo previous actions, type: u (lowercase u)
- To undo all the changes on a line type: U (capital U)
- To redo (undo the undo's) type: CTRL-R
- To put back a text line that has just been deleted, move the cursor on the line above the deleted line and type p.
- To replace a character,
move the cursor on that character, type r and then then the new character.
type R to go Replace mode and to replace more than one characters. - Type ce to change the characters in a word, ce deletes the word and places you in Insert mode. cne changes n number of words. c$ changes uptil the end of the line.
- CTRL-G displays your location in the file and the file status(in terms of percentage). :f provides the same result as CTRL-G.
G moves to the end of the file.
number G moves to that line number.
gg moves to the first line. - Typing / followed by a phrase searches FORWARD for the phrase.
Typing ? followed by a phrase searches BACKWARD for the phrase.
After a search type n to find the next occurrence in the same direction
or N to search in the opposite direction.
CTRL-O takes you back to older positions, CTRL-I(Capital "EYE") to newer positions. - Typing % while the cursor is on a (,),[,],{, or } goes to its match.
- To substitute new for the first old in a line type :s/old/new
To substitute new for all 'old's on a line type :s/old/new/g
To substitute phrases between two line #'s type :#,#s/old/new/g
To substitute all occurrences in the file type :%s/old/new/g
To ask for confirmation each time add 'c' :%s/old/new/gc - :!command executes an external command.
for example :!ls or :!rm FILENAME - :w FILENAME writes the current Vim file to disk with name FILENAME
- Type v to go to visual mode,to select some text, while in visual mode, type :w FILENAME saves the visually selected text in file FILENAME.
- :r FILENAME retrieves disk file FILENAME and puts it below the cursor position
- :r !dir reads the output of the dir command and puts it below the cursor position
- In visual mode, type y to copy selected text and p to paste it to a desired location.
- Typing :set 'xxx' sets the option xxx. Some options are:
ic (ignore case) ignores upper/lower case while searching
hls (highlight search) highlight all matching phrases.
cp (Compatible mode) :set [no]cp
Prepend "no" to switch an option off: :set noic - Type :help(within Vim) to open a help window, (:q to exit the help window)
- Type CTRL-W CTRL-W to jump to another window
Friday, February 29, 2008
How to configure a Broadcom 4312 wireless card in Fedora 8
This is how I got my broadcom 4312 wireless card working in F8.
Configuring a builtin Broadcom 4312 in Fedora 8
Sunday, April 08, 2007
Cheap Calling Solutions for Pakistan
Today I'm going to talk about something different. An expatriate student is always looking for a cheap calling solution so that s/he can make calls back home and keep in touch with his/her family. I am no exception, every now and then I am looking for some cheap and proper solution. In this blog post I’ll summarize the results of my quest.
Before proceeding, let me clarify one thing, VOIP phones/softwares are the cheapest solution available in the market to stay in touch with your family. Below, I’ve placed the VOIP softwares with the cheapest rates to call Pakistan from Finland:
Low-Rate VOIP http://www.lowratevoip.com 3 cents/min. (Euro) Moderate Voice Quality
VOIP Buster http://www.voipbuster.com 5 cents/min. (Euro) Moderate Voice Quality
VOIP Stunt http://www.voipstunt.com 5 cents/min. (Euro) Moderate Voice Quality
Gizmo Project http://www.gizmoproject.com 11 cents/min.(Euro) (Land)
10 cents/min. (Euro) (Mobile) Above Average Voice Quality
Wengo Phone http://www.wengophone.com 11.5 cents/min. (Euro)Above Average Voice Quality
Skype http://www.skype.com 10.6 cents/min. (Euro) Excellent Voice Quality
In my opinion there is a trade-off between quality and quantity. Low-Rate VOIP is the cheapest solution available for Pakistan but doesn’t have as good voice quality as Skype provides. If you preference is quality then there is no better choice than Skype.
Personally, I use Low-Rate VOIP more frequently than the other options though I was a Skype fan sometime ago.
Some useful links regarding VOIP softwares are as follow:
http://en.wikipedia.org/wiki/Comparison_of_VoIP_software
http://progx.ch/home-voip-prixbetamax-3-1-1.html
Monday, July 17, 2006
NFAK - Nasir Kazmi - The Perfect Duet

Lyrics have played a pivotal role in some of his ever green songs/ghazals. If you ask me to be more selective from NFAK’s hits, I won’t take a single moment and specify the songs with Nasir Kazmi’s poetry. To me NFAK and Nasir Kazmi is a perfect duo. To be honest Nasir Kazmi’s poetry was an influential factor in the creation of this post as well. My all time favorite ghazal is “GHAM HE YA KHUSI HE TU MERI ZINDIGI HE TU”.
Most of the time it happens that you like a song/ghazal for a specific period of time and it looses its worth while listened repeatedly, this is not the case with NFAK’s music. Whether you listen it repeatedly, or give a duration pause, believe you me, NFAK’s music won’t fade at all, because his music is eternal.
You can read more about NFAK at
https://en.wikipedia.org/wiki/Nusrat_Fateh_Ali_Khan
For Nasir Kazmi's (awesome) poetry visit
http://www.urdulife.com/poetry/poet_index.cgi?nrk

