Giter Site home page Giter Site logo

amphetamine-enhancer's People

Contributors

x74353 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amphetamine-enhancer's Issues

Amphetamine app clamshell mode not working on MacBook M1 Pro

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.

Amphetamine does not automatically start under macOS 13.1

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.

Clamshell disconnecting external monitor

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:

  • Go in clamshell with an external monitor
  • Start a session with all sleep option disabled
  • Unplug your external monitor
    -> The mac is sleeping

Thanks !

Request: Amphetamine .DMG file release

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

Screenshot 2024-02-29 at 16 59 15

Lock user account but don't sleep

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.

Uncheck by default "Don't show helper apps or processes" checkbox

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?

Allow display sleep without locking?

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.

Being flagged by Anti-Virus Software

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!

Scripting Amphetamine

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.

Hide from App-Switcher and Dock

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

Use Github releases instead of hotlinking binary on repository

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.

Brew cask formula

Pending issue #3 , I would like to be able to install this using brew cask install amphetamine-enhancer

Feature request: trigger based on open browser tabs

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:

  • Prevent sleep while on a video call (if, say, you step away from the computer for a bit)
  • Prevent sleep while playing music/video
  • Prevent sleep while uploading a file (e.g. YouTube video)
  • Prevent sleep while an online game is open

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)

Feature_Request - timeout trigger.

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 ! :)

After installation

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.

Amphetamine Enhancer dmg file doesn't download.

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.
Screenshot

I have the following problem, do I need this enhancer?

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.

Triggers fail to keep display awake when in clamshell mode

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.

directions

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

Amphetamine seems to crash the WindowServer process

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.

thanks!
WindowServer-2023-03-28-012517.log

Script requires password

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?

M1 Native

Can we please have the Enhancer app ARM64 native?

Feature request: prevent sleep while music is playing through Spotify (or some other App)

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.

How can settings be synced between computers?

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?

Amphetamine command line interface.

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.

Can't find Amphetamine

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.