tombonez / noTunes

A simple macOS application that will prevent iTunes or Apple Music from launching.
MIT License
3.53k stars 58 forks source link

Apple Music still shows on recent dock #19

Open rvp-diconium opened 2 years ago

rvp-diconium commented 2 years ago

Gotta start with the big thank you! Clicking the microphone button on my headphones (Bose 700) launching Music while on a video-call was horrible.

This application mostly works, but I've noticed the Music app still shows app as a recent on the dock (see attachment) I've already google it and apparently there's some way of messing with plist and editing stuff to hide a certain app of ever showing up, but I wonder if there's a automatically way of achieving it with your app.

Screenshot 2021-12-02 at 14 34 30

So the behaviour I've noticed is:

Running on macOs BigSur 11.3.1 / intel hardware

Thanks!

tombonez commented 2 years ago

Hi @rvp-diconium 👋

Great suggestion 👍

This should be possible, the only problem I can foresee with this though is that the dock process will need killing to show its updated state.

This means that both the menubar and dock will vanish and re-appear every-time this process is run.

To see this behaviour yourself you can run the following in Terminal: killall Dock

Hopefully there's a workaround for this 🤞

Cheers, Tom 🙂

kiararey commented 2 years ago

You should be able to remove recent applications from showing up as a quick fix for now!

Screen Shot 2022-04-13 at 11 53 41 AM

Right click on the dock bar >> Dock preferences >> Disable "Show recent applications in Dock".

This will also prevent any other recent apps from showing up though.