Comments (6)
Running this command somehow makes this work. But the article says either use the app or these commands. The problem with running this command is that even after my session ends my laptop won't sleep, causing battery to drain faster than otherwise it would have.
sudo pmset -a disablesleep 1
from amphetamine-enhancer.
If you
sudo pmset -a disablesleep 0
It turns it off.
0 is off and 1 is on (binary)
from amphetamine-enhancer.
I have another issue that might be related: I am using my M1 MacBook in clamshell-mode, connected to power (via USB-C) and 2 external Displays (via an 2x USB-C to HDMI Adapter). When I enable an Amphetamine-Session both displays instantly become black and music playback stops. It seems the MacBook is going to sleep mode when enabling an Amphetamine-Session. I already tried to disable option "Enable Sleep when display is closed" in Amphetamine-Settings and installed Amphetamine-Enhancer and its scripts. Nothing fixed it so far... any ideas?
Edit: just had another strange effect, after closing Amphetamine App, both displays and music playback shortly stopped, displays came back after 1 second, playback keeps stopped.
Will keep using caffeine until this issue is fixed although it doesn't run native on M1 and requires emulation with rosetta 2...
from amphetamine-enhancer.
Thank you so much for this solution.
from amphetamine-enhancer.
It not working in Macbook Pro M2 either
the above command is working
from amphetamine-enhancer.
I have the same issue. M1 Pro MBP, Trackpad via BT, Keyboard via usb-c.
Session is set to indefintely, lid is closed, monitor connected via DP/usb-c.
when I disconnect the power supply the display goes black and I have to reconnect to power?
from amphetamine-enhancer.
Related Issues (20)
- Hide from App-Switcher and Dock HOT 2
- amphetamine still a intel app HOT 2
- why the amphetamine not update in amost one year HOT 1
- feature request; GPU utilization condition for triggers
- M2 MBP 'Closed-Display Mode Fail-Safe' enhancement not present HOT 9
- Feature request: prevent sleep while music is playing through Spotify (or some other App)
- No "Closed-Display Mode Fail-Safe" option HOT 4
- Amphetamine command line interface. HOT 2
- Uncheck by default "Don't show helper apps or processes" checkbox
- Amphetamine Enhancer dmg file doesn't download. HOT 7
- Amphetamine does not automatically start under macOS 13.1 HOT 9
- Feature-request: trigger -> network activity / disc activity
- Amphetamine seems to crash the WindowServer process
- Feature_Request - timeout trigger.
- Triggers fail to keep display awake when in clamshell mode
- Xdghv
- After installation
- Script requires password
- Request: Amphetamine .DMG file release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amphetamine-enhancer.