TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: New job is having me switch from Linux to Mac – how do I cope?

21 pointsby ecaronabout 10 years ago
I&#x27;ve been using Linux over 15 years, and since 2005 I&#x27;ve been at startups where I controlled my destiny and ran whatever the heck I wanted on my work computer (typically Linux Mint Debian Edition on a Lenovo.)<p>Well, I took a new job and it starts on Monday (5&#x2F;4). And part of that job is using the machine I&#x27;m given. As is. Which means a MBP running OS X.<p>Any real world tips that you can give me to ease the change?

18 comments

bitshepherdabout 10 years ago
OS X isn&#x27;t a huge cultural shock. It&#x27;s mostly getting your head wrapped around the dock and some hotkeys, and it mostly Just Works. I made the switch a couple years back after over a decade of hardcore Linux or BSD on the desktop.<p>Once you get a terminal to your liking, it should make things less obtuse and let you get a feel for the operating system.
评论 #9452628 未加载
评论 #9453542 未加载
Revellabout 10 years ago
Why are you being forced to use OSX? Why not just install your distro of choice on it?<p>Other than that, use iTerm2[0], Homebrew[1] and Cask[2], this&#x27;ll kickstart your CLI env in the right direction.<p><pre><code> [0] http:&#x2F;&#x2F;iterm2.com&#x2F; [1] http:&#x2F;&#x2F;brew.sh&#x2F; [2] http:&#x2F;&#x2F;caskroom.io&#x2F;</code></pre>
评论 #9452418 未加载
评论 #9452683 未加载
评论 #9452329 未加载
haackabout 10 years ago
Try and keep an open mind.<p>I used to be a die-hard Arch user who would never consider even buying a mac. Was given a macbook at an internship and haven&#x27;t looked back... Well, I have. I love it though. Give it a month to start getting productive though.<p>As Revell said, Homebrew is a must-have. (Also fish[1], but that applies to Linux too).<p>[1] <a href="http:&#x2F;&#x2F;fishshell.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;</a>
评论 #9452525 未加载
penguinlinuxabout 10 years ago
Hi There, I work at a startup and we all get Mac Latops, I installed VirtualBox and allocated 100Gigs and 4G of Ram to a Linux Mint virtual machine on my Mac OSX instance and it works great. I get so use all the features of the mac and I can do all my work on my linux machine. You shouldn&#x27;t have a problem if you use a virtual machine.<p>Good luck in your new job.
CodeGenieabout 10 years ago
Some general tips for OS X (subjective of course)<p>- Spaces are akin to Workspaces (Three finger left&#x2F;right swipe) and are great for running VM&#x27;s fullscreen.<p>- Use gestures (Two finger&#x2F;Three finger Left&#x2F;Right&#x2F;Up&#x2F;Down swipe or grab&#x2F;spread)<p>- Spotlight (Command-Space) is handy<p>- Give Safari a fair try but you mightn&#x27;t like it (I switched from Chrome last year and am loving it)<p>- I never use Launchpad (Grab gesture)
评论 #9454332 未加载
genericusernameabout 10 years ago
I&#x27;ve been running into the same issue since last week. (Linux user being forced to switch to OSX)<p>All the terminal thoughts mentioned above are good although there are still some weird BSD idiosyncrasies that you&#x27;ll have to cope with (cp missing the link switch, find requiring an explicit target, etc) Ive also been using tmux and it makes the default terminal a bit more bearable.<p>Here are my biggest gripes thus far switching from Debian Jessie with KDE:<p>- The window management is laughably bad in OSX. I installed two extensions (divvy and cinch) to add window docking functionality which helps slightly but they are free only in that they pop up requests to pay every once in a while. Apparently there are some better extensions but they cost money and its my opinion that my workflow is my employers problem, not my monetary responsibility.<p>- Using virtual desktops on OSX after becoming accustomed to the Linux implementation sucks. Its is far less featured than KDE (at least out of the box) and a lot of the extensions to make it better seem to cost money. The desktop switching order is linear and it randomly changes the ordering on you while you are using it. There is also no concept of docking a window across desktops or opening a window on multiple. In fact, when you maximize a window it switches desktops on you.<p>- The firmware for the thunderbolt display is terrible. The USB ports keep shutting off randomly requiring you to unplug and replug the thunderbolt. Doing this totally screws up all your window sizes and placements. I generally have a full screen terminal on a virtual desktop and it causes it to underscan the window until I close and reopen it. Extremely irritating.<p>- I don&#x27;t really like the focus management in OSX but this is more a minor UX irritation. My issue involves clicking on a text field inside a different application and instead of having the text field gain focus, the application gains focus but not the internal text field. Many a time have I entered text into the wrong entry field in the browser.<p>All this being said, Apple hardware is really excellent. Some of the peripherals are a little bit too &#x27;designed&#x27; and not as functional but they are not unmanageable. The software needs some help and I still may switch to Linux in a VM at some point. For now I figure that I might as well give OSX a chance before I completely bail on it. The Apple fanboys would never let me hear the end of it.
评论 #9453649 未加载
评论 #9456955 未加载
popeshoeabout 10 years ago
My biggest problem moving to OSX (from mostly windows) was the idiotic apple UK keyboard layout (US keyboards might not be such a big deal, so this stuff might not apply) so I found myself having to download a regular UK keyboard layout (<a href="http:&#x2F;&#x2F;liyang.hu&#x2F;osx-british.xhtml" rel="nofollow">http:&#x2F;&#x2F;liyang.hu&#x2F;osx-british.xhtml</a>), and Karabiner (<a href="https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;</a>) to make OSX behave properly with my normal keyboard with the pageup&#x2F;down and home&#x2F;end keys<p>Once I sorted that out it was a relatively pleasant experience.<p>You might also want to install SmoothMouse (<a href="http:&#x2F;&#x2F;smoothmouse.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;smoothmouse.com&#x2F;</a>) which tames OSX&#x27;s ferocious mouse acceleration curve, and reduces the delay between moving the mouse and the screen updating to be imperceptible
CodeGenieabout 10 years ago
+1 for running dev environments in virtual machines.<p>I tend to run them headless (Shift-Click in VirtualBox) mapping my dev folder using samba (Command-K in Finder maps to a samba drive) and ssh into the VM&#x27;s CLI using iTerm.<p>It&#x27;s a great way to retain environments at the end of projects.<p>Would love to hear your thoughts after a month? The good and bad obviously...
Arubisabout 10 years ago
Keep in mind that OS X is POSIX-compliant, but it&#x27;s a customized BSD, not Linux. A lot of stuff works the same (and it&#x27;ll compile most of your code without issue), and it&#x27;s certainly a lot closer to what you&#x27;re used to than a Win system (how that&#x27;s POSIX compliant boggles me), but a lot of Linux-specific stuff isn&#x27;t where you think it is.<p>You&#x27;ll need to find alternatives to &#x2F;sys and &#x2F;proc. Services are managed with launchctl, which is kind of a pain. X Window support is there but clunky. And so on.<p>While you&#x27;re living in a console, working on your own code, though, things are close enough to forget about most of the time.<p>Best of luck!
评论 #9454035 未加载
metaphormabout 10 years ago
echoing others I suppose, but I&#x27;ll also recommend running a Linux VM as your dev environment.<p>at my dayjob I&#x27;m using an iMac and managing my virtual machines using Vagrant which loads an image of an Ubuntu Linux machine (same distro as used on our production servers). its a convenient setup in several ways. This keeps my dev environment a close match to the prod environment, and it lets me install packages quickly and easily for development using the usual Linux tools. I also get to continue using the superb desktop interface that OSX provides.
freedevbootcampabout 10 years ago
A MBP running OSX is almost as good as a Linux laptop but with a better GUI. Just be happy they didn&#x27;t give you a windows laptop. In the corporate world you would have to be a unicorn or rockstar to get a MBP. If you were a Linux sysadmin you might get away with running a Linux laptop but very doubtful. I love my Linux and my iMac 27inch no problem running brew to install things on OSX. Your MBP will be able to run vagrant and virtual-box which is Linux anyway.
pjungwirabout 10 years ago
I use Linux as my desktop but have an Air for traveling. Switching between them is not so bad. :-)<p>Lots of great advice here, but I still remember being surprised that on OS X (and BSDs I think?) a trailing slash in a directory name is significant, e.g. here:<p><a href="http:&#x2F;&#x2F;hints.macworld.com&#x2F;article.php?story=20051112100007372" rel="nofollow">http:&#x2F;&#x2F;hints.macworld.com&#x2F;article.php?story=2005111210000737...</a><p>Keep that in mind when running `cp` etc.
jedi_masterabout 10 years ago
Its a unix OS... it works the same. Some commands vary a bit but its largely the same. If you hate it, ssh into a linux box.
MalcolmDiggsabout 10 years ago
Is dual-boot not an option? Or... if you&#x27;re not allowed to do that, you could always use a live-cd or live-usb version of your favorite linux distro. Might run a bit a slower, but maybe a live-usb running off of a SSD drive with a thunderbolt connection would be fast enough.
photokandyabout 10 years ago
You&#x27;ll probably transition fairly easily. Mac OS X is a customized BSD, so although it has differences with respect to Linux, it&#x27;s also not that foreign either.<p>* Remap Command and Control if your fingers can&#x27;t adjust to the change in shortcuts. System Preferences &gt; Keyboard &gt; Modifier Keys<p>* If you want TAB to work with all widgets (which is what makes sense to me): System Preferences &gt; Keyboard &gt; Shortcuts &gt; Full Keyboard Access: All Controls<p>* Not sure where a menu command lives? Search for it in the Help menu&#x27;s Search field.<p>* Spotlight is a pretty good launcher, calculator, and more. Command+Space is your friend.<p>* If you need additional keyboard remapping support: [Karabiner](<a href="https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;</a>) and [Seil](<a href="https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;seil.html.en" rel="nofollow">https:&#x2F;&#x2F;pqrs.org&#x2F;osx&#x2F;karabiner&#x2F;seil.html.en</a>)<p>* Time Machine is your friend.<p>* Grab [iTerm2](<a href="http:&#x2F;&#x2F;iterm2.com" rel="nofollow">http:&#x2F;&#x2F;iterm2.com</a>). Apple&#x27;s terminal is nice, but iTerm2 has so much more. If you use tmux, iTerm2 has support for that, too.<p>* Install [Homebrew](<a href="http:&#x2F;&#x2F;brew.sh" rel="nofollow">http:&#x2F;&#x2F;brew.sh</a>) for package management.<p>* [TotalSpaces 2](<a href="http:&#x2F;&#x2F;totalspaces.binaryage.com" rel="nofollow">http:&#x2F;&#x2F;totalspaces.binaryage.com</a>) gives you even more control over how your spaces are arranged, animations between them, and keystrokes for accessing them. Can&#x27;t live without it anymore.<p>* Window management sucks. I use [Moom](<a href="http:&#x2F;&#x2F;manytricks.com&#x2F;moom&#x2F;" rel="nofollow">http:&#x2F;&#x2F;manytricks.com&#x2F;moom&#x2F;</a>)<p>* I&#x27;ve given up on Apple&#x27;s Mail.app. I use Gmail, and [AirMail 2](<a href="http:&#x2F;&#x2F;airmailapp.com" rel="nofollow">http:&#x2F;&#x2F;airmailapp.com</a>) does the trick for me.<p>* Use virtual machines where appropriate (VirtualBox, VMWare, Parallels, ...)<p>* Install your preferred shell if Bash isn&#x27;t your cup of tea. I use [Fish](<a href="http:&#x2F;&#x2F;fishshell.com" rel="nofollow">http:&#x2F;&#x2F;fishshell.com</a>)<p>* [F.lux](<a href="https:&#x2F;&#x2F;justgetflux.com" rel="nofollow">https:&#x2F;&#x2F;justgetflux.com</a>) is your eye&#x27;s best friend.<p>* [Bartender](<a href="http:&#x2F;&#x2F;www.macbartender.com" rel="nofollow">http:&#x2F;&#x2F;www.macbartender.com</a>) keeps all those pesky menu items under control<p>* If you want to really customize your gestures and the like, [BetterTouchTool](<a href="http:&#x2F;&#x2F;www.bettertouchtool.net" rel="nofollow">http:&#x2F;&#x2F;www.bettertouchtool.net</a>) can be useful. For awhile I had my &quot;Windows+E&quot; muscle memory tied to launching a new Finder window until I got over it.<p>Good luck! Give it about a week or so (if that), and you should be comfortable in your new environment.
eipabout 10 years ago
Just run linux in a VM.
partisanabout 10 years ago
Take a deep breath.<p>You will likely find the transition to be jarringly pleasant. To ween yourself off of linux, continue to use a VM on your MBP (I used vmware) to run your favorite distro.<p>Keep calm and carry on.
balls2youabout 10 years ago
Install VMWare Fusion or VirtualBox, give it most of your RAM and hard disk space. Now run Linux on that. That&#x27;s your best bet for sticking to Linux for most of your work.<p>You can use browser on the Mac if you want to be able to use the latest and greatest firefox&#x2F;Chrome but for coding and software nothing beats Linux. All the OS X brew&#x2F;ports etc are just not good enough compared to apt-get.<p>You can run the VM using VirtualBox in background mode too and then just ssh to it using the Terminal.app or iTerm.app on OS X.<p>Copy-paste works really well on iTerm so you can copy-paste links from your OS X browser like Firefox&#x2F;Chrome to the ssh terminal and use it in case you download software using wget&#x2F;curl sometimes.<p>For email, Thunderbird&#x2F;Mail.app both work really well on OS X and that should be good enough unless you want mutt, which you can then use from your Linux VM.<p>Most likely your production environment is Linux, esp. if you&#x27;re in a company that is giving you Macs so most likely web development. Even better if you mimic your production environment in your VM and develop on that instead of developing on a non-standard environment like OS X and then hoping stuff works in production. (Tons of devs do this and it makes no sense.)
评论 #9452916 未加载