Archives For November 30, 1999

Install Desura Gaming Client on Ubuntu 14.04

Last updated: April 23, 2024

In this tutorial I’ll show you how to install Desura client (Desurium) on Ubuntu 13.04 Raring Ringtail and Linux Mint from ppa repository.

Desura is a gaming client that allows users to one click download and install games and game modification. Desurium is the open-source client of Desura.

desura-linux-client

A ppa repository has been built for Ubuntu and Linux Mint users to make it easy to install. So far, it supports Ubuntu 13.04, 12.10, 12.04 and Linux Mint 15, 14, 13.

To get started:

NOTE: This PPA support ended for Ubuntu 14.04

Press Ctrl+Alt+T to open terminal, then follow the steps below:

1.) Copy and paste this command and run to add the ppa repository:

sudo add-apt-repository ppa:makson96/desurium

2.) Update:

sudo apt-get update

3.) Install the client:

sudo apt-get install desurium

Once installed, open it from Unity Dash. Then you need register a free account to login.

Canon Drivers for Ubuntu and Linux Mint

Last updated: December 8, 2014

In this tutorial I’ll show you how to install official drivers of commonly used Canon Printers on Ubuntu 13.04, 12.10, 12.04, and Linux Mint.

There’s a ppa repository that provides the official drivers of Canon printers and multifunction devices which are not available on Canon’s website.

The supported Canon printers include:

  • bjf9000, bjf900, bjs300, bjs500, bjs700 series
  • e500, e510, e600, e610 series
  • i250, i255, i550, i560, i850, i860, i950, i990 series
  • ip100, ip1800, ip1900, ip2200, ip2500, ip2600, ip2700, ip3000, ip3300, ip3500, ip3600, ip4000, ip4200, ip4300, ip4500, ip4600, ip4700, ip4800, ip4900, ip5000, ip5200, ip6600, ip7200, ip7500, ip8500, ip90 series
    ix6500 series
  • mg2100, mg2200, mg3100, mg3200, mg4100, mg4200, mg5100, mg5200, mg5300, mg5400, mg6100, mg6200, mg6300, mg8100, mg8200 series.
  • mp140, mp160, mp190, mp210, mp230, mp240, mp250, mp270, mp280, mp490, mp495, mp500, mp510, mp520, mp540, mp550, mp560, mp600, mp610, mp620, mp630, mp640, mp750, mp780 series.
  • mx320, mx330, mx340, mx350, mx360, mx370, mx390, mx410, mx420, mx430, mx450, mx510, mx520, mx710, mx720, mx860, mx870, mx880, mx890, mx920 series.
  • pixmaip1000, pixmaip1500 series.
  • pixus250, pixus255, pixus550, pixus560, pixus850, pixus860, pixus950, pixus990 series
  • pixusip3100, pixusip4100, pixusip8600 series

To install the drivers:

Make sure to disconnect the Canon printer from your computer first. Press Ctrl+Alt+T to open terminal, copy and paste this command and run to add the ppa:

sudo add-apt-repository ppa:michael-gruz/canon-stable

update: For Ubuntu 14.04 and Ubuntu 13.10, please use the daily PPA (only cnijfilter-xxxseries packages available):

update 2: For Ubuntu 14.04 users, below PPA miss the packages for ScanGear MP, see this guide.

sudo add-apt-repository ppa:michael-gruz/canon-trunk

Then update:

sudo apt-get update

Install Synaptic Package Manager from Ubuntu Software Center, then open it.

Then search for and install cndrvcups-common to install Common Modules, search cnijfilter and find your driver to install. Also search and install scangearmp to install ScanGear MP.

Canon-drivers-Synaptic

Once installed, connect your printer to the computer. Your printer will be automatically detected by Ubuntu.

frostwire

This simple tutorial will show you how to install the FrostWire on Ubuntu 24.04 Noble, Ubuntu 22.04 Jammy, and Ubuntu 20.04 Focal.

FrostWire is a free and open-source BitTorrent client forked from LimeWire, and was previously a hybrid Gnutella and BitTorrent client. Unlike most other BitTorrent clients, FrostWire is able to search for, and download torrents from many major trackers.

The app is written in Java, and works in Windows, macOS, Linux and Android. For Ubuntu, it so far only works on x86_64 platform meaning for AMD/Intel CPUs.

Download & Install FrostWire

1. To install the app, first download the official .deb package, through the official download link below:

2. After downloading the package, press Ctrl+Alt+T on keyboard to open up a terminal window. Then, run the command below to install it:

sudo apt install ~/Downloads/frostwire*.deb

Instead of typing ~/Downloads/frostwire*.deb, you can drag’n’drop the file into terminal instead to insert path to the package. Then, hit enter, type your password (no visual feedback, just type in mind) to start installing it.

3. Once installed, search for and launch the app either from start menu or GNOME overview depends on your desktop environment and enjoy! Though, on first launch, you need to follow the wizard to accept license and setup some basic settings.

How to Uninstall/Remove Frostwire

To remove the app, simply open terminal (Ctrl+Alt+T) and run command:

sudo apt remove --autoremove frostwire

That’s all. Enjoy!

Install RSSOwl Feed Reader on Ubuntu From PPA

Last updated: April 21, 2024

RSSOwl

RSSOwl is a reader for RSS, PDF, Atom News. Since Google Reader is no longer running, RSSOwl added the option to synchronize with Google.

UPDATE: RSSOwl discontinued since 2014!! And, this tutorial does not work anymore.

This simple and brief tutorial will show you how to install the latest RSSOwl on Ubuntu 13.04 Raring, 12.10 Quantal, 12.04 Precise from GetDeb repository.

To get started, press Ctrl+Alt+T to open terminal, then follow the below steps:

1.) Copy and paste this command and run in terminal to download getdeb package:

wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb

2.) Install the downloaded package to add the repository:

sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb

3.) Update:

sudo apt-get update

4.) Install the reader:

sudo apt-get install rssowl

How to Disable Ping Response on Ubuntu Server

Last updated: April 21, 2024

This simple and brief tutorial is going to show you how to disable ping response on Ubuntu Server to make it more secure.

To get started, you need to first run command below to get the root privilege:

sudo su

Then, you can disable ping for IPv4 using the command below to set config file value to 1:

echo  1  > /proc/sys/net/ipv4/icmp_echo_ignore_all

For IPv6, you may use the command below instead:

echo 1 > /proc/sys/net/ipv6/icmp/echo_ignore_all

Or, you can use iptables command instead to do the same job. Though, you need to replace eth0 to yours network interface name (run ip -4 address to tell).

iptables  -I  INPUT  -i  eth0  -p   icmp  -s  0/0  -d  0/0   -j  DROP

To re-enable ping response, use commands:

echo  0  > /proc/sys/net/ipv4/icmp_echo_ignore_all
echo 1 > /proc/sys/net/ipv6/icmp/echo_ignore_all

or

iptables  -I  INPUT  -i  eth0  -p   icmp  -s  0/0  -d  0/0   -j  ACCEPT

To make it permanently, edit the “/etc/sysctl.conf” file and add the link below, so that the setting gets picked up at boot time.

net.ipv4.icmp_echo_ignore_all=1

This simple tutorial is going to show you how to install StarDict and set up dictionaries on Ubuntu System. It’s useful for students and others.

NOTE: StarDict does NOT launch in current Ubuntu 22.04 due to this bug. So this tutorial does no longer work until the bug is fixed!

StarDict is a free dictionary lookup program. Works on Windows, Linux and Mac, off-line or international.

Stardict-dirtionary

Install StarDict in Ubuntu:

StarDict is available in system repositories for all current Ubuntu versions. Simply launch Ubuntu Software or App Center, then just search and install the ‘stardict’ package:

For choice, you can press Ctrl+Alt+T on keyboard to open terminal, then run the command below instead to install it:

sudo apt install stardict

Download and install dictionaries:

You can download Babylon (.bgl) dictionaries from: tuxor1337.frama.io/firedict/dictionaries.html. If instead of .bgl files you are getting .exe installers, use 7Zip to extract them.

To setup dictionaries for StarDict, extract the downloaded packages and move them into /usr/share/stardict/dic/.

Press Alt+F2, type and run gksudo nautilus to open file browser as root, then do the previous copy and paste things.

Enjoy!

Google-Music-Manager

This simple tutorial will show you how to install Google Play Music Manager on Ubuntu 13.10, 13.04, 12.04 from Google official repository.

UPDATE: Google Music Manager is NO longer available due to favor of YouTube Music!!!

Press Ctrl+Alt+T to open terminal and get started with below steps:

  1. Copy and paste this command and hit run to add the Google repository:
    sudo sh -c 'echo "deb http://dl.google.com/linux/musicmanager/deb/ stable main" >> /etc/apt/sources.list.d/google-musicmanager.list'
  2. Download and install the key:
    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
  3. Update:
    sudo apt-get update
  4. Finally install Google Music Manager, so far it’s still in beta:
    sudo apt-get install google-musicmanager-beta

Enjoy!

This simple tutorial will show you how to convert PNG to JPG in Ubuntu, so that it reduce the memory size and speed up loading image time.

1.) Install the required package by running below command in terminal:

sudo apt-get install imagemagick

2.) Then you can convert an .png image to .jpg format via below command. It takes “ubuntuhandbook.png” in the current directory and creates a JPEG image from it.

convert ubuntuhandbook.png ubuntuhandbook.jpg

You can also specify a compression level for JPEG images.

convert ubuntuhandbook.png -quality 90 ubuntuhandbook.jpg

3.) If you want to convert a batch of photo images, for example all .png files in “Pictures” folder, use try this command instead:

cd ~/Pictures && for file in *.png; do convert $file ${file%.png}.jpg; done

4.) To convert all PNG files into JPEG files with that same filename but a different suffix. However be warned that if existing file with the same name will be over-written.

mogrify -format jpg *.png

Change Date and Time on Ubuntu 24.04 Server

Last updated: April 22, 2024

time

This simple tutorial is going to show Ubuntu beginners how to display and change date and time on Ubuntu Linux both Server and Desktop.

UPDATE: The commands in this tutorial are tested and also works in Ubuntu 24.04.

To display data and time, use date command:

date

Sample output:

Wed Jul 3 20:59:28 CST 2013

To display calendar, use cal command:

cal

If the command not found, run sudo apt install ncal to install it.

Sample output:

July 2013
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

To change date and time, use command:

sudo date -s "4 June 2020 18:00:00"

NOTE: your Ubuntu server may enabled network time synchronization. The command above will NOT work until you disable it by using command:

sudo timedatectl set-ntp no

To re-enable network time synchronization, run command:

sudo timedatectl set-ntp yes