catppuccin / sddm

🔒 Soothing pastel theme for SDDM
MIT License
290 stars 17 forks source link

Reboot and other buttons not working #20

Closed Z-xus closed 7 months ago

Z-xus commented 7 months ago

Hi, the reboot and other buttons in theme do not work for me, i.e. there is no response from them after clicking.. I am not sure how to debug, so I need some help..

System: Arch Linux x86_64 HP Notebook Intel i3-6100U (4) @ 2.300GHz Intel Skylake GT2 [HD Graphics] Linux 6.6.13-1-lts Hyprland

image

Log:

sddm-greeter --test-mode --theme /usr/share/sddm/themes/catppuccin-macchiato/
High-DPI autoscaling Enabled
Reading from "/usr/local/share/wayland-sessions/hyprland.desktop"
Reading from "/usr/share/wayland-sessions/hyprland.desktop"
Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.xml"
Loading theme configuration from "/usr/share/sddm/themes/catppuccin-macchiato//theme.conf"
Socket error:  "QLocalSocket::connectToServer: Invalid name"
Loading file:///usr/share/sddm/themes/catppuccin-macchiato//Main.qml...
file:///usr/share/sddm/themes/catppuccin-macchiato//Main.qml:18:3: QML Image: Cannot open: file:///usr/share/sddm/themes/catppuccin-macchiato//backgrounds/wall.jpg
Adding view for "eDP-1" QRect(0,0 1366x768)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QIODevice::write (QLocalSocket): device not open
QIODevice::write (QLocalSocket): device not open
QIODevice::write (QLocalSocket): device not open

I am a novice, so thank you for your time and patience.

isabelroses commented 7 months ago

It looks like your using the command sddm-greeter --test-mode --theme /usr/share/sddm/themes/catppuccin-macchiato/ (first line of log) to test the sddm login manager, this command is intended to test the greeter, therefore it does not contain the ablity to shut down.

Z-xus commented 7 months ago

It doesn't work in a normal login either, just showed it for important log info

isabelroses commented 7 months ago

Then I would assume that it would be caused by the fact your running SDDM under Wayland, inferred from this line qt.qpa.wayland: Wayland does not support QWindow::requestActivate(). Since SDDM is in an experimental stage with Wayland, this is likely the cause.

Z-xus commented 7 months ago

I see.. thanks.