> Best blogg: mac
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Sunday, October 4, 2015

How to delete a hard-drive partition on Mac

Étape 1: Effacez partition

Pour commencer, ouvrez Utilitaire de disque en recherchant l'aide de Spotlight ou le trouver dans Applications> Utilitaires.   
Ensuite, cliquez sur la partition que vous souhaitez supprimer dans le panneau de gauche.
effacer-partition.jpg
Capture d'écran par Matt Elliott / CNET
Avec votre partition sélectionnée, cliquez sur le Erase bouton en haut de l'Utilitaire de disque. Cela fera apparaître une fenêtre avec un bouton Effacer. Cliquez sur Effacer et puis cliquez sur Terminé.     

Étape 2: Supprimer la partition

Avec les données effacées de votre partition, vous avez encore besoin de supprimer la partition maintenant vide afin de réaffecter son espace au reste de votre disque dur.
retirez-partition.jpg
Capture d'écran par Matt Elliott / CNET
Pour ce faire, sélectionnez votre disque dur à partir du panneau de gauche, puis cliquez sur le partage bouton en haut de l'Utilitaire de disque. Sur le graphique circulaire sur la gauche, cliquez sur le coin qui représente la partition que vous venez d'effacer. Cliquez sur le «- bouton, puis cliquez sur" Apply.   
Après une minute ou deux, Utilitaire de disque se terminer l'application des modifications à votre lecteur et juger la réussite de l'opération. Cliquez sur Fait pour compléter votre travail ici.  
partition-opération-successful.jpg
Capture d'écran par Matt Elliott / CNET

Thursday, November 20, 2014

How to set up multiple user accounts on OS X

user-accounts-promo.jpg
Welcome to Mac Mondays! Each Monday, the team at CNET How To goes in-depth on ways you can improve your Mac. We'll talk performance upgrades (for old and new models), hardware hacks, and workflow tips. This is where you'll go to find out how to release your Mac's potential and make the most of your purchase.

Despite repeatedly pleading with my kids (followed by warnings and the occasion threat), I rarely get my iPhone or iPad back from them in the same state as I lent it out. They change the wallpaper, rearrange app icons and folders, and generally mess with my settings each time they are allowed "screen time."
My kids ask to use my MacBook Pro less frequently, but when they do, they have their own user accounts so they can select a new wallpaper image as it strikes their fancy while also being restricted from certain corners of the Web. If you have a Mac at home that's shared among family members, I suggest you take a couple of minutes to create multiple user accounts.

Adding accounts

To get started, open System Preferences and select Users & Groups. Next, click the lock icon and enter your password in order to make changes.
sys-pref-users-groups.jpg
                                                       Screenshot
To add a new user, click the "+" button that's above the unlocked lock icon in the lower-left corner. You can select one of four different account types:
Administrator: can add and manage other users, install apps, and change settings. The first account you created when you set up your Mac for the first time is the administrator. You can have multiple administrator accounts and can always make another type of user an administrator after the fact by checking the box labeled "Allow user to administer this computer" on a user's profile.
admin-rights.jpg
 
Standard: can install apps and change settings for his or her own use. Standard users can't add other users or change other users' settings.
Managed with Parental Controls: can access only the apps and content specified by the administrator managing the user. The administrator can restrict the user's contacts and website access, and place time limits on computer use.
Sharing Only: can access shared files remotely, but can't log in to or change settings on the computer.
user-groups-add-user.jpg
There is also a Guest User account that is normally enabled by default. A guest can log in without a password but can't change any settings and any files created are deleted when the guest logs out. You can also enable or disable guest access to your shared folders.
You'll likely use the Standard account for the other responsible adults in your household and use the Managed account for your kids. For each user, you can give it a name, a profile pic, and either a separate password or your iCloud password.
You can also set up a group and add a subset of your users to it, but it is really only useful if you closely manage your shared folders. (A group can save you a couple of clicks when setting up access rights to shared folders.)

Parental controls

For Managed users, the parental controls let you restrict access to a variety of content, including certain apps and Websites, and you can also set time limits.
On the Apps tab, you can enable Simple Finder, which lets you limit the items in the Dock to a three folders: My Applications, Documents, and Shared. You can then check off which items you'd like to appear in each. Also on the App tab, you can check a box for Limit Applications, which lets you to set an age rating for apps the user can install (up to 9+ or 12+, for example).
parental-controls-apps.jpg
On the Web tab, you can whitelist and blacklist Websites. The automatic setting is enabled by default, and you can customize it by adding sites but it seems like an uphill climb to add individual sites that you kids can and cannot access. There is also a whitelist setting where you can limit access to only Websites you have approved.
On the People tab, you can set up GameCenter restrictions. You can also limit whom you child can contact with the Mail and Messages apps.
On the Time Limits tab, you can set a limit on the number of hours your child can use your Mac on weekdays and weekends. Likewise, you can set a bedtime range during which your Mac is inaccessible.
time-limits.jpg
Lastly, the Other tab features a number of checkboxes for such things as disabling the Webcam, restricting access to printer settings,and hiding profanity in the Dictionary app and

Switching between users

You don't need to log out from one account in order to log into another; multiple users can be logged in at the same time. To change from one account to another, click on your user name in the menu bar and select another user from the drop-down menu.
switch-users.jpg
You can also return to the login window and access the Users & Groups panel in System Preferences from here as well.

Sunday, November 9, 2014

How To Transfer Files Between Android And Mac


Android File Transfer: The Easy Way

Android File Transfer is a free Mac app from the Android team. With it installed, you’ll see a window like this every time you plug in your device:

android file transfer   Android File Transfer: How To Transfer Files Between Android And Mac

From here you can transfer files to and from a separate Finder window. Simple.
You might notice that my Android’s file system is a bit of a mess. Guilty. I should probably get around to cleaning that up. Happily it’s easy to do with this tool: I can CMD- or right-click any file and click “Delete”.

android file transfer right click   Android File Transfer: How To Transfer Files Between Android And Mac

I point this out only because there doesn’t seem to be many other features. Seriously: copy-paste doesn’t work, there’s no search, and you can’t use quick look to preview your files. Pretty much all you can do is transfer and delete files.

This is your best option for the quick transfer of files. If you want full integration with your Mac’s Finder (or one of its alternatives), you’re going to need to try a third-party tool.

The WiFi Alternative: DroidNAS

If you want to browse Android files using the Finder, you won’t find a USB option. You can, however, acquire your files over the network — and a program called DroidNAS is the simplest way to set that up. It’s one of many ways you can access your Android device wirelessly.

droidnas on screen   Android File Transfer: How To Transfer Files Between Android And Mac

In just a few taps, you can make your Android’s various folders, including the entire SD card, shared on the network. This gives you full access to your files from Finder, assuming both devices are on the same network.

droidnas working   Android File Transfer: How To Transfer Files Between Android And Mac

In my tests, browsing folders was a little slow, but everything worked. I transferred a half-gig file to my Android device without any hiccups.

In theory DroidNAS is supposed to make your Android device visible from Finder, so you need only click an icon to start browsing your files. If you’re using Mavericks or later, however, that won’t work.


droidnas fail   Android File Transfer: How To Transfer Files Between Android And Mac

DroidNAS hasn’t fixed this problem, instead offering this workaround:
Press Cmd+K in Finder and enter IP address AND share:
smb://IP_ADDRESS:Port/Share

for example:

smb://192.168.1.101:7777/SD Card
Here’s what that looks like:

droidnas connect   Android File Transfer: How To Transfer Files Between Android And Mac

It’s a bit of extra work, sure, but after setting it up once, you’ll get the hang of it.
It’s not a perfect solution, and it’s a lot slower than Android File Transfer’s wired connection. But if you’d rather not fuss around with wires, it’s a good approach.

Thursday, July 10, 2014

Install command line developer tools in OS X

Install command line developer tools in OS X

If you need access to programming tools on your Mac, there are several ways to go about installing them.
Install command line developer tools in OS X
Part of OS X is its powerful command-line interface, where a competent or even novice programmer can make use of a number of tools for configuring and customizing the system, and make programs and scripts

While OS X ships with a number of common commands, by default Apple does not include those that are used for checking out, compiling, and otherwise managing code for developing applications.

If you need these tools for some reason, then there are three ways you can get them on your Mac. The first is to install Apple's XCode developer suite, which is available via the Mac App Store for free. However, installing this will also include XCode itself, and despite its benefits, some people may not wish to have the entire Xcode suite installed on a system.
Command Line Tool downloads for OS X
The command line tools are available as standalone installer packages from the Apple Developer Web site. Screenshot by Topher Kessler/CNET
The next option is to download the latest command line tools from Apple's developer page. To do this, you simply need to log into the downloads section of the Apple developer site using an Apple ID. Here you can search for "Command Line Tools" to view all versions of the tools from Lion through Mavericks. These can then be downloaded as .dmg disk images and mounted, and you can then run the enclosed installer.
The last option is perhaps the easiest, which is to use the system's ability to install the command line tools on demand. This is done by an application in the Macintosh HD > System > Library > CoreServices folder called "Install Command Line Developer Tools." However, this program cannot be launched independently. To run, this program must be invoked by a service or application that calls for the use of the developer tools.
Command line developer tools install prompt in OS X

Install command line developer tools in OS X

In most cases, standard developer commands like "make," "gcc," "cc," "svn," "git" or Apple-specific tools like "xcode-select" or "xcodebuild" or "xcrun" will require these tools, so running these in some form will spur the system to launch the "Install Command Line Developer Tools" program.
Therefore, to install these tools, simply open the Terminal, type "make" or any desired common developer command, and press Enter, and then when prompted you can install the developer tools (an approximate 100MB download from Apple), and be up and running.

When installed, the developer tools will be placed in the Macintosh HD > Library > Developer directory, which you can peruse to see what exactly has been installed. To uninstall these tools, simply remove the "Developer" folder from the Macintosh HD > Library directory.

Free app Memory Clean

today, I wrote about Memory Diag, a Mac app that helps you optimize system memory to help you through periods of sluggish behavior. Memory Clean is another such free app that takes a slightly different approach to monitoring memory resources. If you could combine the two, you might have the perfect memory optimizer for OS X. But because the technology does not exist to combine these two apps, let's take a look at how Memory Clean goes about its business and how it differs from Memory Diag.
Memory Clean
Memory Clean
Like Memory Diag, Memory Clean installs an icon in the menu bar. By default, the icon features a small dial graphic showing the amount of free memory your Mac currently has at its disposal. In preferences, you can hide the dial graphic while keeping the dynamic free memory figure. You can also change the number to display as a percentage, and you can add Memory Clean to the Dock and have it start when you log in.
Advanced preferences let you set a threshold level for when your free memory goes into the red. That is, at what point you'd like Memory Clean's number in the menu bar to turn red to alert you that you are running low on memory resources. There is also a box to check to have the app autoclean your Mac's memory when it falls below that threshold.
Memory Clean
Memory Clean
I don't have any scientific or anecdotal evidence to support the following advice, but I would counsel you against enabling Auto Clean. Like Memory Diag, Memory Clean is most effective after you close an intensive app because it cleans up the caches that the application left littered across your Mac that can fragment your memory and slow down performance. I would get in the habit of running Memory Clean in such instances rather than having it automatically kick in when memory resources are running low and your system is feeling sluggish. When Memory Clean cleans your memory, your already slow system will proceed to get even slower. Better to quit any demanding apps to bring your system back up to something resembling full speed before running Memory Clean to optimize performance further.
To run Memory Clean, click its icon in the menu bar. A window will appear to show dynamic figures of your Mac's current active, wired, inactive, and free memory. Click the Clean Memory button to initiate a scan to free up more memory. The scan takes between 15 and 30 seconds to run, in my experience. Alternatively, you can right-click the menu bar icon to access via a small pull-down menu the same stats and clean-memory command, along with the app's preferences.
Memory Clean
Memory Clean
While both Memory Clean and Memory Diag perform the same service, each boasts a useful feature the other lacks. Memory Clean keeps me better informed. It shows me the exact number of MBs of memory I have free at any given time, turning red to give me a clear warning when memory resources are scarce. Whereas Memory Diag does a superior job of diagnosing which apps are memory hogs. It lists the offending app(s) so I can easily eradicate any problems.

Monday, July 7, 2014

Quick Mac

Quick Mac prank for April Fools' Day

If someone you know uses his or her Mac regularly, then you can tackle the system with a quick change that might give you a chuckle or two this April Fools' day. Simply take a screenshot of the display, and then set it to be a full-screen image in Apple's Preview program.

Granted this trick is nothing new, but can easily be done in OS X, in the event you need to jump in, perform the prank, and jump out without being detected:
    Quick Mac
  1. Take a full-screen screenshot
    First, press Shift-Control-Command-3 to save a screenshot of the display to the clipboard.
  2. Make a new image in Preview
    Open the Preview application (Press Command-Space and search for it in Spotlight), and then press Command-N to make a new image.
  3.  Set the image to be full-screen
    Press Control-Command-F to toggle full-screen mode on the current image (the screenshot).
With this setup, the display will look the way they left it, but nothing on screen can be clicked or moved. Instead, the mouse cursor will turn into a crosshair and click-dragging will create a selection box. Of course, the person will find out the issue when they try to access menus and the real menu bar drops down from the top of the display, but until then it may be fun to see the confusion ensue.

Test the RAM on your Mac

If you have a used Mac, or a newer one, or one that you have serviced to upgrade its RAM, then it is highly recommended to test the system's RAM before relying on it for day-to-day activities.

RAM is the active work-desk that the OS and applications use for running, and if there is a problem with RAM, then problems stemming from crashes and freezes to data corruption can occur.

Test the RAM on your MacThis is similar to having a gaping hole on your desk, where things you use like pens, rulers (that is, applications), can fall through and be lost. Alternatively, if you are writing or drawing and have that same hole under your paper, then when you get to the irregular surface, you can puncture the paper or otherwise frustrate your workflow, like data corruption.

To test your Mac's memory, you can use a number of tools, like the Terminal-based Memtest suite, or the OS X GUI wrapper for it called Rember. However, these run within OS X, and having the OS loaded in the background restricts the memory the OS is using from being tested by these programs. Therefore, to minimize the amount of RAM used while testing, boot to the Apple Hardware Test suite, and run the memory tests from there.

To launch the hardware tests, boot your Mac with Option-D held down immediately after you hear the boot chimes, and the tests will download from Apple's servers.

If you have a relatively new Mac, then these tests will run automatically when invoked; however, if not, then you will have to click the Test button -- but be sure to check the box for an extended memory test. It may take a few hours to complete the extended test, but when finished the system will report any errors it has detected with your RAM.

If you see any errors, then be sure to address them by replacing your RAM. Often, manufacturers will provide lifetime warranties for their RAM, so before purchasing new RAM, contact the manufacturer for its warranty policy.

Sunday, July 6, 2014

How to save to hidden directories in OS X

 How to save to hidden directories in OS X


Accessing a hidden folder from within an application may be tricky, but can be overcome using a simple Finder trick.

How to save to hidden directories in OS X
How to save to hidden directories in OS X


While in standard uses there may be little reason to save files to a hidden directory in OS X, there are sometimes cases when you might want to do this. The operating system contains numerous hidden directories, such as the Library folder in your user account, a number of system folders that contain configuration files and programs, as well as the ability to manually hide specific folders on your system which, for fun or otherwise, can be used to keep items relatively hidden.
If you would like to access a hidden folder on your system, you might find that accessing them can be a bit of a burden. One approach is to regularly unhide the folders, either by changing their finder flags or by setting the Finder itself to show hidden directories.
Another approach is to open a program under the root account, since this account has full access to the entire file system, and should therefore be able to access any directory. This can be done by opening Terminal and targeting the desired application's executable using the "sudo" command, such as the following for TextEdit:

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit

While this might seem logical, unfortunately it will be met with the same restrictions and you will still not be able to see a hidden folder in the Finder. This approach is good for editing files that can only be accessed by root, but will not overcome the inability to see a hidden folder.

If you would instead like to keep files hidden in the Finder but still access them in a program you are using (be it run under your account or under root), then you can use a technique in the Finder to access it.

Simply choose Go To Folder from the Finder's Go menu, and then enter the path to the hidden directory in the field (note that this field supports tab-completion of file and folder names). Then press Enter to open the folder, which will show in the Finder slightly grayed out. You can drag this folder to the Open or Save dialogue box in any application, which will point that application to the contents of this folder.

From here you can open or save files, and the program will treat the folder as any other you can save files to.
Note that some applications, such as BareBones' TextWrangler, which are built for viewing and editing hidden directory contents, may have options in their Open and Save dialogue boxes that allow you to reveal hidden items. In this cases, these options will be far easier to use.

How to save to hidden directories in OS X

tags: How to save to hidden directories in OS X, ios x, computers, mac, ios

Popular Posts

 

Copyright @ 2013 Best blogg.

Designed by Templateify & Sponsored By Twigplay