Linux / Unix Desktop Fun: Cat And Mouse Chase All Over Your Screen

Oneko is a little fun app. It will change your cursor into mouse and creates a little cute cat and the cat start chasing around your mouse cursor. The word “neko” means “cat” in Japanese and it was originally written by a Japanese author as a Macintosh desktop accessory.

ADVERTISEMENTS

Install oneko

Type the following command:
$ sudo apt-get install oneko

Sample outputs:
[sudo] password for vivek: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  oneko
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 38.6 kB of archives.
After this operation, 168 kB of additional disk space will be used.
Get:1 http://debian.osuosl.org/debian/ squeeze/main oneko amd64 1.2.sakura.6-7 [38.6 kB]
Fetched 38.6 kB in 1s (25.9 kB/s)                     
Selecting previously deselected package oneko.
(Reading database ... 274152 files and directories currently installed.)
Unpacking oneko (from .../oneko_1.2.sakura.6-7_amd64.deb) ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up oneko (1.2.sakura.6-7) ...
Processing triggers for menu ...

FreeBSD unix user type the following command to install oneko:
# cd /usr/ports/games/oneko
# make install clean

How do I use oneko?

Simply type the following command:
$ oneko
You can make cat into “tora-neko”, a cat wite tiger-like stripe:
$ oneko -tora

Not a cat person?

You can run a dog instead of a cat:
$ oneko -dog
The followin will runs Sakura Kinomoto instead of a cat:
$ oneko -sakura
Runs Tomoyo Daidouji instead of a cat:
$ oneko -tomoyo

Check out related media

This tutorial also available in video format:

(Video.01: Demo – Install and use oneko under Linux)

Other options

You can pass the following options:

  1. -tofocus : Makes cat run to and on top of focus window. When focus window is not in sight, cat chases mouse as usually.
  2. -position geometry : Specify X and Y offsets in pixels to adjust position of cat relative to mouse pointer./li>
  3. -rv : Reverse background color and foreground color.
  4. -fg color : Foreground color (e.g., oneko -dog -fg red).
  5. -bg color : Background color (e.g., oneko -dog -bg green).
  6. See oneko man page for more information.

If you enjoyed this desktop fun app, you may also like to use the following apps on Linux/Unix:

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
6 comments… add one
  • Dep Sep 30, 2012 @ 14:24

    Cool!

  • Menno Oct 12, 2012 @ 10:24

    Just added a little script that starts oneko to ~/.kde/Autostart on my gf’s laptop.
    See what she says when she comes home :-)

  • Daniel Clarks Dec 5, 2012 @ 2:09

    funny :)

  • candyman Apr 4, 2013 @ 21:31

    How to run in permanently???

    • Jeevan Reddy Mandali May 29, 2015 @ 17:43

      add it to startup applications

  • rongmu May 4, 2013 @ 3:43

    cute!

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.