Code Monkey home page Code Monkey logo

noflipqlo's Introduction

Jacek Kuźniarski

I get paid for working on Android apps since 2013. Linux stuff I do in my spare time since 2006.

I sometimes go by Joel Bodega (easier one for non Polish folks)

  • Kotlin for Android, Bash for Linux/BSD
  • But also Java, C#, Python, C/++
  • If you posted your code on reddit, I probably left CR over @github
  • I usually open source designs unrelated to software

noflipqlo's People

Contributors

bhm avatar dperelman avatar nshopik avatar rbryan avatar

Stargazers

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

Watchers

 avatar  avatar

noflipqlo's Issues

noflipqlo cpu usage

Hi there , first thanks for this software, i looks very good.

I am having a few performance issues with noflipqlo, it uses way to much cpu.

I would like to know if there is a option to decrease frame rate on the application, like some xscreensavers have the option "-delay"

Fail to make on Linux Mint Maya

leandros@leandros-linux-desktop ~/Documents/noflipqlo $ make
g++ -Wall `sdl-config --cflags`  `sdl-config --libs` -lX11 -lSDL_ttf -lSDL_gfx main.cpp -o noflipqlo 
/tmp/ccKOH9kK.o: In function `checkEmit(unsigned int, void*)':
main.cpp:(.text+0x5f): undefined reference to `SDL_PushEvent'
/tmp/ccKOH9kK.o: In function `initSDL()':
main.cpp:(.text+0x9e): undefined reference to `SDL_Init'
main.cpp:(.text+0xaa): undefined reference to `SDL_GetError'
/tmp/ccKOH9kK.o: In function `initRescouces()':
main.cpp:(.text+0xec): undefined reference to `SDL_SetVideoMode'
main.cpp:(.text+0x183): undefined reference to `TTF_OpenFont'
main.cpp:(.text+0x1b9): undefined reference to `TTF_OpenFont'
main.cpp:(.text+0x1e4): undefined reference to `TTF_OpenFont'
main.cpp:(.text+0x21a): undefined reference to `TTF_OpenFont'
main.cpp:(.text+0x405): undefined reference to `SDL_AddTimer'
main.cpp:(.text+0x44c): undefined reference to `SDL_GetError'
/tmp/ccKOH9kK.o: In function `drawRoundedBackground(SDL_Surface*, SDL_Rect*)':
main.cpp:(.text+0x6e3): undefined reference to `SDL_Flip'
/tmp/ccKOH9kK.o: In function `drawDivider(SDL_Surface*)':
main.cpp:(.text+0x86e): undefined reference to `SDL_MapRGBA'
main.cpp:(.text+0x883): undefined reference to `SDL_FillRect'
main.cpp:(.text+0x88f): undefined reference to `SDL_Flip'
/tmp/ccKOH9kK.o: In function `drawAMPM(SDL_Surface*, tm*)':
main.cpp:(.text+0x95b): undefined reference to `TTF_RenderText_Blended'
main.cpp:(.text+0x978): undefined reference to `SDL_UpperBlit'
main.cpp:(.text+0x984): undefined reference to `SDL_Flip'
/tmp/ccKOH9kK.o: In function `drawTime(SDL_Surface*, tm*)':
main.cpp:(.text+0xa5c): undefined reference to `TTF_RenderText_Blended'
main.cpp:(.text+0xa91): undefined reference to `SDL_UpperBlit'
main.cpp:(.text+0xaad): undefined reference to `TTF_RenderText_Blended'
main.cpp:(.text+0xae2): undefined reference to `SDL_UpperBlit'
main.cpp:(.text+0xaee): undefined reference to `SDL_Flip'
/tmp/ccKOH9kK.o: In function `main':
main.cpp:(.text+0xba4): undefined reference to `XOpenDisplay'
main.cpp:(.text+0xbcd): undefined reference to `XGetWindowAttributes'
main.cpp:(.text+0xbd9): undefined reference to `XCloseDisplay'
main.cpp:(.text+0x1040): undefined reference to `TTF_Init'
main.cpp:(.text+0x104f): undefined reference to `SDL_ShowCursor'
main.cpp:(.text+0x1054): undefined reference to `SDL_Quit'
main.cpp:(.text+0x105e): undefined reference to `TTF_Quit'
main.cpp:(.text+0x108b): undefined reference to `SDL_SetVideoMode'
main.cpp:(.text+0x10ab): undefined reference to `SDL_SetVideoMode'
main.cpp:(.text+0x11bf): undefined reference to `SDL_PollEvent'
main.cpp:(.text+0x11ee): undefined reference to `SDL_MapRGB'
main.cpp:(.text+0x1204): undefined reference to `SDL_FillRect'
main.cpp:(.text+0x121e): undefined reference to `SDL_FreeSurface'
main.cpp:(.text+0x122d): undefined reference to `TTF_CloseFont'
main.cpp:(.text+0x123c): undefined reference to `TTF_CloseFont'
main.cpp:(.text+0x1290): undefined reference to `SDL_GetError'
collect2: ld returned 1 exit status
make: *** [noflipqlo] Error 1

crash after running for while

I've noticed that sometimes noflipqlo will "crash" and dump yellow text of coordinates and some other stuff on screen. I wonder if this is related to #10 but I've seen this on single monitor configuration too

droid fonts are not working

So, on ubuntu 16.04

Package fonts-droid is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  fonts-droid-fallback

then I installed fonts-droid-fallback

then

/usr/lib/xscreensaver/noflipqlo -ampm

gave

Full Screen Resolution : 1920x1080
TTF_OpenFont: Couldn't open /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf
Background size 288
[1]    23035 segmentation fault (core dumped)  /usr/lib/xscreensaver/noflipqlo -ampm

could not work. then created a symlink

sudo ln -s /usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf

it worked but display was totally jagged now

screenshot from 2016-08-07 12-31-57

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.