Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts folder don't seem to make sense when using COSMIC #240

Open
fulalas opened this issue Sep 21, 2024 · 0 comments
Open

Scripts folder don't seem to make sense when using COSMIC #240

fulalas opened this issue Sep 21, 2024 · 0 comments

Comments

@fulalas
Copy link

fulalas commented Sep 21, 2024

Everything inside usr/lib/pop-launcher/scripts/system76-power/ assumes gnome-terminal is present, but when using COSMIC this doesn't make sense.

In usr/lib/pop-launcher/scripts/session all scripts assume systemd is present, which is not always the case.

Also, even in GNOME usr/lib/pop-launcher/scripts/session/session-bios.sh has an IF/ELSE statement that does the same thing:

if is_gnome; then
  systemctl reboot --firmware-setup
elif command -v systemctl >/dev/null; then
  systemctl reboot --firmware-setup
fi

Maybe a build flag to inform we're using launcher in COSMIC so it won't create any of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant