LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xsnow. It Is That Time Of The Year. (https://www.linuxquestions.org/questions/slackware-14/xsnow-it-is-that-time-of-the-year-850039/)

lopid 08-07-2019 04:02 PM

Quote:

Originally Posted by cwizardone (Post 6019059)
Ditto with Slackware64-current.

I'll wait. I've got until winter…

rworkman 08-12-2019 01:07 AM

That new xsnow linked above seems to work fine with Xfce 4.14, for what it's worth.

kgha 08-12-2019 02:06 AM

xsnow in @wvermin's link works great with MATE-1.22 and -current, thanks! :)

cwizardone 08-12-2019 09:30 AM

Quote:

Originally Posted by rworkman (Post 6024237)
That new xsnow linked above seems to work fine with Xfce 4.14, for what it's worth.

Well...... :) It is working at the moment in 4.12.x, but last night when I was using 4.14.0, it, XSnow, was not working properly. As reported elsewhere, Santa was a blur and the snow looked like string confetti.
I'll let the "dust settle" on 4.14 and try again in a week or two.
:)

While I think about it.... I had used src2pkg on the latest version of XSnow and that is what wasn't working last night. With that in mind, this morning, I deleted the package and used, "configure," then "make," and finally, "make install," and that is what is running properly at the moment in Xfce-4.12.x. Why that might make a difference I don't know.

lopid 08-13-2019 03:18 PM

Quote:

Originally Posted by cwizardone (Post 6024398)
Well...... :) It is working at the moment in 4.12.x,…



…this morning, I deleted the package and used, "configure," then "make," and finally, "make install," and that is what is running properly at the moment in Xfce-4.12.x. Why that might make a difference I don't know.

Standard Slackware 14.2? If you have gdkmonitor.h in your system, from whence did it come?

cwizardone 08-13-2019 03:57 PM

Xfce-4.12.x

As it says right about..........
..........
............
..............

<----here,

I'm running -current.
:)

lopid 08-13-2019 04:03 PM

Quote:

Originally Posted by cwizardone (Post 6024837)
I'm running -current.

Oh. Your swapping between 4.12 and 4.14 gave me the impression that you were switching between 14.2 and current, respectively. I guess current has a more up to date 4.12 (or, at least, gdkmonitor.h)!

cwizardone 10-29-2019 04:31 AM

Quote:

Originally Posted by lopid (Post 6022655)
I'll wait. I've got until winter…

We are almost there.
:)

mlangdn 10-29-2019 08:43 AM

Works fine for me on -current, with Plasma5. I downloaded the .deb and ran deb2tgz on it. Installed and ran kmenuedit to add it to Games. Seems fine - maybe the grandkids will get a kick out of it.

wvermin 10-29-2019 09:54 AM

About blurred Santa and confetti-snow: just try to click some buttons in the 'settings' panel. If you think you messed it up, kill xsnow and delete the file ~/.xsnowrc where xsnow keeps it's settings and preferences.

cwizardone 10-30-2019 11:12 AM

Quote:

Originally Posted by wvermin (Post 6051904)
About blurred Santa and confetti-snow: just try to click some buttons in the 'settings' panel. If you think you messed it up, kill xsnow and delete the file ~/.xsnowrc where xsnow keeps it's settings and preferences.

Well, ~/.xsnowrc is nowhere to be found. Ditto the control panel.
A couple of hours ago I deleted all the Xfce-4.12 configuration files and did a "fresh" installation of Xfce-14.14.
No joy. Santa and reindeer are a blur and the snow falls like string confetti.
I've gone as far as to remove the Nvidia driver and xorg.conf file and use the nouveau driver, but that didn't change a thing regarding Xsnow. All of this was with Xsnow-2.0.9.
I do remember seeing a control panel with version 2.0.7, but not with 2.0.9.

mlangdn 10-30-2019 05:56 PM

The executable for the Control Panel is in /usr/games.

I don't have an ~/.xsnowrc either.

wvermin 10-31-2019 01:42 AM

see my next post

wvermin 10-31-2019 01:54 AM

There is xsnow-2.0.13, maybe you can try that: https://sourceforge.net/projects/xsnow/files/
By default, xsnow installs as /usr/local/games/xsnow. If that does not function properly, please start xsnow from the command line and post the start-up messages.

To be sure to use the correct xsnow:
$ configure
$ make
$ src/xsnow

In the mean time, I will test the thing in a virtualbox slackware system to see what seems to be the problem.

mlangdn 10-31-2019 06:26 AM

This is just informational and not an answer to a specific post.

I didn't download the source. I downloaded xsnow_2.0.13-1_amd64.deb. I ran deb2tgz on that package to get xsnow_2.0.13-1_amd64.txz.

The resulting package installed to /usr, /usr/bin. The Control Panel was in /usr/games, which I added to the Games Kmenu through kmenuedit. Then I created a shortcut on the desktop. Xsnow works fine for me, that's how I did it on -current with Alien's Plasma5. YMMV :)

wvermin 11-02-2019 02:43 AM

Ok, I found this:

- in slackware_current:
- in KDE: xsnow runs just fine
- in xfce, fvwm2 etc: xsnow runs, but ugly

- in slackware 14.2:
Neither in KDE or XFCE or any other xsnow is running properly.
I managed to get it compiled, but there remain issues with
incompatible gtk+3: xsnow requires version 3.20 or better,
available is 3.18.

I run both slackware distributions in a virtualbox.

In ubuntu 19.04 in xfce, gnome, kde etc. xsnow runs fine, sometimes
a little tweak in the settings panel is necessary.

In both slackware distributions, there is an old version of
xsnow-1.42 installed in /usr/bin.
If you want to install the new xsnow, remove that first.
Files to remove are:
/usr/bin/xsnow
/usr/doc/xgames-0.3/xsnow/README
/usr/doc/xgames-0.3/xsnow/
/usr/man/man6/xsnow.6.gz

Installation of xsnow in standard locations:

tar xf xsnow-2.0.13.tar.gz
cd xsnow-2.0.13
./configure --prefix=/usr
make
sudo make install

to uninstall:
sudo make uninstall

Xsnow will be installed in /usr/games, the man page in /usr/man/man6
Xsnow remembers it's settings in ~/.xsnowrc .

cwizardone 11-02-2019 04:02 AM

Manys thanks for all your work on one of my favorite applications, but :) I've found Xshow-2.0.13 will not run in kde-4.whatever or kde-5. In both cases it appears to start, but is actually running underneath the desktop and you don't see if until you log out and kde goes through its shutdown procedure.
When I have the time I'll try it again... or maybe 2.0.7, which I think did work at one time.
Thanks, again.
:hattip:

wvermin 11-02-2019 04:19 AM

Are you sure you are using the new xsnow and not the old one which indeed runs behind the desktop?
Check: remove ~/.xsnowrc and start xsnow. If there is no ~/.xsnowrc, then you are not running xsnow-2.0.13

Succes!

mlangdn 11-02-2019 06:32 AM

I do have ~/.xsnowrc - I was looking at hidden folders and not files........what a rookie mistake.....

igadoter 11-02-2019 06:44 AM

Quote:

Originally Posted by GazL (Post 4190904)
All the modern desktop environments replace the X11 root window with their own full-screen window which holds desktop icons and what have you.

I think root window is not being replaced - it is covered by window the same size containing eg. plasma. Just try to run Plasma in twm - at least it worked with KDE 4. Plasma is just another window application and under twm plasma window can be iconified, replaced etc. Try to run xsnow and see if it is present in process list.

wvermin 11-02-2019 10:16 AM

Ok, a final tip: try clicking the button 'below' in the settings panel. By default it is on, which causes xsnow to run in a transparent widow below all other windows. When not activated, xsnow is running in front of everything else.

cwizardone 11-03-2019 10:25 AM

Quote:

Originally Posted by wvermin (Post 6053311)
Ok, a final tip: try clicking the button 'below' in the settings panel. By default it is on, which causes xsnow to run in a transparent widow below all other windows. When not activated, xsnow is running in front of everything else.

OK, that works with KDE-5.
Many thanks.
:hattip:

cwizardone 11-04-2019 12:31 PM

Quote:

Originally Posted by cwizardone (Post 6053646)
OK, that works with KDE-5.
Many thanks.
:hattip:

Ditto with Xfce-14.4.
:)

phenixia2003 11-04-2019 01:10 PM

1 Attachment(s)
Hello,

Works under fluxbox (with compton). The only drawback is that mouse clicks (without modifier like winkey, ctrl,...) are not passed to the root window (same issue encountered with conky>1.9.0, by the way). therefore, default mouse-click settings (ex right-click on desktop=open the root menu) do not work, and you need to use other settings (ex. winkey+rigth-click). Maybe xsnow offers something to prevent this which I didn't notice.

Attachment 31767

--
SeB

FTIO 11-06-2019 09:46 AM

<sigh>...Unfortunately not even 2.0.13 will 'make' in my 14.2 x64. I still get the 'gdk' error. Pretty bummed, as this has also for me been a much loved program since back in the KDE3 days.

cwizardone 11-07-2019 09:49 AM

Quote:

Originally Posted by wvermin (Post 6053222)
..........
Installation of xsnow in standard locations:

tar xf xsnow-2.0.13.tar.gz
cd xsnow-2.0.13
./configure --prefix=/usr
make
sudo make install

to uninstall:
sudo make uninstall

Xsnow will be installed in /usr/games, the man page in /usr/man/man6
Xsnow remembers it's settings in ~/.xsnowrc .

OK. I've been trying this, that and the other thing :) and the trick seems to be, as indicated above, to build it as user, but install it, of course, as root. I've always built and installed everything as root.
However, after doing so, xsnow is located in /usr/local/games, for whatever reasons, not /usr/games.
Regardless, it works in Xfce-4.14 and kde-5.
:)

rworkman 11-07-2019 09:50 PM

This should do what you want:
Code:

tar xvf xsnow-2.0.13.tar.gz
cd xsnow-2.0.13
./configure --prefix=/usr --mandir=/usr/man --build=x86_64-slackware-linux
make gamesdir=/usr/bin
make gamesdir=/usr/bin install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man6/xsnow.6
... go to $PKG and create the new package with makepkg ...


cwizardone 11-08-2019 08:04 AM

@rworkman,

Many thanks.

:hattip:

Slackovado 11-10-2019 07:00 PM

Quote:

Originally Posted by rworkman (Post 6055408)
This should do what you want:
Code:

tar xvf xsnow-2.0.13.tar.gz
cd xsnow-2.0.13
./configure --prefix=/usr --mandir=/usr/man --build=x86_64-slackware-linux
make gamesdir=/usr/bin
make gamesdir=/usr/bin install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man6/xsnow.6
... go to $PKG and create the new package with makepkg ...


Working on 14.2?

rworkman 11-10-2019 09:34 PM

Quote:

Originally Posted by Slackovado (Post 6056273)
Working on 14.2?

No idea. Try it and see.

kgha 11-11-2019 06:15 AM

1 Attachment(s)
Much obliged, definitely adds something to my desktop!
Attachment 31813

Geist 11-12-2019 03:09 AM

Quote:

Originally Posted by cwizardone (Post 4195361)
Ah, ha!
I've found that once "compositor" is turned off in Xfce, then the snow will accumulate on open windows as it is designed to do, without using any options when starting xsnow.
Ho, Ho, Ho.
:)

This is indeed the crux of xsnow, if you want it to work, and yes, it does work on Slackware 14.2, then you'll have to turn off compositing in your WM of choice.
They are either part of the WM suite, or 'third party' like compton for things like DWM, Xmonad and co.
I use Xmonad and compton, so if I want this program to do its designated task, I have to terminate compton.

cwizardone 12-02-2019 03:21 PM

https://www.airliners.net/ has "snow" on its main page, but no Santa.
:)

wigry 12-02-2019 03:50 PM

Quote:

Originally Posted by cwizardone (Post 6064039)
https://www.airliners.net/ has "snow" on its main page, but no Santa.
:)

Nice find. The snow also follows the mouse :)

As a pilot myself been a regular visitor to that site but probably not enough during December to notice the snow.

RedBlueYellow12 12-02-2019 03:50 PM

This might be stupid, but has anyone tried using a different wm in kde, like openbox? It might just not work with kwin, for some reason.

EDIT: was stupid, xsnow actually works now

cwizardone 12-20-2019 08:18 AM

Xsnow-2.0.15 on Xfce-4.14, just in time for Christmas.
:)
Santa is flying above the VLC window.

https://www.ratrabbit.nl/ratrabbit/c.../xsnow/visuals

Image removed. Please see message #90 below.
Merry Christmas.
:)

andrew.46 12-20-2019 11:47 AM

Quote:

Originally Posted by cwizardone (Post 6069746)
Xsnow-2.0.15 on Xfce-4.14, just in time for Christmas.

Definitely a sense of North and South Hemisphere in this thread: while the north is getting ready for a cool Xmas my own country of Australia is burning with 45 degrees celcius forecast today :(

Hannes Worst 12-20-2019 01:22 PM

Quote:

Originally Posted by andrew.46 (Post 6069836)
Definitely a sense of North and South Hemisphere in this thread: while the north is getting ready for a cool Xmas my own country of Australia is burning with 45 degrees celcius forecast today :(

Yes, it is terrible what is happening in Australia these days. Our hearts are with your country these days. I hope the situation will improve quickly.

cwizardone 12-23-2019 10:50 AM

1 Attachment(s)
Here is XSnow-2.0.15 on KDE-5_19.12 (Thank you AlienBob), runnng on Slackware64-current (up to the minute with kernel 5.4.6).

cwizardone 12-25-2019 01:12 AM

1 Attachment(s)
Merry Christmas to You and Yours!
:hattip:

Xsnow-2.0.15 on Xfce-4.14, showing the Whisker Menu plug-in,

cwizardone 12-31-2019 03:45 PM

Quote:

Originally Posted by wvermin (Post 6017832)
A new version of xsnow is available on sourceforge:

https://sourceforge.net/projects/xsnow/

From the website:

Finally, a working xsnow for Gnome, KDE, etc. Based on the original xsnow-1.42 created by Rick Jansen, after the xsnow-2019 conference in Antas (Spain) we now have available a xsnow that works on many desktop environments, even Raspian. By request of many beta-testers, a graphical front end has been created as well.

Thanks for all your hard work!
Over the last couple of weeks I've been running xsnow daily and your improvements are greatly appreciated! Much better, IMHO, than the original, which I ran a few days ago so as to make a comparison.
Again, many thanks
and
Happy New Year!
:hattip:

mlangdn 01-01-2020 08:38 AM

Thanks for xsnow wvermin! I just downloaded and installed your latest and it is looking great. The younger grandkids get a big kick out of it!

Turbocapitalist 01-01-2020 09:14 AM

If you have web pages, then there is also this clever CSS snow trick:

https://christine.website/blog/let-it-snow-2018-12-17

Cabbie001 01-05-2020 03:49 PM

I notice these are rather old posts, but just for the record xsnow (version 1.42) seems to run fine on my Slackware 14.2 i386 system for Fluxbox, WindowMaker, X Afterstep, and Xfce; but as others have noted, not under KDE. However I'm happy that xsnow still well supported under Slackware and it confirms for me that the OS is true to its roots despite embracing newer features.

cwizardone 01-09-2020 06:28 AM

Just FYI, :) Xsnow-2.0.15 runs perfectly on kde-4 and 5, and Xfce-4.12 and 4.14.
I know "the season" is over, but I'm still running it and have been looking to see if there is a way to have it start automatically, like a screensaver, when I'm not at the computer.

mlangdn 01-09-2020 06:37 AM

I still run it since it could really snow at any time. I just took out Santa.

Geist 01-09-2020 08:54 AM

Maybe Santa needs a replacement for those times.
Like a snowplow, or something.

cwizardone 01-09-2020 09:32 PM

1 Attachment(s)
Here is Xsnow-2.0.15 on -current with kde-5 and the 5.4.10 kernel,

FTIO 10-17-2020 09:41 AM

I just downloaded the latest, 3.1.1 tarball.

I checked the 'dependencies' file and I have everything on it (all 5).

As user, configure worked fine, then here's what I got at the end of 'make'...

Code:

hashtable.cpp:33:100: note: #pragma message: hashtable.cpp:
Using map for the hash table, because unordered_map is not available.
 FILE__ ":\nUsing map for the hash table, because unordered_map is not available.")
                                                                                  ^
hashtable.cpp: In function 'void table_clear(void (*)(void*))':
hashtable.cpp:59:18: error: 'it' does not name a type
      for ( auto it = table.begin(); it != table.end(); ++it )
                  ^
hashtable.cpp:59:38: error: expected ';' before 'it'
      for ( auto it = table.begin(); it != table.end(); ++it )
                                      ^
hashtable.cpp:59:38: error: 'it' was not declared in this scope
hashtable.cpp: At global scope:
hashtable.cpp:73:81: note: #pragma message: hashtable.cpp:
Using set, because unordered_set is not available.
 #pragma message(__FILE__ ":\nUsing set, because unordered_set is not available.")
                                                                                ^
Makefile:1144: recipe for target 'xsnow-hashtable.o' failed
make[4]: *** [xsnow-hashtable.o] Error 1
make[4]: Leaving directory '/home/john/built/xsnow-3.1.1/src'
Makefile:1247: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/john/built/xsnow-3.1.1/src'
Makefile:616: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/john/built/xsnow-3.1.1/src'
Makefile:392: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/john/built/xsnow-3.1.1'
Makefile:333: recipe for target 'all' failed
make: *** [all] Error 2

Any idea(s) what this is or what's happening incorrectly on my 14.2 x64 (not 'current', just the standard 14.2 of a few years of age, heh)?

cwizardone 10-17-2020 09:55 AM

1 Attachment(s)
Well, it is just about "that time of the year." Halloween is 2 weeks from today, then Thanksgiving and Christmas. After the heat wave we have been having here, I would welcome a little snow.
Here is XSnow-2.0.15 running on KDE-4 with the 5.9.1 kernel and the nouveau driver.


All times are GMT -5. The time now is 11:42 AM.