Toda vez que ligo no meu MacBook Pro, faz um barulho inicial. Isso é irritante, pois não há volume ou capacidade de desligá-lo. Eu simplesmente não quero que o som jogue em tudo.
Como desabilite este som de inicialização?
Toda vez que ligo no meu MacBook Pro, faz um barulho inicial. Isso é irritante, pois não há volume ou capacidade de desligá-lo. Eu simplesmente não quero que o som jogue em tudo.
Como desabilite este som de inicialização?
Everytime I turn on my Macbook Pro it makes a start up noise. This is annoying since there is no volume or ability to turn it off. I just don't want the sound to play at all.
How do I disable this startup sound?
Você pode usar startsound.prefpane que basicamente apenas define o volume para 0 quando você desligamento e, em seguida, ligá-lo de volta após o login.
You can use StartSound.PrefPane which basically just sets the volume to 0 when you shutdown and then turns it back up after login.
terminal aberto.app e tipo:
.sudo -s
Dê a senha quando solicitado Então:
cat >/private/etc/rc.shutdown.local #! /bin/sh /usr/bin/osascript -e 'set volume with output muted' Em seguida, pressione Ctrl-D e digite "EXIT". Da próxima vez que você reiniciar em silêncio, mas você terá que redefinir manualmente o volume de som (F10, Slider ...) Se você quiser ouvir alguma música novamente. Teoricamente, deve ser possível executar sob /private/etc/rc.local Um script para fazê-lo ('definir volume sem saída silenciado'), mas que parece se comportar erraticamente.
Open Terminal.app and type:
sudo -s
Give the password when asked for then:
cat >/private/etc/rc.shutdown.local #! /bin/sh /usr/bin/osascript -e 'set volume with output muted'
then press Ctrl-D and type "exit". Next time you'll reboot in silence BUT you'll have to manually reset the sound volume (F10, slider ...) if you want to hear some music again. Theoretically it should be possible to run under /private/etc/rc.local a script to do it ('set volume without output muted') but that seems to behave erratically.
Eu não notei esse som no meu MacBook Pro para as idades, e hoje descobri por quê. O MBP parece lembrar 2 conjuntos de configurações de volume; tanto para ter-não-fones de ouvido-conectado e para ter fones de ouvido - conectados.
Eu costumo ter meus alto-falantes externos conectados - quando estou em casa, e quando estou viajando / caminho de casa, obviamente, eu não sei. Em algum momento no passado, liguei o volume para zero quando os fones de ouvido não estavam conectados, e agora quando eu começar o MBP, não há som.
Você poderia tentar isso (embora não seja particularmente prático) - Gire o volume no seu Mac até zero, então reinicie o computador. Eu suspeito que você não vai ouvir o som de startup. Como eu digo, não é realmente prático, mas se o barulho inicial te incomoda o suficiente, você pode apenas ter o hábito de desligar o volume antes de desligar. : -)
editar: Acabei de perceber isso este ponto sobre como girar o volume já foi feito em outras respostas aqui, então sinta-se livre para ignorar isso!
I haven't noticed that sound on my MacBook Pro for ages, and today I figured out why. The MBP seems to remember 2 sets of volume settings; both for having-no-headphones-plugged-in, and for having-headphones-plugged-in.
I usually have my external speakers plugged in-when I'm at home, and when I'm travelling/way from home obviously I don't. At some point in the past I have turned the volume down to zero when headphones weren't connected, and now when I start the MBP up there's no sound.
You could try this (though it's not particularly practical) - turn the volume on your Mac right down to zero, then restart the computer. I suspect you won't hear the startup-sound. Like I say, not really practical but if the start-up noise annoys you enough, you might just get into the habit of turning the volume down before switching off. :-)
EDIT: Just realised this this point about turning the volume down has already been made in other answers here, so feel free to ignore this!
para a neve Leopard e máquinas anteriores baixar e instalar "startupsound.prefpane", que instalará um painel de preferência nas configurações do sistema para permitir que você ajuste o volume de inicialização e desative o som de inicialização:
http://www5e.biglobe.ne.jp / -~arcana/startupsound/beta/index.en.html
Observe que o acima tem resultados misturados no leão. Para usuários do Leão, o seguinte é recomendado:
..
Login como administrador e abra uma janela de terminal
Criar scriptfile para silenciar
sudo nano /path/to/mute-on.sh
Digite isso como conteúdo, quando feito pressione Control + O para salvar e controlar + x para sair:
#!/bin/bash
osascript -e 'set volume with output muted'
Crie scriptfile para não soumuting
sudo nano /path/to/mute-off.sh
Digite isso como conteúdo, quando feito pressione Control + O para salvar e controlar + x para sair:
#!/bin/bash
osascript -e 'set volume without output muted'
Faça ambos os arquivos executáveis:
sudo chmod u+x /path/to/mute-on.sh
sudo chmod u+x /path/to/mute-off.sh
Verifique se algum gancho já existe (estes serão sobrescritos, então certifique-se de que esteja bem para você)
sudo defaults read com.apple.loginwindow LoginHook
sudo defaults read com.apple.loginwindow LogoutHook
Adicionar ganchos para silenciar
#!/bin/bash0
#!/bin/bash1
Notas:
#!/bin/bash2 é o local dos scripts, usei
#!/bin/bash3
- você pode pular o loginhook imutador (isto é, cada logout silenciará sua máquina), mas eu gosto dessa maneira porque eu sempre tenho som disponível exatamente no nível de volume que defini da última vez
- raiz tem que ser o proprietário dos arquivos de script - executando um editor a partir da linha de comando com o sudo é a maneira mais fácil de conseguir isso (caso contrário você precisa chown)
Para excluir os ganchos, use o seguinte:
#!/bin/bash4
#!/bin/bash5
( fonte )
For Snow Leopard and earlier machines download and install "StartupSound.prefPane" which will install a preference pane in system settings to allow you to adjust the startup volume and disable the startup sound:
http://www5e.biglobe.ne.jp/~arcana/StartupSound/BETA/index.en.html
Note that the above has mixed results in Lion. For Lion users the following is recommended:
Login as administrator and open a terminal window
Create scriptfile for muting
sudo nano /path/to/mute-on.sh
Enter this as content, when done press control+O to save and control+X to exit:
#!/bin/bash
osascript -e 'set volume with output muted'
Create scriptfile for unmuting
sudo nano /path/to/mute-off.sh
Enter this as content, when done press control+O to save and control+X to exit:
#!/bin/bash
osascript -e 'set volume without output muted'
Make both files executable:
sudo chmod u+x /path/to/mute-on.sh
sudo chmod u+x /path/to/mute-off.sh
Check if any hooks already exist (these will be overwritten, so make sure it is OK for you)
sudo defaults read com.apple.loginwindow LoginHook
sudo defaults read com.apple.loginwindow LogoutHook
Add hooks for muting
sudo defaults write com.apple.loginwindow LogoutHook /path/to/mute-on.sh
sudo defaults write com.apple.loginwindow LoginHook /path/to/mute-off.sh
Notes:
/path/to/
is the location of the scripts, I used/Library/Scripts/
- you can skip the unmuting loginhook (i.e. each logout will silence your machine), but I like it this way because I always have sound available exactly at the volume level I set last time
- root has to be the owner of the script files - running an editor from command line with sudo is the easiest way to achieve that (otherwise you need to chown)
to delete the hooks, use the following:
sudo defaults delete com.apple.loginwindow LoginHook
sudo defaults delete com.apple.loginwindow LogoutHook
(source)
segure o botão mudo no teclado sempre que você inicializá-lo
Hold down the mute button on your keyboard whenever you boot it
Se você mantiver seu volume quando você desligar o seu Mac / Laptop, não vai fazer o som quando você começar de novo!
Eu não sei se isso é verdade, mas é o que meu laptop faz :)!
Espero que isso ajude!
If you keep your volume off when you shut down your mac/laptop it wont make the sound when you start it up again!
I don't know if this is true but its what my laptop does :)!
Hope this helps!
© 2022 pergunte.org All Rights Reserved. Casa de perguntas e respostas todos os direitos reservados