EzDev.org

macosx interview questions

Top 15 macosx interview questions


From Ubuntu, "Back to my Mac"

I have a Mac at home, and run Ubuntu at work. I'd like to be able to connect to my Mac in a similar way to how I had when I worked on a Mac. I have MobileMe so I used Back to My Mac (Apple's version to dynamic DNS) to connect and Screen Sharing (VNC) to access the screen.

My question is, what's the best way to recreate this setup so that I can do the same actions from Ubuntu?

Thank you.


Source: (StackOverflow)

Mac OS X-like built-in dictionary in Ubuntu

Mac OS X has had for ages a feature that's been keeping me from trying or moving to other platforms: its built in Dictionary.app with American & British dictionaries as well as thesauri, plus dictionaries of various other languages. The fact that it's possible to triple-tap (or double-tap + "Look Up ") on a phrase of text/word in virtually all applications to have a dictionary pane pop-up, or search for a word in Spotlight and press enter for a full explanation of that word, is a major advantage.

Now, all this OS X praise aside: is it possible to achieve something equivalent/comparable in Ubuntu or any of its flavors?


Source: (StackOverflow)

Cannot boot into Refit (to choose Ubuntu) on Mac after Yosemite Upgrade

I do yosemite upgrade on MacBook Pro (13 inchi, mid 2012 model). After upgrade it, I cannot boot into refit, no OS option available, just boot into Mac OSX yosemite directly.

  • I tried to reinstal refit, it didn't work.
  • I tried install refind with --esp argument as explain here, it also didn't work.
  • I install refind without any argument, just run install.sh, the message shows it can be installed successfully but nothing change.
  • I install refind with --alldrivers, the message shows it can be installed successfully but nothing change.
  • I do diskutil corestorage revert /dev/disk1 as explain here, it bring my Mac OSX yosemite into white screen only when booting. I repair it from recovery --> startup disk.

So, I would like to ask your help folks to solve my problem. Ubuntu on Mac is my main equipment to do a lot of my jobs, hence I need Ubuntu to show again on refit/refind boot on mac. Here is the content of my partition inspector I did from refit.

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    331171351  Mac OS X HFS+
 3      331171352    332440887  Mac OS X Boot
 4      332440888    333710423  Mac OS X HFS+
 5      333711360    580364287  Unknown
 6      580364288    592750591  Linux Swap
 7      592750592   1465147391  Unknown

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1   1465149167  ee  EFI Protective

MBR contents:
Boot Code: GRUB

Partition at LBA 40:
Boot Code: None
File System: Unknown
Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+

Partition at LBA 331171352:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 3, type Mac OS X Boot

Partition at LBA 332440888:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 4, type Mac OS X HFS+

Partition at LBA 333711360:
Boot Code: None
File System: ext4
Listed in GPT as partition 5, type Unknown

Partition at LBA 580364288:
Boot Code: None
File System: Unknown
Listed in GPT as partition 6, type Linux Swap

Partition at LBA 592750592:
Boot Code: None
File System: ext4
Listed in GPT as partition 7, type Unknown

Source: (StackOverflow)

How to install Ubuntu on a Mac and keep OSX?

Could anyone provide a concise step by step instruction on how to install Ubuntu 12.04 on a Mac OS X Lion?

I have read that Ubuntu corrupts the EFI file so I would like to hear from those who have successfully done it.


Source: (StackOverflow)

How to access an OS X keychain via Ubuntu

I need to access some of the content of an old OS X keychain.

I know the password - this isn't about cracking ;-)

What I don't have is a Mac. I do have the keychain files on a backup drive.

Is there any way to get at the contents on an Ubuntu box? A port of the OS X /usr/bin/security somewhere for example?

A definitive "no" would be as useful as a "yes".


Source: (StackOverflow)

How to make Ubuntu ISO bootable on a USB stick with OSX?

I have a Macbookpro and I'm planning to create a multiple boot. I've already created the necessary partitions and downloaded image file (i386)

When I try to create a bootable USB stick from the ISO file, by means of "recovering" the disk image into the USB drive using Disk Image Utility, I get the following message:

Could not validate source - corrupt image

The disk image can't be mounted in OSX either, I also get a similar message.

Is there any way to make a bootable Ubuntu USB stick from an ISO image in OSX?

Thanks


Source: (StackOverflow)

How to run Mac OS X virtually on Ubuntu 12.04

I am using Ubuntu 12.04 stable version and oracle virtual box 4.1.2_ubuntu

Have a ISO file of snow leopard with me, When I run virtual box I got following error:

FATAL! Could not read from the boot medium!System halted.

I have Selected setting, storage, IDE controller > snow leopard.

I have also run ISO file in vmware player, it shows me following message.

Operating system not found.

Still giving me an error, Did ISO image should be bootable or it is always?

Can anybody tell from where i can download latest version of Mac OS x with Xcode. Xcode is important for me.

Also any other good option to run Mac OS virtually on Ubuntu. If anyone have links for that please share.


Source: (StackOverflow)

Is there any program that can open files from Sketch

Sketch is an app that's Mac OSX only.

Its used for UI design and my company uses it. I can't run the app in Ubuntu.

Is there any program for Ubuntu that can view these kind of file collections?

It's basically a folder with a .sketch ending containing a "Data" file with no ending and some other stuff.


Source: (StackOverflow)

How to mount Mac OS X Lion fileshare?

How can I mount OS X 10.7 Lion shares on my Ubuntu box (10.10, 11.4)?

Since OS X 10.7 Lion update, network integration with Ubuntu is a nightmare. Previously we could print on OSX printers and mount OSX file shares in a snap, using SMB/CIFS.

Now I got to print on OSX Lion printers using CUPS and IPP sharing... DONE! no samba: it works.

Worst I cannot anymore access files on OS X Lion shares (it was OK up to Snow Leopard).

Exactly from Nautilus I can still browse the OSX server shares, mount one of them (using Nautilus and smb:// URL), I can even browse all the share's directory tree, but whenever I try to open a file (even for read-only)

I receive the error

Impossible to open file <<smb://<host>/<share>/<file-path>> Unexpected error: Function not implemented

(this is Konqueror);

When trying to mount.cifs, it reports to me

root@UL30AL64:/home/fmoli# mount.cifs //<host>/<myshare> /media/gw-fm -o user=<myname>,password=<mypwd>,nounix,noserverino,sec=krb5
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Rumours in the net tell that SAMBA4 is the recipe for Linux/Ubuntu. But I tried to set-up samba4 without any luck (very lack of guides around...)

Other ones suggest to install netatalk on Ubuntu. But netatalk is a "server-only" package: I need to mount OSX shares on Ubuntu, not Ubuntu shares on OSX !


Source: (StackOverflow)

ubuntu å vs osx å?

Not sure if this is a ubuntu or osx question, but I'll start here. I'll leave it to the mods to move the question to AskDifferent if more apropriate.

I moved a file from ubuntu to osx using scp on the apple machine. I edited the file on the apple machine. Then I moved the file back, again using scp on the apple machine.

The filename of the source file was Documents/trettiårsfirarätare.

  • Sourcecode: Documents/trettiårsfirarätare

The filename I got back had the name Documents/trettiårsfirarätare.

  • Sourcecode: Documents/trettia˚rsfirara¨tare

While these might look similar, the letters å and ä is actually different between them. At no point did I change the name of the file.

This makes little technical difference to me, I just changed the name of the file back to what ubuntu considers å and ä, but it tickled my curiosity.

Can you explain to me why this happened?


Source: (StackOverflow)

Wubi Install for Mac OS X

I just installed Ubuntu 10.10 on my Windows 7 box using Wubi and I'm loving it so far. One feature that I love is the fact that because I used Wubi it doesn't seem to create a separate partition. Through what I can only imagine is some VM magic Windows and Ubuntu live together on the same hard drive without a partition and you can even access Windows files from within Ubuntu and visa versa. I also have a MacBook and I would love to be able to install Ubuntu on the MacBook as well but I don't want to surrender a portion of my disk space to a different operating system. Is there currently a way to do the whole Wubi VM "virtual partition" on a Mac?


Source: (StackOverflow)

Keyboard layout identical to "US Extended" on Macbook Pro

I am running Ubuntu 13.04 on a Dell machine and I want to have the exact same keyboard layout as I have on my other machine, which is a Macbook Pro with an International English keyboard. On the Mac I have the keyboard set to US Extended.

On Ubuntu I have the layout set to English (Macintosh) which gives me this layout: English (Macintosh) layout on Ubuntu

However what I really want is an exact copy of the US Extended on my Mac, which looks like this:

US Extended layout on OSX

And with the following modifiers with the alt key pressed:

US Extended layout on OSX (alt key pressed)

The layouts are similar but there are small differences, in particular producing the character ˙ modifier on Mac is Alt-w, while under Ubuntu it's Alt-h. I've tried all the English layouts on Ubuntu but none match this exactly. Any suggestions? I'm not adverse to writing a layout config myself, if that's what it takes, but a few pointers would be welcome!


Source: (StackOverflow)

What's the best filesystem to share between OS X and Ubuntu?

Got a MacBook Air 3,1 11" w/ 128GB SSD. Configuring for dual boot. I intend to have a shared drive where I'll store my media. What filesystem is best?

They say FAT32 is best for cross-platform compatibility, but the maximum size for file transfer is 4GB, which could be an issue for my media transfer.

What's the best filesystem to share between OS X and Ubuntu?


Source: (StackOverflow)

How do I disable visual effects in Ubuntu 12.04.1?

So I finally managed to install Ubuntu 12.04.1 on my G5 iMac but I don't want any fancy visual effects. How do I disable those? My user logs in automatically and I can't find anything in System Settings, there is no visual effects tab inside the appearance applet.

I would like to keep the nice Unity shell but just disable visual effects so that the Quartz part of my video card doesn't get used.

Thanks!


Source: (StackOverflow)

Ubuntu "USB for OS X" instructions doesn't create bootable USB drive [duplicate]

This question already has an answer here:

iMac i3 running 10.6.8

  1. I've downloaded the 12.0.4 32-bit Intel ubuntu.iso and converted it to ubuntu.img and moved to root.

  2. The "USB for OS X" instructions say insert USB Flash media.

    My flash media is FAT32.

    But, if one were to use Disk Utility to Erase, what format is correct: FAT, ExFAT, Mac OS Extended (Case-sensitivity), or Mac OS Extended?

  3. Found the drive: /dev/disk1 and unmounted OK.

  4. Issued: sudo dd if=/ubuntu.img of=/dev/rdisk1 bs=1m

  5. The copy goes fine, BUT at the end I get a OS X message that The disk you inserted was not readable by this computer.

    This is not in the Ubuntu instructions. So, I choose the Ignore option.

  6. Issued: diskutil eject /dev/disk1 and restart with Option held down.

    No USB drive shows up to boot from. Eventually I get an "Unrecognized Disk" error. I'm not surprised because my memory is that to get a bootable drive for a Mac requires some version of the correct OS X to be on the disk.

    Yet, the folks who wrote these instructions would certainly know this fact -- yet their instructions don't work.


Source: (StackOverflow)