Coder Social home page Coder Social logo

torunar / flying-toasters-xscreensaver Goto Github PK

View Code? Open in Web Editor NEW
63.0 1.0 3.0 20 KB

Classic flying toasters 2D screensaver for XScreensaver

License: MIT License

Makefile 1.21% C 97.29% Dockerfile 1.50%
after-dark flying-toasters xscreensaver

flying-toasters-xscreensaver's Introduction

Flying Toasters

Classic After Dark screensaver recreation for XScreensaver.

image

Installation

  1. Install XScreensaver. Check your distribution instructions on how to do it.
  2. Download flying-toasters anywhere on your computer, for example /usr/local/bin/flying-toasters.
  3. Add path to flying-toasters executable to the programs section in ~/.xscreensaver. It should look like this:
    programs:                                                                     \
                                    maze -root                                  \n\
    - GL:                           superquadrics -root                         \n\
    ...
    - GL:                           sphereeversion -root                        \n\
                                    /usr/local/bin/flying-toasters              \n\
    
  4. Launch XScreensaver and select "Flying-toasters" as your screensaver. It has no settings.

Building locally

  1. Install gcc and libx11-dev and libxpm-dev libraries.
  2. Run make build from the source code directory to build from source.
  3. Built screensaver will be put into the bin directory. Type make run to preview it in windowed mode.

flying-toasters-xscreensaver's People

Contributors

torunar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flying-toasters-xscreensaver's Issues

.xscreensaver

Change README.MD:
/usr/local/bin/bin/flying-toasters should not be put in .xscreensaver when saved in /usr/local/bin

(Lazy stupid me using copy/paste)

release - v1.1.0 built with newer dependencies: glibc

./flying-toasters_v1.1.0: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./flying-toasters_v1.1.0)

its pretty common to release with the latest newest desktop OS
for older os, people will need to compile their own!

(ubuntu 18.04)

Black screen instead of screensaver on Arch

When running via ./flying-toasters -windowed, everything works as expected, but when added to .xscreensaver like so:

  GL:                           hextrail --root                             \n\
                                /usr/local/bin/flying-toasters     \n\

...only a black screen appears when clicking the preview button.

I am running EndeavourOS / Arch.

make "fails" after build

gcc -o bin/flying-toasters src/flying-toasters.c -L/usr/lib -lX11 -lXpm -s -W -Wall
./bin/flying-toasters -windowed
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 2055 requests (2011 known processed) with 158 events remaining.
make: *** [Makefile:4: run] Error 1

this is because after exiting the -windowed open, make will fail
this should be changed so that it does not automatically open and instead suggests "how to open"

an auto failure like this isnt good for an automated make

Makefile:

run:
	echo "./bin/flying-toasters -windowed"

works fine for me. make finished successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.