Cov txheej txheem:

Yuav Ua Li Cas Mute Mac Pib Suab: 5 Kauj Ruam
Yuav Ua Li Cas Mute Mac Pib Suab: 5 Kauj Ruam

Video: Yuav Ua Li Cas Mute Mac Pib Suab: 5 Kauj Ruam

Video: Yuav Ua Li Cas Mute Mac Pib Suab: 5 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Mute Mac Startup Suab
Yuav Ua Li Cas Mute Mac Startup Suab

Thaum koj khau raj lossis rov pib dua koj Mac, "pib lub suab nrov" nrov nrov. Qee tus neeg yuav nyiam lub suab no, tab sis qee leej tsis ntau.

Lub suab tuaj yeem qhia rau koj paub tias Mac tab tom pib ua kom raug. Tab sis koj yuav xav tua lub suab hauv qee lub sijhawm.

Yog li ntawd, ntawm no yog txoj hauv kev ntsiag to Mac pib lub suab tas mus li, tsuas yog lub davhlau ya nyob twg hais kom hloov qhov chaw zais.

Tau qhov twg los: tua mac pib suab

Kauj ruam 1: Qhib Terminal

Qhib lub Terminal
Qhib lub Terminal

Qhib "Launchpad"> "Lwm Yam"> "Terminal" kom qhib lub davhlau ya nyob twg.

Kauj ruam 2: Nkag mus rau "kaw lub kaw lus" Code

Nkag mus
Nkag mus
Nkag mus
Nkag mus

1. Nkag mus sudo nano /Library/Scripts/sound-off.sh hauv Matthew bash.

2. Lub kaw lus yuav hais kom muaj tus password: Nkag mus rau koj tus password-power.

3. Tom qab ntawd nkag mus

#!/bin/tsoo

osascript -e 'teeb tsa cov ntim tso tawm suab 1'

4. Tom qab ntawd, nws yuav nkag mus rau lub qhov rai, lub sijhawm no los ntawm kev nias tswj + O, thiab tom qab ntawd nyem Enter kom txuag tau. Tom qab ntawd nias tswj + X kom tawm.

Kauj ruam 3: Nkag mus rau Cov Lus Hais hauv qab no

Nkag mus rau Cov Lus Hais hauv qab no
Nkag mus rau Cov Lus Hais hauv qab no
Nkag mus rau Cov Lus Hais hauv qab no
Nkag mus rau Cov Lus Hais hauv qab no

1. Txhawm rau rov kho lub suab tom qab ua haujlwm ntawm lub kaw lus, sau: sudo nano /Library/Scripts/sound-on.sh

2. Lub kaw lus yuav hais kom muaj tus password: Nkag mus rau koj tus password-power.

3. sau cov cai hauv qab no.

#!/bin/bash osascript -e 'teeb ntim 4'

4. Nws yuav nkag mus rau lwm lub qhov rai, lub sijhawm no los ntawm nias "tswj + O" thiab tom qab ntawd nyem "nkag" kom txuag tau. Tom qab ntawv nyem "tswj + X" kom tawm.

Kauj ruam 4: Nkag mus rau Enable Command

Nkag mus rau Enable Command
Nkag mus rau Enable Command

1. Nkag mus rau lo lus txib: sudo chmod u+x /Library/Scripts/sound-off.sh kom cia cov cai saum toj no ua tiav txoj haujlwm.

2. Nkag mus sudo chmod u+x /Library/Scripts/sound-on.sh

3. Sau sudo defaults sau com.apple.loginwindow LogoutHook /Library/Scripts/sound-off.sh

4. Sau sudo defaults sau com.apple.loginwindow LoginHook /Library/Scripts/sound-on.sh

Kauj Ruam 5: Txheeb xyuas tias Txoj Cai Siv Tau lossis Tsis Yog

Txheeb xyuas tias Txoj Cai Siv Tau lossis Tsis Yog
Txheeb xyuas tias Txoj Cai Siv Tau lossis Tsis Yog
Txheeb xyuas tias Txoj Cai Siv Tau lossis Tsis Yog
Txheeb xyuas tias Txoj Cai Siv Tau lossis Tsis Yog

Qhib Finder> Mus rau Folder

Nkag mus: / Tsev qiv ntawv / Cov ntawv sau /, thiab txheeb xyuas daim nplaub tshev rau qhov muaj nyob ntawm ob tsab ntawv no.

suab-tawm.shsound-on.sh

Tam sim no, koj yuav tsis hnov lub suab pib thaum pib lossis kaw koj lub MacBook. Maj mam sim nws!

Thiab koj puas xav paub yuav zais cov ntaub ntawv ntawm Mac li cas? Feem ntau, nws yog qhov yooj yim rau peb kom zais cov ntaub ntawv ntawm Windows, tsuas yog txoj nyem rau xaiv "Properties" thiab xaiv "Hide". Tab sis vim li cas peb tsis tuaj yeem pom txoj haujlwm no ntawm Mac?

Mus thiab ua raws qhov kev zais cia saum toj no:

yuav ua li cas nkaum Cov Ntaub Ntawv ntawm Mac

yuav ua li cas Backup Android ntawm Mac

Pom zoo: