Origin


Resu, North Garo Hills, Meghalaya 794108

Sunday, 3 August 2014

Installing hhcount.sty to generate Tally Marks in LaTeX document in Fedora 20

1. Download the file hhcount.sty and save it (like in your Downloads folder)

2. Navigate to /usr/share/texlive/texmf-dist/tex/latex/
    #cd /usr/share/texlive/texmf-dist/tex/latex/
    and create a folder named hhcount
    #mkdir hhcount

3. Now navigate back to your Downloads folder (or wherever you downloaded hhcount.sty) file and
    move/copy the file to the newly created folder.
    #mv hhcount.sty /usr/share/texlive/texmf-dist/tex/latex/hhcount

4. Run the texhash command
    #texhash

5. Since hhcount.sty is dependent on hhutils0.sty, you need to download it again and like in
    the previous steps, create a folder hhutils0 inside /usr/share/texlive/texmf-dist/tex/latex/ and move
  hhutils0.sty there. Again run texhash command.

6. Now include \usepackage{hhcount} in your tex file and wherever you need to include tally  
    marks, use \fcsore{n}, where n is the frequency number. If you need to put a tally mark against 5,        use \fcscore{5}, if against 7 use \fcscore{7}. Run LaTeX, and you'll get the tally marks in  
     your document as

Wednesday, 11 June 2014

The errors after uninstalling satya164's "Elegance Colors" GNOME Shell Theme

A lot who have tried satya164's "Elegance Colors" GNOME Shell Theme in Fedora 20 know that upon doing

#yum update

the errors comes out as follows:


"download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_             | 1.6 kB  00:00:00     
http://download.opensuse.org/repositories/home%3A/satya164%3A/elegance-colors/Fedora_20/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.


 One of the configured repositories failed (added from: http://download.opensuse.org/repositories/home:/satya164:/elegance-colors/Fedora_20/x86_64/),
 and yum doesn't have enough cached data to continue." 

Navigate to

#cd /etc/yum.repos.d

and list them all

#ls

You'll see the following three repo files still there: 

download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_.repo
download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_x86_64_gnome-shell-theme-elegance-colors-2.9-3.2.x86_64.rpm.repo
download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_x86_64_.repo


Next you remove them all

#rm download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_.repo
#rm download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_x86_64_gnome-shell-theme-elegance-colors-2.9-3.2.x86_64.rpm.repo
#rm download.opensuse.org_repositories_home_satya164_elegance-colors_Fedora_20_x86_64_.repo

Do the update

#yum update

And it's done!

Saturday, 17 May 2014

Install Numix Theme/Icons on Elementary OS 0.2 (Luna)

$ sudo apt-add-repository ppa:numix/ppa
$ sudo apt-get update
$ sudo apt-get install numix-gtk-theme numix-icon-theme-circle


Thursday, 15 May 2014

Install Icon packages on Fedora 20

(It's assumed that GNOME Tweak Tool is already installed in the system.)

Icons are mostly packaged in tar.gz or .ZIP file. Let's get a couple of them from http://gnome-look.org/Square-Beam 1.0 and The Circle 0.2 and install and use them. Click on their respective download links and get the Square-Beam_1_0.tar.gz and TheCircle.zip packages.

Now, navigate to the /home/username/Downloads folder (or to whichever directory you have downloaded them to):

# cd /home/username/Downloads

Extract Square-Beam_1_0.tar.gz to the /usr/share/icons directory:

# tar xzf Square-Beam_1_0.tar.gz -C /usr/share/icons



Unzip TheCircle.zip at the /usr/share/icons directory:

# unzip TheCircle.zip -d /usr/share/icons

Next, open GNOME Tweak Tool and select one of them, say, Square-Beam




Here's a glimpse of the Square-Beam 1.0 icon set:



And of The Circle 0.2:




Install GNOME Tweak Tool on Fedora 20 (Heisenbug)

Here's GNOME Tweak Tool for you from wiki.gnome.org



A very simple command does the installation:

# yum install gnome-tweak-tool

Along with it, the gnome-shell-theme and the common light-theme-gnome (which includes Ubuntu's default Ambiance and Radiance themes) can also be installed:

# yum install gnome-shell-theme-*
# yum install light-theme-gnome

Now in GNOME shell's Activity menu, click on Utilities, and you'll find the Tweak Tool



Tuesday, 13 May 2014

Install Elementary-Tweaks on Elementary OS 0.2 (Luna)

Elementary Tweaks is an application to configure your eOS desktop. Here's how to install it:

$ sudo apt-add-repository ppa:versable/elementary-update
$ sudo apt-get update
$ sudo apt-get install elementary-tweaks

Now click on System Settings, and you'll see this new icon:


For a try, I've moved my icons 'plank' right:


Monday, 12 May 2014

Remove Old/Multiple Linux Kernels

After an update, there's always a possibility to see some more kernel entries on your GRUB on booting. A quick listing can be done:

# rpm -q kernel 

(the lastest is at the bottom, which also can be produced typing # uname -r )

We next make use of the package-cleanup tool in yum-utils to limit the number of kernels desired. If yum-utils isn't installed, do

# yum install yum-utils

Next set the number of kernels to the desired count (say, 2)

# package-cleanup --old kernels --count=2

Make the amount of installed kernels permanent
# gedit /etc/yum.conf 

and set installonly_limit = 2