Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Monday, 25 November 2013

Add a full OS X Terminal to Google Chrome

Description

If you are a Chrome user and want to get full-fledged terminal right in your browser then we can help you.





Solution:

There is a Terminal plug-in in Google through which you can get access to the BSD command line interface within the browser and this provide you full access to the system. For installing it, go to “DevTools Terminal application” page within Chrome and click the given link to install the terminal add-on. After the installation task gets completed, it will appear as an app which you can click to load. The current tab gets converted into a Terminal window giving you the familiar command prompt in your home directory.

Similarly like other apps of Chrome, you can customize this app by right-clicking on it. Also, you can choose to open it as a regular tab or as a pinned tab or in full screen. For example, you are performing some task in Terminal and want to look the instructions to perform some command. Then create a new tab and browse the web for instructions. After this, you can go back to Terminal to complete the task.
As your Mac’s Terminal app supports tabs and multiple windows thus, the DevTools Terminal may seem redundant. However, for any other important application it may prove helpful so as to double-up the functionality. Having multiple Terminals make it easy for you to perform commands if one is not working.
Therefore, it is useful to keep both Mac’s and DevTools Terminals. For more from the XpertCrewTM team, please follow us on Twitter @Techvedic or contact Techvedic’s computer support helpdesk, as per below contact-details: 

U.S. +855-859-0057 (http://www.techvedic.com/  )
U.K. +800-635-0716 (http://www.techvedic.co.uk/ )
CA  1-855-749-5861 (http://www.techvedic.ca/> )
AU  1-800-197-298  (http://www.techvedic.com.au/> )
And yes, we are eagerly waiting for your valuable feedback. Do write us back. We would be more than happy to help you. We are available 24/7.

Wednesday, 6 November 2013

Speed up the shutdown process in OS X

Description

If your Mac is constantly taking long time to shut down then there is some problem which should be resolved. This could be due to some problematic device or some faulty configuration of your system. Also, your system may be waiting for some background processes to exit. OS X takes only few seconds to shut down normally.

Solution:

If this problem is due to some background processes then you can change the default 20-second time to a lower value so that the system will exit these processes earlier. 
Let’s have a look on the background processes that hamper the shutdown of OS X:
•AppleEvents- With this, processes can communicate and command each other. 
•securityd – Through this, you can manage access to keychains and other security authorizations. It may time out while waiting for user interaction for some authentication request.
•mDNSResponder -- Multicast DNS actions, including automatic discovery of network servers and services can be managed by it. It usually time out due to local network configuration problems.
•Diskarbitrationd - It monitors the mounting and accessibility of local file systems. It may time out if there is any fault in the drives being used.
•Apple ID authentication – By this, you can manage the verification of your Apple ID for various services. Due to poor network access or lack of response from Apple's servers, it may time out.
For these processes, system launcher holds 20-second default timeout. Thus, by directing the launcher to shorten this default timeout you can speed up shutdowns.
For changing the timeouts, you need to change the launch daemon files the system uses for these services. After taking the backup of your system, run the following commands which you can copy and paste into the OS X Terminal utility:

sudo defaults write /System/Library/LaunchDaemons/c\
om.apple.coreservices.appleevents ExitTimeOut -int 5

sudo defaults write /System/Library/LaunchDaemons/c\
om.apple.securityd ExitTimeOut -int 5

sudo defaults write /System/Library/LaunchDaemons/c\
om.apple.mDNSResponder ExitTimeOut -int 5

sudo defaults write /System/Library/LaunchDaemons/c\
om.apple.diskarbitrationd ExitTimeOut -int 5

sudo defaults write /System/Library/LaunchAgents/com.\
apple.coreservices.appleid.authentication ExitTimeOut -int 5

In the above commands, the timeout value is set to 5. It means the system will wait for 5 seconds before turning off any process. These are “sudo” commands. This means when you run the first command, you need to enter your admin password. Make sure you paste both lines of each command available above in the terminal. When it gets completed, restart your computer. 

Also, you can run the following commands to remove the "ExitTimeOut" settings entry. 

These are:

sudo defaults delete /System/Library/LaunchDaemons/c\
om.apple.coreservices.appleevents ExitTimeOut

sudo defaults delete /System/Library/LaunchDaemons/c\
om.apple.securityd ExitTimeOut

sudo defaults delete /System/Library/LaunchDaemons/c\
om.apple.mDNSResponder ExitTimeOut

sudo defaults delete /System/Library/LaunchDaemons/c\
om.apple.diskarbitrationd ExitTimeOut

sudo defaults delete /System/Library/LaunchAgents/com\
.apple.coreservices.appleid.authentication ExitTimeOut
Follow the above tips and speed up the shutdown process of OS X. For more from the XpertCrewTM team, please follow us on Twitter @Techvedic or contact Techvedic’s computer support helpdesk, as per below contact-details: 
U.S. +855-859-0057 (http://www.techvedic.com/ )
U.K. +800-635-0716 (http://www.techvedic.co.uk/ )
CA 1-855-749-5861 (http://www.techvedic.ca/> )
AU 1-800-197-298 (http://www.techvedic.com.au/> )
And yes, we are eagerly waiting for your valuable feedback. Do write us back. We would be more than happy to help you. We are available 24/7.