GithubHelp home page GithubHelp logo

poibr01 / kano-greeter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kanocomputing/kano-greeter

0.0 1.0 0.0 201 KB

Python greeter for Kano OS

License: GNU General Public License v2.0

Python 97.94% CSS 0.18% Makefile 1.88%

kano-greeter's Introduction

kano-greeter

Python greeter for Kano OS. Uses LightDM to handle user sessions.

Main Greeter Screen Password Entry Screen

Installation

To install

python setup.py install

To use as the greeter, go to /etc/lightdm/lightdm.conf and change the greeter-session option to

greeter-session=kano-greeter

Alternatively, build the Debian package with

debuild -us -uc -b

And install by running

sudo dpkg -i <file_just_created>

Developing

Environment Setup

Copy kano-greeter.desktop to /usr/share/xgreeters

sudo cp config/kano-greeter.desktop /usr/share/xgreeters/kano-greeter-devel.desktop

Change the Exec parameter in it to the path to the executable (change the path to the cloned repo to be just that)

sudo sed -i 's|^\(Exec\=\).*|\1'`pwd`'/bin/kano-greeter|' /usr/share/xgreeters/kano-greeter-devel.desktop

Copy the LightDM config file and change the greeter to be the development one

cp /etc/lightdm/lightdm.conf lightdm-devel.conf
sudo sed -i 's|^\(greeter-session\=\).*|\1kano-greeter-devel|' lightdm-devel.conf

Testing

The greeter can be run after installation, for testing, as a regular X application with

lightdm --test-mode --debug --config=/path/to/lightdm-devel.conf

This will run as an unprivileged user and skip anything that requires root permissions.

Contributing

Before undertaking a big feature, contact us to discuss features that might be useful so that you don't waste your time!

  1. Fork it ( http://github.com/KanoComputing/kano-greeter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

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.