Install Zekr Quran Reader Program on Ubuntu 18.04

Bismillahirrahmanirrahim.

I find today this Zekr’s mailing list article Running Zekr on Ubuntu 18.04 by brother Mashaal M Alghamdi (may Allah bless him). To sum it up:

  • You install Java Runtime Environment (JRE) by the command line sudo apt-get install default-jre
  • You download the Zekr package file either 32 bit or 64 bit version from Sourceforge
  • You extract the package, and you get a zekr.sh shell file
  • You execute the zekr.sh by the command line ./zekr.sh and finally Zekr Quran Reader running

For KDE Plasma users, and some Ubuntu users, you may find Zekr experiencing error about Java saying “org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]” and so on. To solve this error, just install a package: sudo apt-get install libwebkitgtk-1.0-0 and Zekr should running without problem anymore.

Zekr with Amiri Quran font on Kubuntu 18.04

Notes:

  • About font: on Kubuntu, I find the best built-in font to be Amiri Quran.
  • About font size: on Kubuntu again, I find the best size to be 23. The default is 33, anyway.
  • About how to change the font: go to menu Tools > Options > View > see quran_fontName > select the value > press Space bar > put the font name in front of the line > click Apply > click OK > right-click on the ayat > Reload. You will do this one very often.
  • About looking for the best font: just compare your Zekr window with your LibreOffice Writer window showing same ayats, and, change the font on the Writer so you find the best one for you.
  • For Trisquel users: these instructions should work on Trisquel 8.0 as well.

 

May Allah bless us all in this Ramadhan 1439 Hijriyah. Walhamdulillahi rabbil ‘alamin.


This article is licensed under CC BY-Sa 3.0.

Advertisements

Yakkety Repo Archive is Still Alive!

Bismillahirrahmanirrahim.

Today is Saturday 30 September 2017. Ubuntu 16.10 “Yakkety Yak” was already End-Of-Life at Thursday 20 July 2017. It’s already more than 2 months so far. So, as end-user, I supposed today I must find my Yakkety repo is also ended and moved to old-releases repo. But no, I don’t find that today, because I still can download packages from Yakkety repo located at archive.ubuntu.com/ubuntu/dists/yakkety/. This is amazing. Thanks to all Ubuntu Developers.

The result of apt-get update

The installation process of ‘geany’ package


This article is licensed under CC BY-SA 3.0.

Warning, packagekitd and snapd Eat Bandwidth!

Bismillahirrahmanirrahim.

Now I know for sure why each distro I ran eats my bandwidth extremely a lot without my permission, that’s because of PackageKit’s packagekitd daemon doing automatic updates in stealth. Not only that, but also Snappy’s snapd daemon eats my bandwidth without my permission too. Those two packagekitd and snapd are serious problems for limitedly-bandwidth users! These happened on neon, my favorite KDE distro, and also Ubuntu, Kubuntu, even openSUSE, and even Fedora. Tonight I do some searching and I finally understand packagekitd action is a part of GNOME Software or KDE Discover automatic update. Continue reading

LaTeX Package bundledoc in Ubuntu 12.04

Bismillahirrahmanirrahim.

I need a technique to do collect output in my LaTeX document. So, my LaTeX document will be exactly same with any LibreOffice document in which a single file contains all resource files. In LaTeX terms, collect output is called bundle. The tools to do that is bundledoc. bundledoc main purpose is to collect all resource files (LaTeX calls them dependencies) and package them into a single tarball file. Exactly same with what I need. In Ubuntu, bundledoc tool contained inside texlive-extra-utils package. It is an official package and my Precise already has this package. But the problem is texlive-extra-utils in Precise didn’t contain bundledoc package. texlive-extra-utils in Vivid has. So how to resolve this problem?

Automatic Package Management System


  1. Diagnose first. Compare them. Precise hereVivid here.
  2. Found the problem. Precise has no bundledoc.
  3. Search for texlive-extra-utils for Vivid. Found it in Launchpad.
  4. Open the package download page for that package in Launchpad.
  5. Download that package.
  6. Install with –simulate argument. See the output.
  7. Apparently, texlive-extra-utils for Vivid is no way compatible with Precise. It breaks texlive-base package in Precise.
  8. I failed with automatic package management system. These steps are deprecated.

latex-bundledoc3

Manual Package Management System


Special for LaTeX, actually we can install any new package by downloading the package files from CTAN. It is a big example we knew for years happened in LaTeX (CTAN) and Perl (CPAN). Big example for manual package management system.

  1. Open CTAN.
  2. Search for bundledoc.
  3. Download the package.
  4. Unzip the package.
  5. Copy the binary package to binary executable search path. I copy bundledoc package to /usr/bin directory.
  6. Copy the manual package to manpage executable search path. I copy bundledoc.1 package to /usr/local/man/man1 directory.
  7. Finish.

latex-bundledoc5

latex-bundledoc2

bundledoc command in Precise

latex-bundledoc1

Reduce Ubuntu Brightness

0.5

xrandr --output LVDS1 --brightness 0.5

0.1

xrandr --output LVDS1 --brightness 0.1

Normal

xrandr --output LVDS1 --brightness 1.0

Beyond Normal

xrandr --output LVDS1 --brightness 2.0

Future

If we can do reducing Ubuntu screen brightness via command line, and we now can create an application to run any Linux command line, then next we can make an application to do xrandr command above from GUI. Just slide and you can save the brightness setting. Or further, you can create any preset and use them any time you need.

Finally, I’ve Found Offline Package Management System I Need

Bismillahirrahmanirrahim.

For many years, I was waiting for offline package management system in Linux. I got it at 2013 and I implemented it at end of 2014. That offline management system is alldeb. Alldeb is a new package management system created by Nifa Dwi Kurniawan from Indonesia Ubuntu Forum to install a software in Ubuntu in single offline installer way. Alldeb made it possible to install one software by just one file. All dependencies included inside a single .alldeb file. Just the same way as EXE (Windows), DMG (Mac OS X), and APK (Android). And I packaged many alldeb packages as my implementation at end of 2014 in http://bengkelubuntu.org. Now by using alldeb and getting packages from BengkelUbuntu, you get your software in Ubuntu and you can save the installer and you can install that single package on another Ubuntu in completely offline way. So, for example, if you have a lab with 100 computers, you need only to download a single alldeb file for KDE to install KDE for all 100 computers. You don’t need to spend your lab bandwidth by downloading KDE in every single computer. Plus, the main function of alldeb system is to backup any of your chosen installed software completely with its dependencies into just single file. Every software you choose repackaged into single file. You choose what software you want to backup, not as bloated as APTOnCD does. So basically, alldeb does “magic” to repackage any single installed software with its dependencies into one single package with the extension .alldeb. Alldeb solution helps many users in Indonesia and it was my dream. Alldeb system has already included officially in some Indonesia Linux distributions such as GrombyangOS, AsrilOS, and Manux. I hope alldeb will come into Ubuntu official image soon or at least into another major Debian-based distro.

The alldeb_user interface installing wine.alldeb package

PS: this is the first post after 2 years in this blog.