Giter VIP home page Giter VIP logo

radshift's Introduction

ℹ️ about

i'm a software developer at jusst.engineering.

📋 topics

  • embedded linux
  • audio streaming
  • mobile development

💾 languages

  • Rust
  • C
  • C++
  • Dart
  • Python

🧰 tools

  • Git
  • Docker
  • Linux tools
    • shell
    • systemd
    • ...
  • Yocto / OpenEmbedded
  • BuildRoot

radshift's People

Contributors

jerzybrzoska avatar thexhr avatar tronje avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

radshift's Issues

Make code conform to Linux coding style

The Linux coding style is pretty good. I would like to follow it. The current code is pretty close, but was written with 4-character tabs, which causes some lines to exceed 80 characters when 8-character tabs are used.

Add support for a configuration file

Currently, radshift is configured at compile-time. A config file that would allow radshift to read its configuration at runtime would be nice.

Failed to init randr!

doas radshift 3000K returns

Authorization required, but no authorization protocol specified
`RANDR Query Version' returned error -1
Failed to init randr!

I use Ubuntu 22.04LTS Desktop and doas instead of sudo.

(when compiling) include/gamma-randr.h:24:10: fatal error: xcb/randr.h: No such file or directory

Attempting to compile it I executed:

make && sudo make install

make gave me the following output:

gcc -Wall -Wextra -Wpedantic -Iinclude -Os -flto -c src/gamma-randr.c -o build/release/gamma-randr.o
In file included from src/gamma-randr.c:26:
include/gamma-randr.h:24:10: fatal error: xcb/randr.h: No such file or directory
   24 | #include <xcb/randr.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:60: build/release/gamma-randr.o] Error 1

My environment: Ubuntu Desktop 22.04LTS.
Could I be missing any dependencies?

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.