Giter Site home page Giter Site logo

gneelight's Introduction

Gneelight

A Yeelight controller for GNOME

Written in Python and GTK+ 3 using the Yeelight Python library.

Installation

Install using Flatpak (recommended)

The simplest way to install Gneelight is by using the provided Flatpak package:

wget https://github.com/vinsce/gneelight/releases/latest/download/gneelight.flatpak -O gneelight.flatpak
flatpak install --user gneelight.flatpak

Troubleshooting

If you receive the following error The application me.vinsce.Gneelight/x86_64/master requires the runtime org.gnome.Platform/x86_64/42 which was not found while installing, make sure you have the Flathub repository and the Gnome runtime installed:

flatpak --user remote-add --if-not-exists --from flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub org.gnome.Platform//42

Run from source (advanced)

If you want to run directly from the source code, first make sure you have the following dependencies installed:

  • AppIndicator3 Library
  • Python packages listed in the requirements file

In Ubuntu, you can install the dependencies using:

sudo apt-get install gir1.2-appindicator3-0.1
pip install -r requirements.txt

then clone this repository and start using Gneelignt:

git clone https://github.com/vinsce/gneelight.git
cd gneelight
sudo cp res/me.vinsce.Gneelight.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

python3 src/GneelightApp.py

Screenshot

screenshot

Note: feel free to contribute to the project and suggest new features.

License

This project is licensed under the GNU GPL v3 License - see the LICENSE file for details

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.