Convert Photos to Cartoon or Sketch Images in Ubuntu via XnSketch

July 28, 2013 — Leave a comment

This simple tutorial will show you how to convert your photos to cartoon or sketch images in Ubuntu Linux using a simple tool XnSketch.

turn to cartoon

XnSketch is a very small tool that allows you to turn your photos into cartoon or sketch images. It works on Windows, Linux, Mac OS, Apple and Android devices.


  • 18 different effects (black strokes, white strokes, pastel, pencil sketch, colored sketch, …)
  • Edge strength, and opacity adjustement
  • Contrast, brightness, saturation adjustement
  • Save or share the result to Flickr, Picasa, Facebook, Imgur, Thmblr, ImageShack, Yfrog, GlowFoto, TwitPic, and Email.

Install XnSketch

First download the package:

XnSketch for Windows 32-bit | Windows 64-bit

XnSketch for Ubuntu Linux

For Ubuntu users, decompress the package and copy and paste the result folder into /opt/ folder once downloaded. To do so, press Alt+F2 on your keyboard and type in gksudo nautilus to open file browser with root privilege.

open nautilus as root

Then drag and drop the extract folder from your ~/Downloads folder to /opt/:

move xnsketch to opt

Finally follow below steps to create a launcher for this tool:

1.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to install required package:

sudo apt-get install gnome-panel --no-install-recommends

2.) Run command to bring up Create Launcher dialog.

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

In next window type following:

name = XnSketch
command = /opt/XnSketch/
select an icon from /opt/XnSketch/xnsketch.png

launcher for xnsketch

Once done, click Ok and you’ll see the XnSketch from the Unity Dash home.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

No Comments

Be the first to start the conversation.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>