Linux: control the PC (lock, sleep, screen off, brightness)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 56/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- linux, python
- Domain
- desktop, operating-systems
Research direction
Start with alice/home/pc.py to trace the Windows-only controls, then read the lock and sleep handlers in alice/app/remote.py. Check how the project tests subprocess calls and mock them while covering available and missing Linux commands. Done means Linux controls use detected equivalents, unsupported commands return a clear error, and Windows behavior remains unchanged.
Written by the indexing model from the issue text.
Description
alice/home/pc.py is Windows-only: lock, monitor off, suspend/hibernate, power plans, and brightness return "yalnız Windows'ta" elsewhere, and the phone app's lock/sleep buttons (alice/app/remote.py) fail too.
Linux equivalents: loginctl lock-session, systemctl suspend/hibernate, xset dpms force off (X11) or the compositor's DPMS command, powerprofilesctl for power plans, brightnessctl for brightness. Detect what is installed and return a clear error otherwise. Keep Windows behavior unchanged; mock subprocess in tests.
- Dominant language
- Python
- Stars
- 1
- Forks
- 2
- Avg merge
- 2h 41m
- Merged PRs (30d)
- 112
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine
-
agent good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#251 ·
Maintainers usually reply within 1 day
-
agent good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#250 ·
Maintainers usually reply within 1 day
-
agent good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#249 ·
Maintainers usually reply within 1 day
-
agent good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#248 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#247 ·
Maintainers usually reply within 1 day
All issues in Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine
Similar issues
-
Feature Request
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
spotDL/spotify-downloader#2839 ·
Maintainers usually reply within 1 day
-
Missing license fileOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
ops/setup.py writes ops/hub.json non-atomically (the torn-write class of #219, in the installer)Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
mattabate/life-distributable#230 ·
Maintainers usually reply within 1 day
-
enhancement triage:not-checked
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
inventree/InvenTree#13318 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
google/secops-wrapper#229 ·