Xsnow — Falling Snow on Your Linux Desktop
Greetings!

Today’s post is a bit of a themed one: how to create a New Year mood with a snowstorm on your Linux computer’s desktop. We’ll talk about an open source utility — Xsnow. As tradition dictates, we’ll install and configure it on Linux Mint)

P.S. Happy upcoming holidays to everyone! 🎅🎅🎅

Preface

The Xsnow utility has been around for a very long time. According to the English Wikipedia, its origins date back to 1984, and then in the early 90s it moved to the X Window System (the classic Linux subsystem responsible for graphical display) thanks to its author Rick Jansen.

I’m not great at translating, so I’ll give a short excerpt from the wiki in English:

Xsnow is a software application that creates the appearance of snow falling on the elements of the graphical user interface of a computer system. Xsnow was originally created as a virtual greeting card for Macintosh systems in 1984. In 1993, the concept was ported to the X Window System as Xsnow, and was included on a number of Linux distributions in the late 1990s.

Wikipedia

While preparing the material, I discovered something interesting.

If you search xsnow on Yandex right now, you can see a cool reference! Snow will start falling in the browser and Santa will fly off about his business. Just like it looks in Xsnow. Honestly, I didn’t expect that from a search engine) paying tribute to old-school stuff) commendable)

Installing xsnow on Linux Mint

Before installing xsnow, I did a preliminary search in the Linux Mint repositories. Here’s what the short description of this package says:

BASH
sudo apt search xsnow
Click to expand and view more

Short and to the point)

So, to install the Xsnow utility on Linux Mint 21, run in the terminal:

BASH
sudo apt update

sudo apt install xsnow
Click to expand and view more

Updating the package cache

Installing xsnow

Done.

Configuring xsnow

You can launch the utility via the terminal or the main menu:

Launching xsnow

BASH
xsnow
Click to expand and view more

After launching, the default settings will apply and a bit of a mess will start on the desktop)

A bit of a mess)

You can explore the settings, there are quite a lot of them.

Personally, I prefer minimalism and usually turn off almost everything except the snow. I set the intensity and speed of the falling snow to my liking.

It looks roughly like this:

Xsnow minimalism)

If you share my views, you can copy my config into your system. To do this, you need to open and edit the configuration file ~/.xsnowrc (which has recently switched to XML format) in any text editor.

By the way, I recently had a note about a fork of the VSCode code editor stripped of telemetry, called — VSCodium. So let’s open the Xsnow config with it:

BASH
codium ~/.xsnowrc
Click to expand and view more

Replace the contents with:

This config is also available in my repo on GitHub.

By the way, the program’s config is generated automatically when opening the program’s graphical menu.

Save and close.

Setting Up xsnow Autostart

Now let’s set up the program’s autostart. To do this, go to the system settings, then the Startup Applications option:

Linux Mint settings menu

Click the + button to add:

Adding a program to autostart

Find xsnow, select it, and click Add Application:

Searching for xsnow

Now Xsnow will launch every time you log in.

Enabling autostart

For correct startup, let’s add a 5 second delay and a parameter that disables opening the program’s graphical window on launch:

BASH
xsnow -nomenu
Click to expand and view more

Interesting fact. The age of the program is also revealed by the syntax of its options — long options use a single dash instead of two.

Click Save:

Configuring autostart parameters

Done. To launch the program now, click the corresponding button, having first selected the desired application:

Launching the program

Sometimes I enable the flying Santa. This can be done by adding the corresponding parameter to the launch command:

BASH
xsnow -nomenu -showsanta
Click to expand and view more

Adding the Santa parameter

Let’s go

Video Demonstration

A while back, I recorded a short video demonstration of Xsnow. So I’ll just leave it here.

https://www.youtube.com/watch?v=5uF-a3WWBks

Demonstration of Xsnow in action

Copyright Notice

Author: Ivan Cherniy

Link: https://r4ven.me/en/software/xsnow-padayushhij-sneg-na-vashem-rabochem-stole-linux/

License: CC BY-NC-SA 4.0

Blog materials may be used with attribution to the author and source, for non-commercial purposes, and under the same license.

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut