Skip to content

Add DeckyClocker - #1153

Merged
sidharthify merged 5 commits into
SteamDeckHomebrew:mainfrom
Jaccident:add-deckyclocker
Oct 20, 2026
Merged

sidharthify merged 5 commits into
SteamDeckHomebrew:mainfrom
Jaccident:add-deckyclocker

Conversation

@Jaccident

@Jaccident Jaccident commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Add DeckyClocker to Plugin Store

DeckyClocker is a plugin to provide users the option to modify current system time and restore it easily. This is in response to games like Fez, No Man's Sky, and MLB2k12 which were either designed around the expectation of system clock manipulation, or lock content behind the calendar year.

Due to the nature of the plugin it requires Root Permissions.

DC includes various warnings and details to ensure that users appreciate the risks involved in their actions, there are checks in place to ensure reversion to NTP status on if there is an interruption to the plugin or the

Task Checklist

Developer

  • I am the original author or an authorized maintainer of this plugin.
  • I have abided by the licenses of the libraries I am utilizing, including attaching license notices where appropriate.
  • Generative AI was NOT used to write a majority of the code I am submitting.

AI Usage Declaration:
AI was used to provide example code for various UI and backend elements. It also was used to suggest lightweight approaches to existing functionality as I wanted the plugin to be as light as reasonably achievable without compromising functionality.
Lastly it was used to ensure my comments didn't turn into novels.

Plugin

  • I have verified that my plugin works properly on the Stable and Beta update channels of SteamOS.
  • I have verified my plugin is unique or provides more/alternative functionality to a plugin already on the store.

Note:

  • DeckyClocker is at least somewhat similar to the deck-time-changer plugin which wasn't present in the PR list when this plugin entered development.
  • I believe that the manner by which my UI achieves this is slightly easier for users (less elegant but less fiddly too, personal preference of course).
  • The inclusion of warnings for the user are necessary as NTP modifications can lead to critical system issues (cert failures etc).
  • Additionally I have uninstall, reload, and other checks that can prevent the plugin from leaving the device in a bad state. I have looked at the deck-time-changer to validate it doesn't handle these situations, if this PR is rejected I would only ask that their plugin be expanded to include these checks before promotion to Store.

Backend

  • No: I am using a custom backend other than Python.
  • No: I am using a tool or software from a 3rd party FOSS project that does not have it's dependencies statically linked.
  • No: I am using a custom binary that has all of it's dependencies statically linked.

Community

Testing

  • Tested by a third party on SteamOS Stable or Beta update channel.

Notes for Testers:
Since it is vitally important that NTP status reverts to default if there is an interruption of the plugin or DeckyLoader, please ensure you test time reverting to datum under reload, disable, uninstall, and when pushing the build over top of an existing install.

@Jaccident
Jaccident requested a review from a team as a code owner October 17, 2026 13:35
@github-actions github-actions Bot added the plugin-addition Adding a plugin to the Plugin Store label Oct 17, 2026
@github-actions

Copy link
Copy Markdown

Issues Found

No issues with your PR description were found.

Next Steps

  1. If we found any issues above, please edit your pull request description to resolve them and leave a comment saying you've done so.
  2. For the quickest review, please see the Community section of the pull request template for how you can help other developers.
  3. Once your description is correct, a maintainer will review your pull request as soon as possible.

Thank you for your contribution! If you need any help, please reach out on our Discord server. ❤️

@Jaccident

Copy link
Copy Markdown
Contributor Author

@nanwangjkl

Copy link
Copy Markdown

Plugin Testing Report

Installed Plugins

  • SteamGridDB - 1.8.1
  • Bluetooth - 2.3.1
  • Decktation - 0.3.18
  • SSH Switch - 0.2.2
  • Time Changer - 0.1.12

Specifications

  • SteamOS 3.8.28_20260922.1(Stable)
  • Steam 1791918634 (Stable)
  • Decky 3.2.10 (Stable)

Issues

Has the following major blocking issue(s): 2
Has the following minor non-blocking issue(s): 3

Summary

Tested by building from source (no release asset is currently published), pushing to Deck and manipulating UI. I ran a number of date and time tests, ran through install, reinstall, disable and uninstall tests, and reviewed the frontend/backend source. The lifecycle NTP safeguards are solid — the issues below concern the failure paths.

Major Blocking Issues

  1. get_status does not check the exit code of timedatectl. A non-zero exit (empty output) makes info.get("NTP") == "yes" evaluate to False, so a failed read is silently reported as "Custom" (unsynchronized) instead of surfacing an error. The user sees a wrong state with no indication anything failed. set_time and set_ntp already check code; get_status should too.
  2. A failed set-time leaves NTP disabled. set_time disables NTP first, and if the subsequent set-time fails it returns the error — but never rolls back. The system is now unsynchronized with no automation recovering it until the next plugin load, and the panel gives no clear signal that NTP is off (see Minor 2). On failure the original NTP state should be restored; your own _restore_ntp() would slot right into that error path.

Minor Non-Blocking Issues

  1. applyTime/applyNtp have no in-flight guard. Rapid double-clicks during an operation can start overlapping backend calls (two set-ntp false + two set-time racing). An operation-in-progress flag (and disabling the buttons while busy) prevents this.
  2. The status display is binary (Synchronized / Custom), derived from NTP alone. NTPSynchronized is available from timedatectl show and distinguishes the middle state — NTP enabled but not yet synced (right after a restore, or offline) — which currently mislabels as Synchronized.
  3. No localization: all strings are hardcoded English. The Steam client locale is readable via window.LocalizationManager.m_rgLocalesToUse, and a bundled dictionary with English fallback covers Chinese users with little code.

Tester Note

I maintain the other time-changing plugin you tested (Time Changer) — findings #2 and the minors are holes I fell into and fixed in my own code (rollback on failure, three-state status, in-flight guard), so feel free to look at my implementation the same way I looked at yours: https://github.com/nanwangjkl/decky-time-changer. Only that the production solution is safe and trustful for the average user :)

@nanwangjkl nanwangjkl mentioned this pull request Oct 17, 2026
7 of 8 tasks
@Jaccident

Copy link
Copy Markdown
Contributor Author

@nanwangjkl Thanks so much for testing, I really appreciate the feedback and will implement the checks you recommend!

I may not deploy to the store in the end, but it's a gift to get to work on this and have someone who's solving the same issue to bounce ideas with.

Really, really, thank you!

…, added localisation (EFSGD - Human, tCsCI - Machine)
@Jaccident

Copy link
Copy Markdown
Contributor Author

Submitting the updated plugin with changes made to address each of the points raised by @nanwangjkl.

In addition, I've included release artefacts that were missed in the first submission.

Release notes and artefacts available here -
https://github.com/Jaccident/DeckyClocker/releases/tag/v1.0.0-rc2

Please note that there is a -loc build included which is specifically for cycling though localisation. I have not been able to assess the quality of the tChinese, sChinese, or most of the Italian due to not speaking those languages. Any and all help welcome there. English, French, Spanish, German and Dutch have all been generated then edited by me, they all get the point across I think though I will admit to my non-English grammars being patchy.

@Jaccident

Copy link
Copy Markdown
Contributor Author

Just added a one line addition to support es-419 with the existing es-es string table.

@AAGaming00 AAGaming00 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.

delete py_modules and defaults if they aren't used otherwise LGTM, reviewed all code and your frontend could definitely be componentized better but there's nothing inherently wrong with it

@AAGaming00 AAGaming00 moved this to Ready for review in Plugin Review Oct 19, 2026
@Jaccident
Jaccident deployed to testing_env October 19, 2026 22:29 — with GitHub Actions Active
@AAGaming00 AAGaming00 moved this from Ready for review to Changes requested in Plugin Review Oct 19, 2026
@nanwangjkl

Copy link
Copy Markdown

Congratulations on DeckyClocker making it into the store — well earned.
The lifecycle safeguards and the disclosure-first way you built it set
the standard this category needed, so it's the right outcome.

And thank you, sincerely, for the testing rounds on Time Changer. Your
reports shaped essentially every release since v0.1.11 — the NTP
recovery, the merged toasts, the slider rework, the restore semantics.
You made this plugin, and honestly its maintainer, considerably better.

Glad you like the floating clock header and the amber skew indicator!
Please feel free to lift them straight from the repo. If they make DeckyClocker
better, that's the best outcome I could ask for.

Whatever happens on the store side: two people building the same tool,
trading test reports, and borrowing each other's best ideas — this
exchange has been the most valuable part of the whole project for me.

@Jaccident

Copy link
Copy Markdown
Contributor Author

Congratulations on DeckyClocker making it into the store — well earned. The lifecycle safeguards and the disclosure-first way you built it set the standard this category needed, so it's the right outcome.

And thank you, sincerely, for the testing rounds on Time Changer. Your reports shaped essentially every release since v0.1.11 — the NTP recovery, the merged toasts, the slider rework, the restore semantics. You made this plugin, and honestly its maintainer, considerably better.

Glad you like the floating clock header and the amber skew indicator! Please feel free to lift them straight from the repo. If they make DeckyClocker better, that's the best outcome I could ask for.

Whatever happens on the store side: two people building the same tool, trading test reports, and borrowing each other's best ideas — this exchange has been the most valuable part of the whole project for me.

I am so grateful for your feedback, my rc1 had a serious flaw that you found and gave me your exact take on, without that fix I could have gone to Store with just as serious an gap as you recovery states IMHO.

If you would like to I would like to add you to the Repo as a collaborator (Invite sent but feel free to decline). I've also, regardless of whether you accept or not, rewritten the credits line in the UI to reflect your contribution; it wasn't just help, the work you put into your plugin is a huge contribution to mine, whether the code is there or not, the architectural insight was invaluable.

Like you, I feel that the collaborative part of these last few days has been the highlight of the small project. A wee friendship made out of breaking clocks for achievement hunters!

@Jaccident
Jaccident requested a review from a team as a code owner October 20, 2026 07:09
@AAGaming00 AAGaming00 moved this from Changes requested to Ready for review in Plugin Review Oct 20, 2026
@Jaccident
Jaccident deployed to testing_env October 20, 2026 07:10 — with GitHub Actions Active
@Jaccident

Jaccident commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

delete py_modules and defaults if they aren't used otherwise LGTM, reviewed all code and your frontend could definitely be componentized better but there's nothing inherently wrong with it

Deleted, sorry for the poor hygiene there. I'll work on componentizing the UI in a future release.

Thank you for taking DeckyClocker onward!

@Jaccident
Jaccident requested a review from AAGaming00 October 20, 2026 07:13
@nanwangjkl

Copy link
Copy Markdown

Congratulations on DeckyClocker making it into the store — well earned. The lifecycle safeguards and the disclosure-first way you built it set the standard this category needed, so it's the right outcome.
And thank you, sincerely, for the testing rounds on Time Changer. Your reports shaped essentially every release since v0.1.11 — the NTP recovery, the merged toasts, the slider rework, the restore semantics. You made this plugin, and honestly its maintainer, considerably better.
Glad you like the floating clock header and the amber skew indicator! Please feel free to lift them straight from the repo. If they make DeckyClocker better, that's the best outcome I could ask for.
Whatever happens on the store side: two people building the same tool, trading test reports, and borrowing each other's best ideas — this exchange has been the most valuable part of the whole project for me.

I am so grateful for your feedback, my rc1 had a serious flaw that you found and gave me your exact take on, without that fix I could have gone to Store with just as serious an gap as you recovery states IMHO.

If you would like to I would like to add you to the Repo as a collaborator (Invite sent but feel free to decline). I've also, regardless of whether you accept or not, rewritten the credits line in the UI to reflect your contribution; it wasn't just help, the work you put into your plugin is a huge contribution to mine, whether the code is there or not, the architectural insight was invaluable.

Like you, I feel that the collaborative part of these last few days has been the highlight of the small project. A wee friendship made out of breaking clocks for achievement hunters!

Thank you so much for the kind words and for sending over the collaborator invite — I’m super happy to accept it!

Working with you over these past few days has been an absolute blast. It honestly felt like playing a co-op game, trading feedback and leveling up our plugins together. I’m really glad the feedback on the rc1 release and the architectural ideas were helpful!

Regarding future updates: I’ve recently gotten into the habit of relying fairly heavily on LLMs to generate code. Knowing that the Decky store maintainers generally lean away from heavily AI-generated code, I want to be very mindful of that. I won't blindly push generated code into the repo so we don't compromise the "human-crafted" quality and store compliance of DeckyClocker.

That said, I’m always here to help test, review, brainstorm architecture, or offer suggestions whenever you need a second pair of eyes.

Thanks again for the awesome collaboration, the generous shoutout in the UI, and for building such a cool tool alongside me. Here’s to breaking more clocks for achievement hunters! 🍻

AAGaming00
AAGaming00 previously approved these changes Oct 20, 2026
@github-project-automation github-project-automation Bot moved this from Ready for review to Approved, needs testing in Plugin Review Oct 20, 2026
@Jaccident

Copy link
Copy Markdown
Contributor Author

@AAGaming00 Just checking here, is the .gitmodules conflict resolved in the process by you and the maintainer team or on me as the submitter?

@AAGaming00

Copy link
Copy Markdown
Member

Can you rebase the PR

@AAGaming00
AAGaming00 requested a review from a team October 20, 2026 19:33
@AAGaming00 AAGaming00 moved this from Approved, needs testing to Ready for review in Plugin Review Oct 20, 2026
@github-project-automation github-project-automation Bot moved this from Ready for review to Approved, needs testing in Plugin Review Oct 20, 2026
@sidharthify
sidharthify merged commit 0ad2e48 into SteamDeckHomebrew:main Oct 20, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Approved, needs testing to Done in Plugin Review Oct 20, 2026

This branch had an error being deployed

1 failed deployment
testing_env — e32038c7 Deployed Oct 20, 2026 by sidharthify via Build plugin (DeckyClocker, true) #4142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin-addition Adding a plugin to the Plugin Store

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants