terminal – Has the Unix parameter name SystemAudioVolume in El Capitan been changed to SystemAudioVolume DB?

I try to change the start tone. When I checked the setting with:

sudo nvram -p

A setting for SystemAudioVolume DB% ee is returned

I entered:

    sudo nvram SystemAudioVolume=%00

If I check that again with sudo nvram -p

Both names appear in the list:

SystemAudioVolume DB ….% ee

SystemAudioVolume ….% 00 (accepted my setting but did not stop the sound)

Should I try to set SystemAudioVolume DB instead?

If so, is that the right way?

sudo nvram SystemAudioVolumeDB=%aa

(No place in front of DB.) Does anyone know the right area for it?
My computer is old, but I do not want to break it.

gnome terminal – Nothing I've tried works until now and tries to access my PC normally

After I installed a virtual machine and made sure it was not working, I left my laptop in hibernation and when I came back I could only open it with Firefox. I can not open the terminal, keyboard shortcuts do not work, and it does not open in the menu. I do not have access to the file system because it does not open. I went into recovery mode, tried to update everything, and used the cleanup. I deleted the VM and its files, hoping they will work again, and tried to update Python, but it did not help.

usa – Transfer from Terminal B to Terminal C within Newark Airport

I will travel from Hong Kong to arrival port B of Newark Liberty International Airport and after 4 hours take a connecting flight from Terminal C to Boston Logan Airport. I want to check if the following information is correct or not.

1) During the entire operation to Bonston, including port of entry, baggage claim, customs, baggage transfer to Boston flight during the transfer, I do not have to leave the security zone at Newark airport and take the flight at Terminal C to Boston.

2) Where can I find the luggage storage for my flight to Boston after the above mentioned duty? Is there a sign or a reference to the Boston flight number to remind me to throw the bag into my belt?

3) After handing over the luggage, I take the shuttle bus from Terminal B to Terminal C and the shuttle bus should still be in the security zone.

Would you please try to check the above? Your help is very welcome.

sleep wake – Sending messages from the terminal does not work when the Mac goes into sleep mode

I have a script for it LaunchControl Runs in the middle of the night to back up my database and send a message that this has happened. The picture is sent as follows:

osascript -e 'tell application "Messages" to send "backup completed" to buddy "admin"'

I use OSX Mojave. This works well if I test it during the day, but in the middle of the night the message is not sent even though the backup is taking place. It probably has something to do with my machine sleeping. How do I fix this?

applescript – lock screen with terminal? Javascript prevents keystrokes

I want to lock the screen of my Mac remotely. I do not want to sleep my Mac. Only the screen. I do not want to request a password every time I put my monitor into sleep mode (system settings / password required). And I definitely do not want to suspend the current user (CGSession -suspend) because my Mac also serves as the Media Control Center.

I tried to create an App with an Applescript that I could start remotely, but this command in the Applescript fails:

 tell application "System Events"
      key code 12 using {command down, control down}
 end tell

When I start the applescript from the terminal, I get the error message that Javascript is not allowed to send keystrokes.

Here's what I'm trying to achieve: I have a Philips Hue dimmer remote near the front door of my house. I've reprogrammed the keys to do different things (light up, replay everything I've heard in iTunes recently, etc.). It's great, besides, I want the OFF button to turn off my lights, iTunes, etc., and lock my Mac's monitor. Everything works, except for the last step.

I can sleep with the monitor of my Mac

do shell script "pmset displaysleepnow"

I resigned myself for the time being, but that sleeps the monitor. I want to lock the monitor.

I know I can go to system settings and request a password after hibernating, but I do not want to use a password every time I put my monitor to sleep. That would drive me crazy. I also know that I could do something like this:

do shell script "/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"

This will break the current user's session, so my remote can not control my Mac. I just want to lock my monitor (Command Control Q) without using a hotkey so I can trigger it remotely.

How can I remotely lock the screen of my Mac?

How do I write a text in terminal with AppleScript?

How can I paste text into Terminal.app with AppleScript?
I do not want to do it (press Enter). Just to insert it.
My current script is almost working:

tell application "Terminal"
    tell application "System Events" to keystroke "TextToInsert" using {}
end tell

The problem is when this is done by a keyboard shortcut, eg. CMD-T and then the pressed CMD disturb the keystrokes and change the desired behavior.

I have to say that either keystroke Command to ignore modifier keys or use another command to write the text there. In my opinion write but should not know how.

terminal – Does wine display "No such file or directory found"?

I tried to install wine from the official website, and I had the sawing error
Currently it is being used by installing it and xQuartz in Homebrew
Still the same mistake

-bash: /Applications/Wine Stable.app/Contents/Resources/wine/bin/wine: No such file or directory

The file is SteamSetup.exe, I tried with the "wine SteamSetup.exe" and with the full directory, the same.

terminal – Execute FFmpeg in Automator / AppleScript

I previously wrote an apple script to automate a task that I often do in my work.

With the upgrade from Apple to Catalina, I will lose the use of Quicktime 7 (which is part of my image sequencing workflow). I would like to take this opportunity to rewrite my script.

I do it one step at a time and the first one is FFmpeg.

I wrote a script:

ffmpeg -r 25 -f image2 -pattern_type glob -i '*.JPG' -codec:v prores_ks -profile:v 0 imagemagick_TL_Test_01.mov

This works in Terminal when I navigate to the folder and execute it. Great.

Now I want to find a way to make the action drag and drop.

I've tried to customize my old code to be included in the appropriate section to run the ffpmeg on the dropped folder, but I found errors after error. Ideally rename the output file to get the name of the parent folder and save it in the parent folder.

on open dd

    repeat with d in dd
        set d to d's contents
        tell application "Finder"
            set seq1 to (d's file 1 as alias)
            set dparent to d's container as alias
            set mov to "" & dparent & (dparent's name) & ".mov"
        end tell
        do shell script "d=" & d's POSIX path's quoted form & "
    /opt/local/bin/ffmpeg -r 25 -f image2 -i "" & seq1 & "" '*.JPG' -codec:v prores_ks -profile:v 0 "" & dparent & ".mov" && exit
    end repeat
end open

This gives me the error:

(image2 @ 0x7ff9cd000000) Could find no file with path '***:Users:***:Desktop:imagemagick_TL_Test:01:_DAN7741.JPG' and index in the range 0-4
***:Users:***:Desktop:imagemagick_TL_Test:01:_DAN7741.JPG: No such file or directory

All references would be very grateful! Thanks a lot!