From 21878914de3afe53dbf40d9dbf72ef50777d06f3 Mon Sep 17 00:00:00 2001 From: Avadhkumar-geek Date: Wed, 23 Nov 2022 11:37:22 +0530 Subject: [PATCH] Renamed lightdm theme folder name because webkit_theme and lightdm theme's folder name was in conflict --- README.md | 78 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 40b242a..f8bad40 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,36 @@ # Aether + ###### ( lightdm-webkit-theme-aether ) + Inspired by a lifelong love with space. A Sleek, straightforward Archlinux themed login screen written on lightdm and the lightdm-webkit2-greeter. -## **[➡ ➡ Try the live demo of Aether here ⬅ ⬅](https://noisek.github.io/Aether/)** +## **[➡ ➡ Try the live demo of Aether here ⬅ ⬅](https://noisek.github.io/Aether/)** ![](../screenshots/screenshot.png) ## Table of Contents -- [Aether](#aether) - - [Features](#features) - - [Requirements](#requirements) - - [Installation](#installation) - - [Accessing the Settings Dialogue](#accessing-the-settings-dialogue) - - [Setting an Avatar Image](#setting-an-avatar-image) - - [Using Your Own Wallpapers](#using-your-own-wallpapers) - - [Modifying Date and Time Format](#modifying-date-and-time-format) - - [Troubleshooting](#troubleshooting) - - [My login screen hasn't changed!](#my-login-screen-hasnt-changed) - - [My screen is black!](#my-screen-is-black) - - [My system hangs at the boot screen!](#my-system-hangs-at-the-boot-screen) - - [The lock screen isn't using my lightdm theme!](#the-lock-screen-isnt-using-my-lightdm-theme) - - [Development](#development) - - [Running Tests](#running-tests) - - [Building Project](#building-project) - - [Monitoring Changes](#monitoring-changes) - - [Todo](#todo) - - [Credit](#credits) +- [Aether](#aether) + - [Features](#features) + - [Requirements](#requirements) + - [Installation](#installation) + - [Accessing the Settings Dialogue](#accessing-the-settings-dialogue) + - [Setting an Avatar Image](#setting-an-avatar-image) + - [Using Your Own Wallpapers](#using-your-own-wallpapers) + - [Modifying Date and Time Format](#modifying-date-and-time-format) + - [Troubleshooting](#troubleshooting) + - [My login screen hasn't changed!](#my-login-screen-hasnt-changed) + - [My screen is black!](#my-screen-is-black) + - [My system hangs at the boot screen!](#my-system-hangs-at-the-boot-screen) + - [The lock screen isn't using my lightdm theme!](#the-lock-screen-isnt-using-my-lightdm-theme) + - [Development](#development) + - [Running Tests](#running-tests) + - [Building Project](#building-project) + - [Monitoring Changes](#monitoring-changes) + - [Todo](#todo) + - [Credit](#credits) ## Features @@ -49,7 +51,8 @@ A Sleek, straightforward Archlinux themed login screen written on lightdm and th ![](../screenshots/wallpaper-switcher.gif) ## Requirements -- [lightdm-webkit2-greeter (aur/lightdm-webkit2-greeter )](https://github.com/Antergos/lightdm-webkit2-greeter) + +- [lightdm-webkit2-greeter (aur/lightdm-webkit2-greeter )](https://github.com/Antergos/lightdm-webkit2-greeter) ## Installation @@ -70,7 +73,7 @@ NOTE: Users performing a manual installation directly from Github should replace ``` # If you prefer the last stable release, download from the releases page instead: https://github.com/NoiSek/Aether/releases/latest git clone git@github.com:NoiSek/Aether.git -sudo cp --recursive Aether /usr/share/lightdm-webkit/themes/Aether +sudo cp --recursive Aether /usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether # Set default lightdm-webkit2-greeter theme to Aether sudo sed -i 's/^webkit_theme\s*=\s*\(.*\)/webkit_theme = lightdm-webkit-theme-aether #\1/g' /etc/lightdm/lightdm-webkit2-greeter.conf @@ -79,12 +82,10 @@ sudo sed -i 's/^webkit_theme\s*=\s*\(.*\)/webkit_theme = lightdm-webkit-theme-ae sudo sed -i 's/^\(#?greeter\)-session\s*=\s*\(.*\)/greeter-session = lightdm-webkit2-greeter #\1/ #\2g' /etc/lightdm/lightdm.conf ``` - ### **Accessing the Settings Dialogue** Hover over the bottom left of your screen to find the settings button. Once active, theme settings will remain open in a draggable dialogue window until dismissed. - ### **Setting an Avatar Image** ![](./src/img/default-user.png) @@ -92,17 +93,20 @@ Hover over the bottom left of your screen to find the settings button. Once acti Once LightDM, LightDM Webkit Greeter, and Aether are installed you will need to set an avatar image for your users. Size is irrelevant, and avatars will be displayed as a 125x125 circle (Yes, square images too). Users that don't have an avatar set will default to the [astronaut](./src/img/default-user.png). To accomplish this, you can do either of the following: -- Create an image in your home directory named `.face`. -- Append `Icon=/path/to/your/avatar.png` to the bottom of the file at `/var/lib/AccountsService/users/` + +- Create an image in your home directory named `.face`. +- Append `Icon=/path/to/your/avatar.png` to the bottom of the file at `/var/lib/AccountsService/users/` ### **Using Your Own Wallpapers** #### Method One: + Add and delete wallpapers within the `src/img/wallpapers/` directory as you see fit. By default, you will find this folder at the absolute path: `/usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/wallpapers/`. #### Method Two: + Edit the `background_images` value under `branding` within your lightdm-webkit config file located at `/etc/lightdm/lightdm-webkit2-greeter.conf`. -*Note: This ignores the default value of /usr/share/backgrounds, as this is always set and would prevent the default wallpapers from working. To use wallpapers from within that directory, create a subdirectory at /usr/share/backgrounds/aether (or any other folder name) and change your config value accordingly.* +_Note: This ignores the default value of /usr/share/backgrounds, as this is always set and would prevent the default wallpapers from working. To use wallpapers from within that directory, create a subdirectory at /usr/share/backgrounds/aether (or any other folder name) and change your config value accordingly._ ### **Modifying Date and Time Format** @@ -115,6 +119,7 @@ https://github.com/samsonjs/strftime#supported-specifiers ### My login screen hasn't changed! Make sure you have lightdm enabled via systemctl with `systemctl is-enabled lightdm.service`. If it isn't, follow up with: + ``` sudo systemctl enable lightdm.service ``` @@ -122,6 +127,7 @@ sudo systemctl enable lightdm.service ### My screen is black! Verify that your libgl / glx drivers are properly installed. Find any potential issues with your X config by switching to another TTY with Ctrl+Alt+F2 and trying: + ``` sudo cat /var/log/Xorg.0.log | grep -i "glx" ``` @@ -131,11 +137,13 @@ Are you able to run `glxinfo` without errors? ### My system hangs at the boot screen! Switch to another TTY with Ctrl+Alt+F2 and check your lightdm logs by running: + ``` sudo tail /var/log/lightdm/seat0-greeter.log ``` If you see something similar to: + ``` *** (lightdm:709): CRITICAL **: session_get_login1_session_id: assertion 'session != NULL' failed ``` @@ -158,26 +166,30 @@ echo "light-locker &" >> ~/.xprofile Make sure you have [Node](https://nodejs.org/en/) installed. -- `npm install` *(While in project directory)* +- `npm install` _(While in project directory)_ ### Running Tests + ``` npm run test ``` ### Building Project + ``` npm run build ``` ### Monitoring Changes + ``` npm run watch ``` ##### Credit -- *Bear by Yu luck from the Noun Project* -- *Power by Nikita Kozin from the Noun Project* -- *Arrow by Landan Lloyd from the Noun Project* -- Implements [Draggable](https://github.com/bcherny/draggable) by [bcherny](https://github.com/bcherny) -- Implements [React-Color](https://github.com/casesandberg/react-color) by [bcherny](https://github.com/casesandberg) + +- _Bear by Yu luck from the Noun Project_ +- _Power by Nikita Kozin from the Noun Project_ +- _Arrow by Landan Lloyd from the Noun Project_ +- Implements [Draggable](https://github.com/bcherny/draggable) by [bcherny](https://github.com/bcherny) +- Implements [React-Color](https://github.com/casesandberg/react-color) by [bcherny](https://github.com/casesandberg)