shell icon indicating copy to clipboard operation
shell copied to clipboard

[BUG] Logout button gives black screen

Open praneeth6336 opened this issue 1 year ago • 6 comments

Step 1. Before you submit

  • [x] I have read the above instructions and am sure that this is supposed to be posted here.
  • [x] I've successfully updated to the latest versions following the updating guide.
  • [x] I've successfully updated the system packages to the latest.
  • [ ] I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info
Packages:
    caelestia-shell-git not installed
    caelestia-meta not installed
    caelestia-cli-git r265.2bde2dd-1

Caelestia:
    Last commit: ed839182960fa4adf8cd63a8441601fc4af3ceb9
    Commit message: hyprland: fix script shebang (#48)  

Quickshell:
    quickshell 0.2.0, revision a5431dd02dc23d9ef1680e67777fed00fe5f7cda, distributed by: chaotic-aur/quickshell-git

Step 3. Describe the issue

When I press logout button from the session menu, it gives me a black screen with a underscroll blinking. I suspect the line in "config/SessionConfig.qml" which executes 'loginctl terminate-user' which is aggressive. I changed it to 'hyprctl dispatch exit' which solved the issue. This might be a hyprland only issue....

Logs
<!-- Put your log content here!-->

Reminder

  • [x] I agree that it's usually impossible for others to help me without my logs.

praneeth6336 avatar Aug 03 '25 12:08 praneeth6336

I have this issue as well. Changing SessionConfig.qml to hyprctl dispatch exit fixed it.

cshah25 avatar Aug 03 '25 17:08 cshah25

You can change the command in the config

Image

soramanew avatar Aug 04 '25 06:08 soramanew

You can change the command in the config Image

can i ask you where is the config file? or is it the shell.jscon?

KillerQueen212 avatar Sep 06 '25 12:09 KillerQueen212

You can change the command in the config Image

can i ask you where is the config file? or is it the shell.jscon?

Its ~/.config/caelestia/shell.json and you can find the example config file in the README section

ghost avatar Sep 06 '25 14:09 ghost

You can add the following to the shell.json file: { "session": { "commands": { "logout": ["hyprctl", "dispatch", "exit"] } } }

praneeth6336 avatar Sep 06 '25 14:09 praneeth6336

change your caelestia config to this:

{ "appearance": { "anim": { "durations": { "scale": 1 } }, "font": { "family": { "clock": "Rubik", "material": "Material Symbols Rounded", "mono": "CaskaydiaCove NF", "sans": "Rubik" }, "size": { "scale": 1 } }, "padding": { "scale": 1 }, "rounding": { "scale": 1 }, "spacing": { "scale": 1 }, "transparency": { "enabled": false, "base": 0.85, "layers": 0.4 } }, "general": { "apps": { "terminal": ["foot"], "audio": ["pavucontrol"], "playback": ["mpv"], "explorer": ["thunar"] }, "battery": { "warnLevels": [ { "level": 20, "title": "Low battery", "message": "You might want to plug in a charger", "icon": "battery_android_frame_2" }, { "level": 10, "title": "Did you see the previous message?", "message": "You should probably plug in a charger now", "icon": "battery_android_frame_1" }, { "level": 5, "title": "Critical battery level", "message": "PLUG THE CHARGER RIGHT NOW!!", "icon": "battery_android_alert", "critical": true } ], "criticalLevel": 3 }, "idle": { "lockBeforeSleep": true, "inhibitWhenAudio": true, "timeouts": [ { "timeout": 180, "idleAction": "lock" }, { "timeout": 300, "idleAction": "dpms off", "returnAction": "dpms on" }, { "timeout": 600, "idleAction": ["systemctl", "suspend-then-hibernate"] } ] } }, "background": { "desktopClock": { "enabled": false }, "enabled": true, "visualiser": { "blur": false, "enabled": false, "autoHide": true, "rounding": 1, "spacing": 1 } }, "bar": { "clock": { "showIcon": true }, "dragThreshold": 20, "entries": [ { "id": "logo", "enabled": true }, { "id": "workspaces", "enabled": true }, { "id": "spacer", "enabled": true }, { "id": "activeWindow", "enabled": true }, { "id": "spacer", "enabled": true }, { "id": "tray", "enabled": true }, { "id": "clock", "enabled": true }, { "id": "statusIcons", "enabled": true }, { "id": "power", "enabled": true } ], "persistent": true, "popouts": { "activeWindow": true, "statusIcons": true, "tray": true }, "scrollActions": { "brightness": true, "workspaces": true, "volume": true }, "showOnHover": true, "status": { "showAudio": false, "showBattery": true, "showBluetooth": true, "showKbLayout": false, "showMicrophone": false, "showNetwork": true, "showLockStatus": true }, "tray": { "background": false, "compact": false, "iconSubs": [], "recolour": false }, "workspaces": { "activeIndicator": true, "activeLabel": "󰮯", "activeTrail": false, "label": " ", "occupiedBg": false, "occupiedLabel": "󰮯", "perMonitorWorkspaces": true, "showWindows": true, "shown": 5, "specialWorkspaceIcons": [ { "name": "steam", "icon": "sports_esports" } ] }, "excludedScreens": [""], "activeWindow": { "inverted": false } }, "border": { "rounding": 25, "thickness": 10 }, "dashboard": { "enabled": true, "dragThreshold": 50, "mediaUpdateInterval": 500, "showOnHover": true }, "launcher": { "actionPrefix": ">", "actions": [ { "name": "Calculator", "icon": "calculate", "description": "Do simple math equations (powered by Qalc)", "command": ["autocomplete", "calc"], "enabled": true, "dangerous": false }, { "name": "Scheme", "icon": "palette", "description": "Change the current colour scheme", "command": ["autocomplete", "scheme"], "enabled": true, "dangerous": false }, { "name": "Wallpaper", "icon": "image", "description": "Change the current wallpaper", "command": ["autocomplete", "wallpaper"], "enabled": true, "dangerous": false }, { "name": "Variant", "icon": "colors", "description": "Change the current scheme variant", "command": ["autocomplete", "variant"], "enabled": true, "dangerous": false }, { "name": "Transparency", "icon": "opacity", "description": "Change shell transparency", "command": ["autocomplete", "transparency"], "enabled": false, "dangerous": false }, { "name": "Random", "icon": "casino", "description": "Switch to a random wallpaper", "command": ["caelestia", "wallpaper", "-r"], "enabled": true, "dangerous": false }, { "name": "Light", "icon": "light_mode", "description": "Change the scheme to light mode", "command": ["setMode", "light"], "enabled": true, "dangerous": false }, { "name": "Dark", "icon": "dark_mode", "description": "Change the scheme to dark mode", "command": ["setMode", "dark"], "enabled": true, "dangerous": false }, { "name": "Shutdown", "icon": "power_settings_new", "description": "Shutdown the system", "command": ["systemctl", "poweroff"], "enabled": true, "dangerous": true }, { "name": "Reboot", "icon": "cached", "description": "Reboot the system", "command": ["systemctl", "reboot"], "enabled": true, "dangerous": true }, { "name": "Logout", "icon": "exit_to_app", "description": "Log out of the current session", "command": ["hyprctl", "dispatch", "exit"], "enabled": true, "dangerous": true }, { "name": "Lock", "icon": "lock", "description": "Lock the current session", "command": ["loginctl", "lock-session"], "enabled": true, "dangerous": false }, { "name": "Sleep", "icon": "bedtime", "description": "Suspend then hibernate", "command": ["systemctl", "suspend-then-hibernate"], "enabled": true, "dangerous": false } ], "dragThreshold": 50, "vimKeybinds": false, "enableDangerousActions": false, "maxShown": 7, "maxWallpapers": 9, "specialPrefix": "@", "useFuzzy": { "apps": false, "actions": false, "schemes": false, "variants": false, "wallpapers": false }, "showOnHover": false, "hiddenApps": [] }, "lock": { "recolourLogo": false }, "notifs": { "actionOnClick": false, "clearThreshold": 0.3, "defaultExpireTimeout": 5000, "expandThreshold": 20, "openExpanded": false, "expire": false }, "osd": { "enabled": true, "enableBrightness": true, "enableMicrophone": false, "hideDelay": 2000 }, "paths": { "mediaGif": "root:/assets/bongocat.gif", "sessionGif": "root:/assets/kurukuru.gif", "wallpaperDir": "~/Pictures/Wallpapers" }, "services": { "audioIncrement": 0.1, "maxVolume": 1.0, "defaultPlayer": "Spotify", "gpuType": "", "playerAliases": [{ "from": "com.github.th_ch.youtube_music", "to": "YT Music" }], "weatherLocation": "", "useFahrenheit": false, "useTwelveHourClock": false, "smartScheme": true, "visualiserBars": 45 }, "session": { "dragThreshold": 30, "enabled": true, "vimKeybinds": false, "commands": { "logout": ["hyprctl", "dispatch", "exit"], "shutdown": ["systemctl", "poweroff"], "hibernate": ["systemctl", "hibernate"], "reboot": ["systemctl", "reboot"] } }, "sidebar": { "dragThreshold": 80, "enabled": true }, "utilities": { "enabled": true, "maxToasts": 4, "toasts": { "audioInputChanged": true, "audioOutputChanged": true, "capsLockChanged": true, "chargingChanged": true, "configLoaded": true, "dndChanged": true, "gameModeChanged": true, "kbLayoutChanged": true, "numLockChanged": true, "vpnChanged": true, "nowPlaying": false }, "vpn": { "enabled": false, "provider": [ { "name": "wireguard", "interface": "your-connection-name", "displayName": "Wireguard (Your VPN)" } ] } } }

Kuroum avatar Dec 25 '25 19:12 Kuroum