x74353 / amphetamine-enhancer Goto Github PK
View Code? Open in Web Editor NEWAdd new abilities to the macOS keep-awake utility, Amphetamine.
License: MIT License
Add new abilities to the macOS keep-awake utility, Amphetamine.
License: MIT License
I am using an MacBook Pro M1 running macOS Monterey 12.5. I tried to enable clamshell mode (without the power-adapter connected) with the Amphetamine app using this tutorial: https://beebom.com/use-macbook-clamshell-mode-without-power-adapter/
I have an indefinite session running and music playing on Spotify app. When I close the lid the music keeps playing, so far so good. Then when I plugin my monitor HDMI input the music stops and my monitor does not show anything. It reports no signal and it remains black. Note: Initially I don't have any monitor/keyboard connected to my mac.
Hello I would like to have option to have different triggers with timeouts. For example my use case is like this ...
I often close and open my Lid when I am moving between tables, from sofa to desk, meeting to meeting etc.
I wan to be able set up Amphetamine this way:
When I close lid, it keeps MAC awake for some duration ( 10 minutes ) and if I dont open it after this time, Mac goes to sleep, If I open lid, timer resets and waits to next closing of lid.
This would be still able to just close lid, put PC to backpack and go ( and it would go to sleep automatically ).
Also, I want to activate sleepless mode only by closing lid and only for those 10 minutes. I want keep my settings for sleep when it comes to standard screen timeout etc.
Thank You ! :)
Maybe add a trigger, which fires, if network activity is above/below selected throughput?
Same maybe for disc activity?
Hi @x74353 - for some reason, the Amphetamine Enhancer dmg file doesn't download.
The raw.githubusercontent.com site looks unreachable.
Can you please check the raw version and update the file please so that it downloads? Thanks.
Is it possible to download and install without Apple's App store like its Enhancer?
Thank you for reading and hopefully answering soon. :)
I have a script which keeps app settings in sync between two computers by keeping the app's settings file (usually a .plist file from ~/Library/Preferences
) in iCloud Drive and then replacing the file in it's actual location with a symbolic link.
I was trying to do this for Amphetamine and I found the settings stored in ~/Library/Containers/com.if.Amphetamine/Data/Library/Preferences
. I moved that file out of the folder and then on my other computer created a symlink pointing to the new location, but now when I launch Amphetamine it's not pulling in the file and it's starting as if the app was newly-installed.
Is what I'm trying to do possible with sandboxed Mac App Store apps? Are the additional files which reflect the current settings?
Could you please support these chipsets?
Hello,
It is annoying to see this app in App-Switcher since all I want is to run it in background and do it's job. I was wondering if there's a way to add this option in Preferences
section. More specifically, I would like to hide is from App-Switcher (Command+Tab
) and Dock just like Amphetamine app.
Thanks,
Naman
I've been using NoSleep on my system for years, but recently it just doesn't want to work (every time I try to load it, it complains about the kernel extension not being enabled, until I manually load the kernel extension, and even then it doesn't seem to take effect even while the application and service are running). I use Amphetamine on my work system, so I thought I'd try to set up a similar system to what I use NoSleep for on my personal machine.
Long story short, NoSleep allowed me to time out my display but keep the system running. Amphetamine absolutely allows me to do that too, but it looks like there's no way to do what NoSleep does, which is to allow the display to go to sleep without locking the system. This is important to me because when I'm at home by myself, I don't want my system to be locked, but I don't want the display to be on all day if I leave my system alone for an extended period of time. However, I don't want to just disable locking my system in case I leave home with it.
So what I have set up right now is a trigger that detects when I'm connected to my home wifi network and keeps the system alive, but still allows display sleep, This has the effect of locking my system after the 60 minutes when plugged in or 15 minutes on battery. I want to keep that behavior when NOT running an Amphetamine session, but to remove it while the session is active.
Is this already possible and I just missed it? And if not, is it possible to add this functionality? I found NoSleep to be extremely valuable for this purpose and I'm hoping that Amphetamine can be a more modern method of solving the same problem.
for the average consumer to use your enhancer, a step by step guide of what buttons to click to download and use your product effectively is neccesary
Only the 'Enhanced App & Process Monitoring' enhancement is visible. Please fix.
I cannot find any mention of whether this app can be quit after installation or if it needs to remain open in the background. If it does need to remain open, is there a way to hide it in the dock? Thank you.
Hi, thx for the cool tool.
I think it would be great to have a scripting-interface - so you will be able to trigger every event you want to - e.g. TimeMachine - Today there is no option to power down the Mac after ™ has finished.
With a script you can performe a "tmutil status | grep ...." and get back 1 or 0
Amphetamine can react on the exit-code of the Skript e.g. exit 0 ==> tripper event exit <> 0 wait some time and try it again.
would come in handy for things like blender renders
sorry if feature requests aren't allowed, i rushed to this GitHub repo when i got the idea because i knew i'd forget
please please do consider this
Can we please have the Enhancer app ARM64 native?
Could you please provide the Amphetamine .dmg if different way?
App(le) Store sucks so hard.
Would be really, really, really good also having the homebrew
install option, like something as simple as: brew install amphetamine
. But it only would be possible if there was a dmg available in somewhere. (I would be more than happy to create such homebrew
formula anyway).
That's it. Thank you for the awesome app anyway
My vmware fusion guest network stop responding when I'm not using mac host.
Confirmed this issue when I run a centos guest VM, when I do not have say screen-sharing (vnc) to the host, the guest will stop responding after a few seconds.
Why is that? I have disabled any screen saving or guest power management.
I run "watch -n 1 time" over ssh to observe this.
Hi,
On clamshell mode when I disconnect my external monitor the mac goes to sleep.
Is there any way to prevent this ?
I have found a workaround by using sudo pmset -a disablesleep 1
buy I would like to keep using Amphetamine.
I have a KVM switch that allow me to share my monitor keyboard etc.. between my mac and my PC, so when I'm switching to PC I would like to keep awake my mac.
A simple way to reproduce:
Thanks !
It's so GOOD an app for mac. If can support Chinese, it will be better! Thx
请问Amphetamine-Enhancer和APP Store里的Amphetamine有什么区别吗?
Device: Macbook M1 Pro 13
Software: 13.4
When using triggers and power adapter remaining unplugged, the external monitor fails to stay awake when going into clamshell mode.
This functionality works fine if you disable triggers and activate it manually. Same sleep settings applied.
Will there ever be an opportunity for amphetamine on Windows?
I use amphetamine to keep my mac on while I download torrents over night using webtorrent, as when my mac sleeps, torrent downloads are paused. It would be great if I could toggle amphetamine off again once the download completes, something along the lines of webtorrent {infohash} && amphetamine --off
A command line interface would also likely have other uses, allowing scripting of amphetamine in other contexts.
In Amphetamine, please could you add support for a setting that when you shut the lid of a MacBook, it doesn't go to sleep, but it shows the lock screen (just password entry, not complete logout)?
I would like to be able to keep my data secure without sleeping my Mac. I could just Control-Command-Q before shutting my screen, but I'm lazy.
I don't know if macOS lets other applications lock the screen, but if it does, this would be extremely helpful. I also don't know if this is for Amphetamine Enhancer or just Amphetamine, but I couldn't find anywhere else to post this.
Hi, first of all I'm not sure this is the right place to submit this. I use an M1 MBA with the lid closed while hooked up to an external display via Thunderbolt and with bluetooth keyboard and trackpad. I'm looking for a way to prevent the system from sleeping when music is being played on Spotify, or some other App. I suspect it could be possible to subscribe and listen for kMRMediaRemoteNowPlayingInfoDidChangeNotification
notifications and use that as a trigger to toggle Amphetamine.
Hello -
I have been using this SW for a few months now, but ever since I installed AV on my MacBook, this SW (CDMManager.app) has been getting quarantined. I was unable to identify any articles (or posts) that could assist me. So, if anyone experienced a similar issue as to why their AV quarantines this SW, any insight you can provide will be much appreciated. Thanks!
Hi,
I have Amphetamine installed and running macOS 11.0.1 Big Sur on my late 2017 MacBook Pro. Amphetamine runs absolutely fine but when I try to run enhancer it says Amphetamine isn't installed. Enhancer will then quite. They are both installed in my user Applications folder instead of the global app folder due to multiple users on the MacBook.
Is there anything I need to do to get this to work?
Thanks
Pending issue #3 , I would like to be able to install this using brew cask install amphetamine-enhancer
Hi,
I'm not 100% sure, but I have noticed that after a while, my open sessions crash on my computer (I have two open sessions while working).
The symptoms are always the same, after a couple of hours, the entire screen freezes and the computer logs me out.
I have attached the crash log from my computer. The reason why I think it's related to Amphetamine is that my sessions don't crash when it's not running (the computer can run for days without an issue), but when Amphetamine is running, usually after a couple of hours, this is when the freeze happens.
I have no clue on how to forcefully reproduce the issue though :)
Notice that I don't use Amphetamine Enhancer, just the Amphetamine program.
why the amphetamine not update in amost one year
Thanks for creating the app and keeping it accessible and now at least partially open source!
One suggestion regarding releases: it's more appropriate to tag/pack them as Github releases and link to the repository releases instead of hot-linking to the binary on master branch.
This way you're not adding a lot of weight over time in the git repository (since Git doesn't play well with binary versioning) and less prone to be flagged by Github as using it as hosting, plus it's more standard and easier to track releases over time.
Let me know if you have any further doubts or need help with it.
I have a trigger configured when an ssh session is started in the iTerm application, but when I turn off the computer and turn it back on, that trigger no longer works, because by default the "Don't show helper apps or processes" checkbox is checked when Amphetamine starts.
Is this the expected behavior? Do I have to enter in Preferences/Triggers/my_trigger every time I start the Amphetamine application and uncheck said checkbox?
Whenever the closed-display session triggers, I am prompted with a pop-up window, where I should type my password in. The window says: osascript wants to make changes
. Can I somehow just let it do its job without asking me to type password every single time?
Can this be tweaked so it checks all subfolders in Applications (including 'Utilities')? Thanks.
It'd be nice to be able to trigger a session when a browser tab with a particular URL (or URL pattern) is open, at least in popular browsers.
Example use cases:
Obviously there are security implications of being able to see the user's open tabs which would need to be considered, but this feels generally useful.
(I'd love to contribute this but may not have the time - so instead I'd be happy to make a donation if support is added for Chrome)
On my MacBook Pro 13" (M1 running macOS 13.1), Amphetamine does not start automatically when I log in.
I checked "Launch Amphetamine at login" but this does not trigger Amphetamine to start automatically when I login.
It creates AmphetamineLoginHelper under General -> Login Items.
When I start Amphetamine manually and check the preferences, this option has become unchecked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.