Giter Site home page Giter Site logo

noisek / aether Goto Github PK

View Code? Open in Web Editor NEW
796.0 8.0 42.0 43.73 MB

A sleek ArchLinux login manager for lightdm-webkit. ( lightdm-webkit-theme-aether )

Home Page: https://noisek.github.io/Aether/

License: GNU General Public License v2.0

HTML 2.25% CSS 20.95% JavaScript 59.37% Sass 17.43%
lightdm-theme lightdm-webkit lightdm theme lockscreen greeter

aether's Introduction

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.

Table of Contents

Features

Stylish Default Themes

Advanced Customization

Multi User Support

Built-in Wallpaper Customization

Requirements

Installation

Recommended Automatic Installation

Available on the AUR. ArchLinux users can substitute pacaur with yaourt, packer, etc. as necessary and install with the following:

pacaur -S lightdm-webkit-theme-aether

Manual Installation

This assumes that you already have lightdm and lightdm-webkit2-greeter installed (but not configured).

NOTE: Users performing a manual installation directly from Github should replace the lightdm-webkit-theme-aether values in the provided sed commands with Aether to match the name of the theme directory. Users performing a manual installation from the AUR should make no changes.

# If you prefer the last stable release, download from the releases page instead: https://github.com/NoiSek/Aether/releases/latest
git clone [email protected]:NoiSek/Aether.git
sudo cp --recursive Aether /usr/share/lightdm-webkit/themes/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

# Set default lightdm greeter to lightdm-webkit2-greeter
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

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.

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/<youraccountname>

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.

Modifying Date and Time Format

The formatting symbols are not necessarily what you would expect them to be! See the following:

https://github.com/samsonjs/strftime#supported-specifiers

Troubleshooting

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

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"

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

Then you should try re-installing and / or reconfiguring your graphics drivers, especially if this occurred after a kernel update.

The lock screen isn't using my lightdm theme!

If you are using cinnamon, gnome, or any gnome derivative; Good Luck. The solution involves light-locker (community/light-locker), but conflicts with the existing lock / screensaver applications. There is no known way to resolve this.

If you are not using a gnome derivative, see below.

Solution:

echo "light-locker &" >> ~/.xprofile

Development

Make sure you have Node installed.

  • 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 by bcherny
  • Implements React-Color by bcherny

aether's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aether's Issues

Theme not working on Void Linux

I have tried to install this theme on Void Linux, but had no success. Other webkit2 themes work fine for me, but with Aether I get a black screen with a cursor, where I can't do anything (even with debug_mode and detect_theme_errors on), and the "errors in this theme" popup does not even show. When switching to a different tty and running lightdm manually, I get a black screen with a white underscore (not flashing) and my entire computer freezes, to the point that Ctrl-Alt-Delete doesn't even work, and I have to do a hard shutdown by holding the power button to restart.

If I start lightdm manually in this way, with sudo lightdm, reboot and check the seat0-greeter log, it says:

** (lightdm-webkit2-greeter:1154): WARNING **: {TIME}: Error running javascript:
 

No other errors appear in the logs.

White background without ability to change

Expected behavior
I expect to be able to click on the distro icon and change the background image.

Actual behavior
I just installed aether. I've managed to change the default avatar picture, but not the background image. Mostly everything is default, but I tried both the solutions here. I'm clicking the distro icon but nothing happens.

Steps To Reproduce
I'm not sure what to put here? I boot into Antergos (which I am actually using) and no background appears.

Screenshots
This is from executing lightdm-webkit2-greeter from terminal.
screenshot_2019-02-25_23-54-32

Here's my /etc/lightdm/lightdm-webkit2-greeter.conf

#
# [greeter]
# debug_mode          = Greeter theme debug mode.
# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
# screensaver_timeout = Blank the screen after this many seconds of inactivity.
# secure_mode         = Don't allow themes to make remote http requests.
# time_format         = A moment.js format string so the greeter can generate localized time for display.
# time_language       = Language to use when displaying the time or "auto" to use the system's language.
# webkit_theme        = Webkit theme to use.
#
# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format/
#

[greeter]
debug_mode          = false
detect_theme_errors = true
screensaver_timeout = 300
secure_mode         = true
time_format         = LT
time_language       = auto
webkit_theme = lightdm-webkit-theme-aether

#
# [branding]
# background_images = Path to directory that contains background images for use by themes.
# logo              = Path to logo image for use by greeter themes.
# user_image        = Default user image/avatar. This is used by themes for users that have no .face image.
#
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
#

[branding]
background_images = /usr/share/backgrounds/antergos/
logo              = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png
user_image        = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png

The path /usr/share/backgrounds/antergos is where Antergos keeps its default wallpapers.

Error: Error detected in the current theme that could interfere with system login process.

I tired setting up the theme but the background nor the logo appear and every time I click on anything I keep getting the same error.

screenshot from 2018-04-19 14-39-33
screenshot from 2018-04-19 14-39-47
screenshot from 2018-04-19 14-39-53

I ran ligthdm with
dm-tool add-nested-seat --screen 1200x800
so I could screenshot it and show the error. Sorry if im not very informative about the error im quite new at all of this but thought I could at least share the error... theme looks awesome btw!

Background images are vertically misaligned

Expected behavior
When using the same wallpaper in both the theme and on the desktop, logging out of one and transitioning to the other should show both images in the same position / ratio.

Actual behavior
Ratio is maintained, but the theme's background image doesn't match the vertical position of the desktop wallpaper.

Steps To Reproduce

  1. Use the same wallpaper in both Aether and on your local desktop
  2. Observe vertical position
  3. Login to the desktop
  4. Observe vertical position

Additional context
See: #47

Avatar does not show

I've tried the .face method and the /var/lib/AccountsService/users/<youraccountname> method and no avatar shows. Without changes to /var/lib/AccountsService/users/<youraccountname> or making a .face file, the default astronaut image also doesn't show up.

Installed via AUR.

It's a shame because this is easily the prettiest theme available for lightdm.

Unable to login

Can't login in system after logout it says wrong password.

Missing background images

Installed the theme and decided to test it out before I customize it. It loads perfectly, which is great, but it none of the included background images show up, nor do the customization options previewed in the readme. Clicking the logo doesn't make the logos show up. Running it in debug mode shows the following:

** (WebKitWebProcess:16075): WARNING **: Unable to determine socket to daemon

** (WebKitWebProcess:16075): WARNING **: Unable to determine socket to daemon

** (WebKitWebProcess:16075): CRITICAL **: lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' failed

I know nothing about JavaScript, or front end in general, so I'm not really sure what to make of these messages.

The greeter looks like this in its current configuration:

greeter_broken

(I deleted my name from the image, but it looks as you would expect)

I'm working on Debian, if it helps.

EDIT: After a restart, it appears the customization menu is opening, which is great! But the background images still aren't showing up.

Theme doesn't load properly

After installing the theme, upon reaching the greeter, a dialog appears indicating that an error was detected in the theme. If the dialog is ignored, the theme does load, but many UI elements are broken. The OS logo doesn't appear, the wallpapers don't load, and the drop-down menus and buttons in the settings menu are broken.

Some Logos Are Too Big

Expected behavior
All Logos Are Equal Size and Fit

Actual behavior
Some Logos are to big and as a result do not show correctly

Steps To Reproduce

  1. Go to The Hidden Menu
  2. Click on 'Logos'
  3. Scroll down and click on 'tux' , 'tux-silhouette' , 'debian' or 'generic'
  4. See Error

TEMPORARY WORKAROUND
This Is Fixable by using a tool that allows resizing and resize to 130x130, to get a Proper Logo that does fit
The Logos are found in src/img/logos

User avatar center

Im not sure if you dont want the user avatar off center but the fix is

        transform: translate(20px, 15px); } /* Change this to */
        transform: translate(16px, 13px); } /* This or something close * /

I have forked this awesome theme and made some small changes to colors, so I won't make a pull request.
Close if you want

✌️ :neckbeard:
Hippyjake

Settings dialog overflows off screen in style settings

Just another small thing -- the settings dialog for style should probably be laid out in a more landscape fashion.

As on my fairly common resolution laptop (1366x768) the bottom of the dialog is off screen and no matter where I move it I can't get to the bottom of it, and there is no way to resize it that I'm aware of currently.

Color Picker

Add color picker. Supplementary ticket.

Should support RGBA / HSLA.

How to set an initial background?

Hey,

Love this theme but, on first load i have a white background, no image is displayed until i click the distribution logo. Then it will cycle the backgrounds as expected.

Is there a way to set an initial background? And if not how can i resolve this behaviour since it detracts from what is otherwise, imo, one of the best themes available at present?

Thank you

Optionally use config file instead of localStorage values

Features

  • Adds an option to use a config file instead of manually setting on the login screen
  • Preview config file on change of checkbox
  • Use the default/localStorage value if a setting is not specified in config file

Pull request: #48

Why?
QOL for users who seldom change themes using the cli. Just like GTK apps, the theme will change instantly when the config file is updated. The config will be /etc/lightdm/lightdm-webkit2-greeter.conf.
Sample config file:


[greeter]
debug_mode          = false
detect_theme_errors = true
screensaver_timeout = 300
secure_mode         = true
time_format         = LT
time_language       = auto
webkit_theme        = lightdm-webkit-theme-aether

[branding]
background_images = /usr/share/pixmaps/backgrounds/
logo              = /usr/share/pixmaps/archlinux-logo.svg
user_image        = /usr/share/pixmaps/archlinux-user.svg

[aether]
wallpaper                             = nier-2b-circle.jpg
distro                                = /usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/logos/archlinux.png
default_user                          = kev
page_zoom                             = 1.0
avatar_enabled                        = true
avatar_size                           = 200px
avatar_shape                          = circle
font_scale                            = 1.0
date_enabled                          = true
date_format                           = <em>%A</em>, the <em>%o</em> of <em>%B</em>
experimental_stars_enabled            = false
time_enabled                          = true
time_format                           = %H:%M
hostname_enabled                      = true
user_switcher_enabled                 = true
command_shutdown_enabled              = true
command_reboot_enabled                = true
command_hibernate_enabled             = true
command_sleep_enabled                 = true
style_command_logo_desaturate         = false
style_command_logo_brightness         = 100
style_command_icons_enabled           = true
style_command_text_align              = left
style_command_background_color        = #050d10dd
style_command_icon_color              = #e44742
style_command_text_color              = #e44742
style_login_border_color              = #ffffff
style_login_border_enabled            = false
style_login_button_color              = #ffffff
style_login_button_text_color         = #e44742
style_login_gradient_top_color        = #050d10dd
style_login_gradient_bottom_color     = #050d10dd
style_login_username_bold             = true
style_login_username_capitalization   = default
style_login_username_color            = #ffffff
style_login_username_italic           = true
window_border_radius                  = 4px
window_font_size                      = 1em

Update AUR Install

webkit-theme needs to be changed to webkit_theme in the AUR installer.

Password does not work

Installed it, but it will not accept my password, does it have something to do with gnome ?

Lightdm version: 1.20
Greeter: 2.2.3-1
OS: Antergos

How to access the customization dialouge?

It's not entirely clear to me how to acces the customization dialogue from the greeter screen.

Also, is there an option to not capitalize the username? Cause i'd appreciate that :)

Visual Setting Presets

Initial theme presets for:

  • Light
  • Dark
  • Glass (Higher transparency)
  • Opaque (Lower transparency)

Which should combine with these color presets:

  • Orange
  • Blue
  • Green
  • Pink
  • Black

These are meant to be purely visual presets.

Write Tests

Need additional unit testing to mock user login / switching.

  • Add Mocha
  • Initial login tests
  • Initial user switching tests
  • Basic settings testing
  • Advanced lockscreen / session tests

Unable to login

Hi,

Just installed the theme on an Antergos system using pacaur. I use Gnome as my DE. a little fiddling with the lightdm-webkit2-greeter.conf file had the theme loading fine. There were just 2 problems.:

  • the background_images directive under branding wasn't being honoured
  • I couldn't login. Every time I entered my password, I got a notification drop down saying "Password incorrect, please try again."

I love the theme and would love to have it as my login screen, but not being able to login is a bit of a bummer :-/

If you can point me in the right direction, that would be great.

Cheers,
Paul

User Avatar not appearing.

The user avatar image should show in the circle.

However no avatar seems to show up. I have tried to switch it on and off in the settings as well as trying to set my own .face image which works in kde as it shows up as my avatar. However despite this, nothing works.

unable to save/set a default WM

Hi,

i like your work and would like to use it, but something annoys me. Everytime I want to login, I've to pick i3 from the drop-down menu. The default points to gnome.

I've followed your instructions from #20 (comment) but even with
user-session=i3 in /etc/lightdm/lightdm.conf it's not picking i3 by default

Settings not loaded (hidpi)

HiDPI value is stored but the greeter isn't resized using the scale factor after a reboot. It demands intervention every login.

The last chosen session isn't saved too.

Failed to start Light Display Manager Error Message

When I boot I am met with an error message and cannot see the greeter. This is the error message (apologies for phone picture):
img_3909

When I run the specified command from the image above, I see the following output:

jaday@j-arch-desktop ~> systemctl status lightdm.service
● lightdm.service - Light Display Manager
   Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-09-25 20:05:51 EDT; 52s ago
     Docs: man:lightdm(1)
  Process: 636 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
 Main PID: 636 (code=exited, status=1/FAILURE)
      CPU: 4ms

Sep 25 20:05:50 j-arch-desktop systemd[1]: lightdm.service: Failed with result 'exit-code'.
Sep 25 20:05:51 j-arch-desktop systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
Sep 25 20:05:51 j-arch-desktop systemd[1]: Stopped Light Display Manager.
Sep 25 20:05:51 j-arch-desktop systemd[1]: lightdm.service: Start request repeated too quickly.
Sep 25 20:05:51 j-arch-desktop systemd[1]: Failed to start Light Display Manager.
Sep 25 20:05:51 j-arch-desktop systemd[1]: lightdm.service: Unit entered failed state.
Sep 25 20:05:51 j-arch-desktop systemd[1]: lightdm.service: Failed with result 'exit-code'.

I have followed the troubleshooting in the Readme with no luck. The default lightdm-webkit2-greeter theme works and the gtk greeter works as well. Any ideas? This theme looks awesome and I would love to get it working on my system.

Hex colour value input disappears randomly

Not sure if you're aware already... but if you open the Style section of the settings dialog and go to pick a colour. If you start entering a hex value, it just randomly switches to RGBA or HSLA and does not allow you to input your hex colour code and when you try to click the up or down arrow to go back to hex value it's no longer available as an option.

This is highly frustrating as some colours I'd rather set via hex value.

Feature request: Optionally use /usr/share/backgrounds as images source

Hi,

I would like to propose the ability to toggle the use of /usr/share/backgrounds as an optional source for Aether to use. I understand it can utilise a directory under that location already but, i'd rather not since it potentially introduces replication as i would need to copy images into the new folder that i may already have under /usr/share/backgrounds for this to work.

Or is there an existing 'switch' to allow Aether to ignore the images supplied and only use /usr/share/backgrounds?

Thank you

Clock line broken

Hi, when I try to set clock to 12 hours by %r the AM/PM symbol doesn't stay at the same line, but when I set %T%p it stay at the same line (%T is 24 not 12, so it's strange to see something like 14:40:12PM).

%T%p

%r

Additional Settings

Extension to #3:

  • Font DPI - Simple DPI setting. Potentially blocked by Antergos/web-greeter#48
  • Font family - Will limit to 3 presets / manual to minimize dependencies on the AUR.~
  • Font size - Small, Medium, and Large global settings. Manual override for individual sections
  • Font color - Global, with manual overrides.~
  • Date / Time Format
  • Date / Time Visibility
  • Command Visibility - Notable specifically for users who will never use sleep or hibernate.
  • Avatar display - Should be able to change size, and shape.
  • Login Window Appearance - Adjust rounding from 0-∞. Adjust size (perhaps not feasible).

Requires #6.

Customization Dialogue

Add floating, hideable modal for configuring Aether at the login screen.

The first, most basic settings should involve being able to change the distro logo, and being able to disable animations on a per-item basis.

At present the theme does not respect the default lightdm distro logo setting, due to it defaulting to Antergos.

This dialogue should also come with fitting, premade logos to satisfy the above.

[SOLVED] An error detected in the current theme that could interfere with the system login process

Well I was trying some themes for the webkit2-greeter. I came across with yours and I love it! the issue here is that I can make it work :(

I get a black screen and then the text "An error detected in the current theme that could interfere with the system login process". I'm using the default theme for that reason.

I've read some possible issues with their solutions, sadly none of them worked for me.

I'm fairly new in the linux world, so if I need to send some logs or anything please tell me :)

EDIT: Sorry, I was the one who screwed everything. I was using the wrong package all the time.

The "experimental stars" feature freezes my computer

I tried enabling the "experimental stars" feature and now it freezes my computer whenever I bring up the lock screen. This prevents me from logging in but crucially it also prevents opening the settings dialogue to turn off the feature.

I've tried turning it off in /etc/lightdm/lightdm-webkit2-greeter.conf but that didn't work. Is it possible to turn it off without using the settings dialogue? (btw aside from this I love the theme 😛)

High Resolution images turn black once loaded

When changing backgrounds, I've noticed that high resolution background images turn black quickly after coming in. The image loads in and I can see it, but shortly after, the background image is just replaced with black. This only happens with high resolution images in my backgrounds folder. The lower resolution images stay as expected.

Black Screen 'LIGHTDM_IS_LANGUAGE (language)' failed

When I start lightdm I get a black screen with a mouse. System is responsive, I can move the mouse and other TTY's work.

I am running void linux and the default webkit greeters work

This seems to be the error

/var/log/lightdm/seat0-greeter.log :

** Message: 21:45:38.202: console message: file:///usr/share/lightdm-webkit/themes//Aether/dist/js/Aether.js @29: ReferenceError: Can't find variable: Symbol

Gdk-Message: 21:45:47.496: lightdm-webkit-greeter: Fatal IO error 4 (Interrupted system call) on X server :0. 

If I beautify Aether.js the error says the error is in this function on line 3946

 3884     "use strict";
 3885     Object.defineProperty(t, "__esModule", {
 3886         value: !0
 3887     }), t.SettingsReducer = void 0;
 3888     var r = Object.assign || function(e) {
 3889         for (var t = 1; t < arguments.length; t++) {
 3890             var n = arguments[t];
 3891             for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
 3892         }
 3893         return e
 3894     };
 3895     t.addAdditionalSettings = function(e) {
 3896         var t = {
 3897                 active: !1,
 3898                 minimized: !1,
 3899                 distro: !0 === window.__debug ? "src/test/logos/archlinux.png" : "/usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/logos/archlinux.png",
 3900                 page_zoom: 1,
 3901                 avatar_enabled: !0,
 3902                 avatar_size: "200px",
 3903                 avatar_shape: "circle",
 3904                 avatar_background_enabled: !0,
 3905                 font_scale: 1,
 3906                 date_enabled: !0,
 3907                 date_format: "<em>%A</em>, the <em>%o</em> of <em>%B</em>",
 3908                 experimental_stars_enabled: !1,
 3909                 time_enabled: !0,
 3910                 time_format: "%H:%M",
 3911                 hostname_enabled: !0,
 3912                 user_switcher_enabled: !0,
 3913                 command_shutdown_enabled: !0,
 3914                 command_reboot_enabled: !0,
 3915                 command_hibernate_enabled: !0,
 3916                 command_sleep_enabled: !0,
 3917                 command_icons_enabled: !0,
 3918                 command_text_align: "left",
 3919                 style_command_background_color: "hsla(0, 0%, 22%, 1)",
 3920                 style_command_icon_color: "hsla(349, 98%, 65%, 1)",
 3921                 style_command_text_color: "hsla(0, 100%, 100%, 1)",
 3922                 style_login_border_color: "hsla(0, 100%, 100%, 0.1)",
 3923                 style_login_border_enabled: !0,
 3924                 style_login_button_color: "hsla(0, 100%, 100%, 0.22)",
 3925                 style_login_gradient_top_color: "hsla(18, 100%, 61%, 0.66)",
 3926                 style_login_gradient_bottom_color: "hsla(339, 94%, 64%, 1)",
 3927                 style_login_username_color: "hsla(0, 100%, 100%, 1)",
 3928                 window_border_radius: "4px",
 3929                 window_font_size: "1em"
 3930             },
 3931             n = {},
 3932             i = !0,
 3933             a = !1,
 3934             s = void 0;
 3935         try {
 3936             for (var u, l = Object.keys(t)[Symbol.iterator](); !(i = (u = l.next()).done); i = !0) {
 3937                 var c = u.value;
 3938                 n[c] = o.requestSetting(c, t[c])
 3939             }
 3940         } catch (e) {
 3941             a = !0, s = e
 3942         } finally {
 3943             try {
 3944                 !i && l.return && l.return()
 3945             } finally {
 3946                 if (a) throw s
 3947             }
 3948         }
 3949         return r({}, e, {
 3950             settings: n,
 3951             cachedSettings: n
 3952         })
 3953     };```

Functional Setting Presets

Presets to satisfy the following:

  • Maximum Performance / Power saver (No CSS3 features, no animations, no transparency)
  • No animations
  • Single user mode
  • Manual login mode

These presets are purely meant to affect the way Aether works, rather than how it looks. Visual presets will be satisfied by: #4

Use current user desktop background as greeter background

Either through gsettings, xfconf, or whatever is used to hold the current desktop background location, add the ability to use the desktop background as the greeter background. If the desktop background is changed while the session is locked via variety or a background changing script, the greeter background should also change accordingly. If I understand how lightdm works, it isn't able to read images inside the /home folder. Luckily, variety is able to copy the current background to a usable location and set gsettings/xfconf accordingly. From looking at other available greeters, they suffer from this same limitation. Clicking on a different user should show that user's current background.

No way control default user

Is your feature request related to a problem? Please describe.
The problem is that I normally log into one of the two users on my machine. But this theme always defaults to the user that I don't often use. This means I have to "switch user" nearly every time I login.

Describe the solution you'd like
I would like the theme to remember which user I selected at login last time and default to that.

Describe alternatives you've considered
A different solution that could work is simply adding a setting that allows users to specify their desired default user.

"A Problem Occurred"

** (lightdm-webkit2-greeter:2278): WARNING **: [ERROR] :: A problem was detected with the current theme. Falling back to default theme...
undefined: CONSOLE ERROR Expected a string

I installed from the AUR and can run glxinfo with no errors. Any idea what could be causing the issue? The error message is certainly not very helpful.

Black Screen

Hi,
I'm getting a black screen. Running Archlinux with Nvidia drivers. I've installed the theme via the AUR package.

My /etc/lightdm/lightdm-webkit2-greeter.conf looks like

[greeter]
#webkit-theme = antergos
webkit-theme = lightdm-webkit-aether
debug_mode = false
screensaver-timeout = 300

/etc/lightdm/lightdm.conf looks like

[Seat:*]
...
greeter-session = lightdm-webkit2-greeter
...

sudo cat /var/log/Xorg.0.log | grep -i "glx" gives me

[ 2.083] (II) LoadModule: "glx"
[ 2.084] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2.154] (II) Module glx: vendor="NVIDIA Corporation"
[ 2.155] (II) NVIDIA GLX Module 370.28 Thu Sep 1 19:14:30 PDT 2016
[ 2.990] (II) Initializing extension GLX
[ 2.990] (II) Indirect GLX disabled.

I can run glxinfo without any errors.

When I run lightdm --teest-mode --debug I get a white screen in the test window and some lines bother me but I don't know if those are relevant

[+0.01s] WARNING: Error reading existing Xauthority: Failed to open file '/run/lightdm/root/:1': Permission denied
[+0.01s] WARNING: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.01s] DEBUG: DisplayServer x-1: Launching X Server
[+0.01s] DEBUG: Launching process 20866: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.01s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.08s] DEBUG: Got signal 10 from process 20866
[+0.08s] DEBUG: DisplayServer x-1: Got signal from X server :1
[+0.08s] DEBUG: DisplayServer x-1: Connecting to XServer :1
[+0.08s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.08s] DEBUG: Session: Not setting XDG_VTNR
[+0.08s] DEBUG: Session pid=20868: Started with service 'lightdm-greeter', username 'cram'

** (process:20868): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.10s] DEBUG: Session pid=20868: Authentication complete with return value 0: Success
[+0.10s] DEBUG: Seat seat0: Session authenticated, running command
[+0.10s] DEBUG: Session pid=20868: Not setting XDG_VTNR
[+0.10s] DEBUG: Session pid=20868: Running command /usr/bin/lightdm-webkit2-greeter
[+0.10s] DEBUG: Creating shared data directory /var/lib/lightdm-data/cram
[+0.10s] WARNING: Could not create user data directory /var/lib/lightdm-data/cram: Error creating directory /var/lib/lightdm-data/cram: Permission denied
[+0.10s] DEBUG: Session pid=20868: Logging to /home/cram/.cache/lightdm/log/seat0-greeter.log
[+0.21s] DEBUG: Greeter connected version=1.18.3 resettable=false

Avatar doesn't load

Hello,

I've been trying to get Avatars working with this theme for quite a while now, and I still don't know how to fix it. Right now, my user avatar shows up as some white area behind the background. I have tried creating a .face file, editing AccountsService (pointing to various locations in /home /var, and otherwise), as well as both of those at once, but it seems that no matter what I do, the theme thinks that my avatar is nonexistent.

I tried selecting the avatar in the "inspect element" tool in debug mode, and doing {element}.src on it, and it seems that it has no source.

It could be some bug or quirk in the JS I guess, but unfortunately the code for this theme seems to be written in some weird way that I can't understand.

I've tried setting user_image in the [branding] section of lightdm-webkit2-greeter.conf as well, no effect.

Is there anything I can do to diagnose/fix this?

Thanks.

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.