Closed orest58008 closed 1 year ago
Can you upload the logs from /var/log/regreet/log
after running ReGreet with regreet -l debug
? It seems like you posted the console output, which is just GTK warnings.
I have the same issue with regreet on Endeavor OS with hyprland. My config:
`[background] path = "/etc/greetd/nicepic.png" fit = "Contain"
[GTK] application_prefer_dark_theme = true cursor_theme_name = "Capitaine Cursors" font_name = "Cantarell 16" icon_theme_name = "oomox-Everforest-Dark" theme_name = "Everforest-Dark-B"
[commands] reboot = [ "systemctl", "reboot" ] poweroff = [ "systemctl", "poweroff" ]`
It seems like everything i have in [GTK] is ignored except for dark theme.
When i run the suggested command i get this in my terminal:
(process:3374): Gdk-WARNING **: 14:07:19.897: No such backend: * panicked at 'called
Result::unwrap()on an
Errvalue: BoolError { message: "Failed to initialize GTK", filename: "/build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk4-0.5.5/src/rt.rs", function: "gtk4::rt", line: 153 }', /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-0.5.0/src/lib.rs:110:17
and the logs in /var/log/regreet/log show this:
2023-08-13T14:07:19.897375149+02:00 ERROR regreet: panicked at 'called
Result::unwrap()on an
Errvalue: BoolError { message: "Failed to initialize GTK", filename: "/build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk4-0.5.5/src/rt.rs", function: "gtk4::rt", line: 153 }', /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-0.5.0/src/lib.rs:110:17
Sorry for not responding for a long time. I just briefly switched to lightdm
I slightly changed my config but nothing too serious
[background]
path = "/data/pictures/wallpapers/110473958_p0.jpg"
[env]
GRIM_DEFAULT_DIR=$HOME/Картинки/grim
MOZ_ENABLE_WAYLAND=1
QT_STYLE_OVERRIDE=kvantum
QT_QPA_PLATFORMTHEME=gtk3
[GTK]
application_prefer_dark_theme = true
font_name = "Inter 16"
theme_name = "Catppuccin-Mocha-Standard-Sapphire-Dark"
icon_theme_name = "Papirus-Dark"
cursor_theme_name = "posy-white"
[commands]
reboot = [ "systemctl", "reboot" ]
poweroff = [ "systemctl", "poweroff" ]
@kwossi There seems to be a GTK error. Does it also happen with Sway?
@Orest58008 In the pastebin you posted, the third line says that ReGreet couldn't read your config file properly. As for the config, you should quote the values of the environment variables. After doing that, please post the logs again.
Thanks, that fixed it. I forgot to "" a 1 in MOZ_ENABLE_WAYLAND=1
, thinking it would be fine because 1 is a number
My config is
, but ReGreet seems to follow none of it. Logs show only this:
What could be the problem? The owner of
/etc/greetd
and all files inside isgreeter
and it has video permissions.