diff --git a/README.md b/README.md index 0a31d4f..6356f9a 100755 --- a/README.md +++ b/README.md @@ -2,12 +2,58 @@ The lightdm web-greeter theme for altlinux OSes ![](https://git.markow.su/markow/git-utils/raw/branch/master/screenshots/web-greeter-theme-basealt-1.png) +# Install +``` +# echo "rpm http://packages.markow.su/altlinux p10/branch/x86_64 classic" > /etc/apt/sources.list.d/markow.list +# echo "rpm http://packages.markow.su/altlinux p10/branch/noarch classic" >> /etc/apt/sources.list.d/markow.list + +# apt-get update +# apt-get install web-greeter-theme-basealt +``` + +# Configure +## Set web-greeter as greeter-session for lightdm +``` +# pluma /etc/lightdm/lightdm.conf +``` +Set greeter-session to web-greeter + +## Set basealt theme +``` +# pluma /etc/lightdm/web-greeter.yml +``` +Change "theme" config to basealt + +## Set user logo for theme +``` +# mkdir -p /var/lib/lightdm-data/$USER +# cp .png /var/lib/lightdm-data/$USER/face.png +``` + +# Packaging +To pack own rpm pckage: +``` +# apt-get update +# apt-get install hasher gear + +$ git clone https://git.markow.su/markow/web-greeter-theme-basealt.git +$ cd web-greeter-theme-basealt + +$ mkdir ~/.hasher +$ hsh --initroot ~/.hasher +$ gear-hsh -v ~/.hasher --target=noarch --no-sisyphus-check +``` +To use your own rpm: +1. point your apt to your local hasher repo +2. do apt-get update +3. do apt-get install web-greeter-theme-basealt + # Features * Select a user * Select a session * Select a wallpapper * Store settings -* User logo ca be shown if it is set in greeter for the user +* User logo can be shown if it is set in greeter for the user