30 April 2016

How To Install / Upgrade MATE Desktop 1.14 on Ubuntu MATE 16.04 Xenial Xerus LTD (Unsafe)


MATE Desktop has released their newest version 1.14 on April 2016. But unfortunately, Ubuntu 16.04's release cycle has frozen their feature on February 2016, so the newest version of MATE desktop (1.14) isn't available in the final release of Ubuntu MATE 16.04.

But apparently, there is an unsafe way to upgrade your MATE desktop Ubuntu MATE 16.04 into MATE 1.14 by following these tricky tips. Please consider, this is an "less safe" way, please do this with your own risk. The safer way is, you have to wait until the official PPA repository released.

1Edit your sources.list and add the LMDE 2 Betsy repository.

sudo pluma /etc/apt/sources.list

add following lines :

deb http://packages.linuxmint.com betsy main upstream import
deb http://http.debian.net/debian jessie main contrib non-free
deb http://http.debian.net/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
deb http://extra.linuxmint.com betsy main

2Update your apt database.

sudo apt-get update

3Remove mate-applets-common. The mate-applets 1.14 conflicts with mate-applets-common 1.12, so the mate-applets-commons have to be removed first. 

sudo apt-get remove mate-applets-common

4. Install the packages.

sudo apt-get install caja caja-open-terminal atril caja-sendto caja-wallpaper mate-applets mate-backgrounds mate-control-center mate-desktop mate-icon-theme mate-indicator-applet mate-media mate-netbook mate-notification-daemon mate-panel mate-polkit mate-power-manager mate-screensaver mate-sensors-applet mate-settings-daemon mate-terminal mate-utils mate-applets

5. Unmet dependencies.
There is still a package that couldn't be upgraded : ubuntu-system-monitor. Considering this is not a fundamental element of MATE desktop, I believe you can deal with older version 1.12.

16 February 2016

How To Easily Download Youtube Subtitle/Caption in Linux

Youtube is now become a major, most viewed, free video streaming website in the universe. It is complete, mobile, and rich featured, including subtitle/caption. And then, there is a simple question, how to download Youtube subtitle/caption in Linux?

Apparently, there is an application called Google2SRT. It is officialy a Ms. Windows application, but thanks to the developer it's built with Java so it's mobile and could be ran in any other operating system using JVM (Java Virtual Machine).

For the sake of ease, I've been 'ported' the application into Linux (.deb), and could be easily installed in any Debian based Linux distribution. Here are the steps to install :

1. Download the package HERE.
2. Install the dependency : sudo apt-get install icedtea-plugin
3. Install the package : sudo dpkg -i google2srt_0.7.4_all.deb
4. Just copy and paste the Youtube URL, press Go.


06 February 2016

How To Run .jar File in Linux

Java archive (.jar), in the past, was a very popular format, especially for Java based mobile cellphone and Symbian based cellphone. It's a mobile and portable format, and could also used to build a desktop (PC) application.

For you Linux folks, if you found a java based application with .jar formatted, it's very easy to run the file. Here are the steps to run .jar file in Linux :

1. Install IcedTea (open source version of Java Virtual Machine)

sudo apt-get install icedtea-plugin

2. Open terminal, and run the .jar file with following command :

java -jar file.jar


Google2SRT, a desktop application to download and convert Youtube's subtitle / caption into a srt file, running under Linux. It's officialy a Microsoft Windows application build using Java.

30 January 2016

Disable Partial / All Cron in WHM/Cpanel Server (Except Root)



Cronjobs is somewhat a massive activity and could affect the overall server performance. And so, as administrator, we need to disable some user's cronjobs to relieve the server load. There is a tricky but simple way to disable partial cronjob in WHM/Cpanel based server. Here are the very simple steps :

1. Create a directory /var/spool/cron.disabled
# mkdir /var/spool/cron.disabled
2. Move the cronjobs you want to be disabled
# mv /var/spool/cron/username /var/spool/cron.disabled
3. Restart http/apache server to take effect
# /etc/init.d/httpd restart

23 January 2016

Install Latest Flashplayer Plugin For Mozilla Firefox in Linux

The latest version of adobe flashplayer plugin for Linux is now maintained by Google under a new name called "Pepper Flashplugin". This plugin is built as default in Google's official browser Google Chrome. For Mozilla Firefox user, for now Pepper Flashplugin is officially supported in Ubuntu repository. The steps is very simple as follows :

1. Install Google Chrome
You need to have Google Chrome installed. If you don't have it, the installer will automatically download Google Chrome in order to extract the flashplayer.
2. Update your apt
Make sure your apt cache is updated by executing command : sudo apt-get update
3. Install the package
Install the package : sudo apt-get install browser-plugin-freshplayer-pepperflash

Ubuntu 15.04 Bellow (14.04, 12.04)
For Ubuntu 15.04 and older, please follow the tutorial HERE.