Ramin Honary<p><span class="h-card"><a class="u-url mention" href="https://social.linux.pizza/@theDuesentrieb" rel="nofollow noopener noreferrer" target="_blank">@<span>theDuesentrieb</span></a></span> I asked for the highest-spec computer the company would buy me (which turned out to be an Apple MacBook M2). I then promptly installed a QEMU-based emulator and installed Debian Linux into the emulator. The emulated disk is fully encrypted. I allow the VM full use of all CPU cores and 100% of all memory and disk space.</p><p>If you do get a Apple computer, I highly recommend you buy <a href="https://mac.getutm.app/" rel="nofollow noopener noreferrer" target="_blank">UTM</a> from the app store, it is by far the most cost-effective option, and works extremely well with Debian Aarch64. Once you install the <code>qemu-guest-agent</code> package onto Linux, the Linux screen resolution will automatically match the <a class="hashtag" href="https://fe.disroot.org/tag/macbook" rel="nofollow noopener noreferrer" target="_blank">#MacBook</a>, copy-paste works seamlessly between <a class="hashtag" href="https://fe.disroot.org/tag/linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> and <a class="hashtag" href="https://fe.disroot.org/tag/macos" rel="nofollow noopener noreferrer" target="_blank">#MacOS</a>. Desktop environments like <a class="hashtag" href="https://fe.disroot.org/tag/cinnamon" rel="nofollow noopener noreferrer" target="_blank">#Cinnamon</a>, <a class="hashtag" href="https://fe.disroot.org/tag/xfce" rel="nofollow noopener noreferrer" target="_blank">#Xfce</a>, <a class="hashtag" href="https://fe.disroot.org/tag/gnome" rel="nofollow noopener noreferrer" target="_blank">#Gnome</a>, and <a class="hashtag" href="https://fe.disroot.org/tag/kdeplasma" rel="nofollow noopener noreferrer" target="_blank">#KDEPlasma</a> all allow you to select <a class="hashtag" href="https://fe.disroot.org/tag/hidpi" rel="nofollow noopener noreferrer" target="_blank">#HiDPI</a> scaling which allows Linux to take full advantage of the <a class="hashtag" href="https://fe.disroot.org/tag/apple" rel="nofollow noopener noreferrer" target="_blank">#Apple</a> “retina” display (it looks beautiful). The one and only drawback is that <a class="hashtag" href="https://fe.disroot.org/tag/qemu" rel="nofollow noopener noreferrer" target="_blank">#QEMU</a> cannot use Apple’s hardware multimedia codecs, so it falls back to software codecs, and the CPU just can’t keep up with things like video conferencing, or often even ordinary 720p video playback. I use Mac OS for only multimedia applications and video conferencing. For everything else, I continue to use Linux.</p><p>I recommend the bridge networking adapter so you can have two-way network communications between Linux and MacOS, this allows for file transfer between Mac and Linux via <code>rsync</code>. The trade-off is that every time your Apple computer switches computers networks (e.g. between home and office), you must reset the networking services in Linux. If you choose the NAT network option Linux will always have network access directly via the MacOS interface, but you will not be able to easily transfer files between Mac and Linux.</p><p>The keyboard is the hardest thing to get used to, mostly that “super” and “alt” are swapped. Be sure to transpose those keys in the UTM configuration. It is easy to configure the Apple keyboard to (for example) make caps-lock another control key.</p><p><a class="hashtag" href="https://fe.disroot.org/tag/tech" rel="nofollow noopener noreferrer" target="_blank">#tech</a> <a class="hashtag" href="https://fe.disroot.org/tag/computers" rel="nofollow noopener noreferrer" target="_blank">#computers</a></p>