Skip to content

Plasma Login Manager not Respecting Steam Set Session #123

@andy10115

Description

@andy10115

Plasma Login Managers seems like it's ignoring drop in overrides. I have to explicitly tell it to use the correct .conf by replacing the current contents of /usr/lib/steamos/steam-set-session with the following:

#!/bin/bash
set -e
DISPLAY_MANAGER="$(systemctl show -p Id --value display-manager)"
case "${DISPLAY_MANAGER%.service}" in
    plasmalogin) CONF_FILE="/etc/plasmalogin.conf";;
    sddm) CONF_FILE="/etc/sddm.conf.d/zz-steamos-autologin.conf";;
esac
# Don't do anything if system is using unsupported display manager
[[ -z "$CONF_FILE" ]] && exit 0
# Session, gamescope or plasma
SESSION="${1:-gamescope-session.desktop}"
if [[ ! -d "$(dirname "$CONF_FILE")" ]]; then
    mkdir -p "$(dirname "$CONF_FILE")"
fi
sed -i "s/^Session=.*/Session=$SESSION/" "$CONF_FILE"

Apologies I don't often write bug reports. It seems like KDE probably needs to fix this upstream, but as of right now at least on my current machine, it's not respecting the overrides the handheld package is pulling in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions