Skip to content

Adding new power setting for power button behavior - #2203

Open
blakewilliams1 wants to merge 1 commit into
pop-os:masterfrom
blakewilliams1:power-button-behavior
Open

blakewilliams1 wants to merge 1 commit into
pop-os:masterfrom
blakewilliams1:power-button-behavior

Conversation

@blakewilliams1

@blakewilliams1 blakewilliams1 commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

This commit is work towards pop-os/cosmic-settings-daemon#28 and implements the UI as shown in the figma mocks in that issue.

Here is a video of it in action too:

Kooha-2026-09-15-14-55-08.webm

  • I have disclosed use of any AI generated code in my commit messages.
    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • I understand these changes in full and will be able to respond to review comments.
  • My change is accurately described in the commit message.
  • My contribution is tested and working as described.
  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

@mmstick mmstick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not currently functional. It may be better to modify the PowerOff action in the system_actions config instead.

Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/src/pages/power/mod.rs Resolved
Comment thread cosmic-settings/Cargo.toml Resolved
@mmstick mmstick self-assigned this Oct 2, 2026
@blakewilliams1
blakewilliams1 force-pushed the power-button-behavior branch 5 times, most recently from abfadd3 to e39ec5d Compare November 20, 2026 00:11
@blakewilliams1
blakewilliams1 force-pushed the power-button-behavior branch 5 times, most recently from e5d10f5 to 0a0d25b Compare November 26, 2026 22:41
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

Successfully merging this pull request may close these issues.

2 participants