Doesn't work on Arch
Expected behavior Following instructions to change avatar and wallpaper should work. Settings should be accessible by moving mouse to bottom-left of the screen.
Actual behavior Changing the avatar and wallpapers leads to an error message along the lines of "Failed to load, fallback to default theme?". Hovering mouse in the bottom-left corner (or any corner) does not bring up the settings menu.
Steps To Reproduce
- Install via AUR
- Change avatar and wallpaper according to instructions
- Chmod 777 the avatar, wallpaper and directory they are in (just to eliminate permissions errors)
- Restart
- Press 'cancel' or 'fallback to default' when the error message pops up. Attempt to access settings by moving mouse to the bottom left.
If relevant, include logs from the following command:
sudo tail /var/log/lightdm/seat0-greeter.log
CONSOLE LOG [ERROR] theme_utils.dirlist(): Error opening directory “/home/jake/Pictures/wallpapers”: Permission denied
After this, I ran sudo chmod 777 -R /home/jake/Pictures/wallpapers and rebooted. Same error still applies. Confirmed that permissions are -rwxrwxrwx for all wallpaper image files and drwxrwxrwx for the directory itself.
lightdm-webkit2-greeter and LightDM itself doesn't allow nor recommend to "inspect" the home folder, no matter you change the permissions. You need to change the default background_images path to one that isn't inside the /home/ directory. Therefore, you could create a directory at /usr/share/backgrounds/aether (or wherever you want), copy your desired wallpapers to there, and set background_images to your desired path.
I have the same problem with the error message "fallback to default" but instead am having permission issues on /var/lib/lightdm-data and /run/lightdm/root/
I don't think that is a lightdm problem since lightdm runs fine, it just the theme that breaks, running on Arch, installed the theme via AUR and can confirm the permissions are granted for the lightdm user.
debug: lightdm --test-mode --debug
WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:1?: Permission denied
WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
WARNING: Could not create user data directory /var/lib/lightdm-data/said: Error creating directory /var/lib/lightdm-data/said: Permission denied
should I just chmod 777 the directories as @jakec-dev said? sounds as a solution but not security-centered tho...
Edit: used the debug method in the README, and got this problem:
** (lightdm-webkit2-greeter:1155): WARNING **: 12:07:03.372: [ERROR] :: A problem was detected with the current theme. Falling back to default theme... file:///usr/share/lightdm-webkit/themes/simple/index.html:194:10: CONSOLE JS ERROR ReferenceError: Can't find variable: lightdm
Is like that for other 3 times, it can't find the variable lightdm... so I don't have any idea why, I will read the source code to see if I can debug it myself but am clueless.
Thanks to @jakec-dev got the theme working with the chmod 777 and with wallpapers and icon as well, the solution to the icon is:
- Add the icon (png preferred) to
/var/lib/AccountsService/icons/ - Then, edit the config file at
/var/lib/AccountsService/users/$USERand add the icon path.
For the wallpapers as @JezerM said, just copy your preferred wallpaper to /usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/wallpapers and change it by clicking the arch icon.
Cheers
For the wallpapers as @JezerM said, just copy your preferred wallpaper to
/usr/share/lightdm-webkit/themes/lightdm-webkit-theme-aether/src/img/wallpapersand change it by clicking the arch icon. Cheers
~~Do I need to change the background_images wallpaper back to this directory as well?~~
Nevermind; got it working. Thanks so much!
Don't worry hope you enjoy g!