Sunday, May 25, 2014

How to watch a video in ASCII art


  • VLC or mplayer
  • libcaca (libcaca0 on Ubuntu/Debian; should already be installed)
  • A video to watch (I downloaded one from YouTube using youtube-dl)
Linux users tend to know what they're doing, so I'll assume you know how to install these programs. Plus, installation is highly distro-specific, so I'm not going to elaborate further.


Open your favorite terminal emulator or switch to a VT and run:

mplayer -vo caca video

where video is the video file you wish to play.

This option is a lot more friendly to the Linux console, but I found that the picture itself in VLC was a lot better.

mplayer with libcaca


In my opinion, this will get you better results. The colors seem to be a bit more true to the video and not quite as random; also, the window can be resized with the video resizing along with it. Running this in the Linux console does not give good results: VLC's messages show up in the black bars above and below the video (if there are black bars) and to quit one does not simply press the "q" key. A keyboard interrupt also does not work.

Command line

Open your favorite terminal emulator (under X11) and run:

vlc --vout=caca video

where video is the video file you wish to play.


Open VLC, and go to Tools->Preferences. Then, go into the "Video" section, and, next to "Output", select "Color ASCII art video output".

VLC preferences

Click Save. Open your favorite video in VLC and:

VLC with libcaca


Even though libcaca doesn't provide the most accurate ASCII art renderings of pictures and videos, the results are still impressive and it's something cool and geeky you can show off to your friends. 

I'm back!

Hey guys!

I know it's been a while since I've posted anything here. I've decided that I'd start up again, and try to make this a regular blog (at least once a week). Here are some things coming your way in the near future:
  • How to watch a video using libcaca (a friend of mine suggested this)
  • A week-long project to show how powerful the Linux command line is - details on this will be posted later
  • A clone of the popular game 2048 a friend of mine and I are working on

Suggestions wanted

As you can see, there's not much I've come up with as of yet. If any of you have suggestions as to what I should do next, leave me a tip in the comments! 

Friday, August 17, 2012

Use WICD instead of NetworkManager in Ubuntu 12.04

In Kubuntu 12.04, I have noticed that NetworkManager doesn't like to work after a resume from sleep. So I will show you how to replace it with WICD, which is a whole lot more reliable.


  • Any flavor of Ubuntu, version 12.04
  • An already-working internet connection with NetworkManager
  • NetworkManager not successfully connecting after resume from sleep

How to make the switch

First, install WICD. Open a terminal and type:

sudo apt-get install wicd

Note that this installs wicd-gtk. This is okay for Kubuntu users, as the GTK client is a lot easier to use than the KDE one.

Second, uninstall NetworkManager.

sudo apt-get --purge autoremove network-manager

That's it! Enjoy WICD.

Wednesday, August 15, 2012

Multiple .minecraft's easily switchable with MCProfileMan

Hello everyone, and welcome to my new blog Linux Tips & Tricks. I will show you MCProfileMan, which was made by me and creates easily switchable .minecraft's.


  • Any Linux distro.
  • Minecraft. If you do not play Minecraft, do not continue, as this script will be useless to you.

Otherwise, there's nothing else. zip is a standard Linux program, so there's nothing to install and this will work on all Linux distros.

How to use

Obviously, you need to download it.

Open a terminal (e.g. Ctrl+Alt+T in Gnome or Konsole in KDE).

Make sure you're in the download directory (usually Downloads):

cd Downloads

Extract the script:


Make it executable:

chmod +x mcprofiles

Now the script is ready to use. You can add a profile like so:

./mcprofiles add

Then it will prompt you for a name and create the profile. You can switch it with your current .minecraft like so:

./mcprofiles switch

It will show a list of the profiles (numbered) and prompt for a number; then it will prompt for a name for the profile that was your .minecraft.

Run ./mcprofiles usage for more.