24 ms·
Running Linux on My MacBook
- xupybd 6y agoI used i3 for a long time. After a while it didn't feel that fast. Yes switching was very quick but often it got in the way. So many applications have little windows that pop up. They didn't play nice with i3. I also had the issue of a limited keyboard and shortcut keys. I use a Kinesis advantage. I don't have a windows key. So I used alt as a super key. This meant that I often couldn't use application shortcuts. It was a major pain. In hindsight I should have mapped in a windows key and sacrificed one of my thumb buttons for it.
- joecool1029 6y agoThe biggest issues I've had with i3 are graphics related. The first is drawing at X's borders when having multiple panels connected leads to flickering and graphical artifacts. This means triggering any window/video to go full screen while you have output on more than one monitor. It's not a unique problem to i3, but most other WM's handle window drawing in a different manner. The other issue I find more annoying. That's tearing while scrolling and playing video unless a compositor like compton is run. This appears to not be a problem for a lot of people, in the way that using frame interpolation on tv's doesn't bother them. For me though, it drives me nuts. Compton by the way hasn't had development in over 3 years.
- evamvid 6y agoThe active fork of Compton is called Picom. https://github.com/yshui/picom https://github.com/yshui/picom
- justwalt 6y agoFor me it was remembering what my bindings were for every little thing. I’m a guy who built his own keyboard for extra macro keys. I have 12 extra off the left side. It worked out very nicely, and it was a pretty smooth experience. Until I was using my computer to laze about at 11pm with a slightly foggy mind. I just don’t want to think about how to move incredibly quickly around the computer. Easy point and click is all the effort I want to muster, sometimes.
- nickjj 6y ago> I just don’t want to think about how to move incredibly quickly around the computer. Easy point and click is all the effort I want to muster, sometimes. Right. This is an important thing to note. It takes a lot of mental energy to remember all of these things if they are not already imbued into your brain as effortless muscle memory. Sometimes that energy is better off spent solving the problem you're trying to solve. This is why after about a year of using Vim, I still use the mouse once in a while. I remember once reporting a bug with the Microsoft Terminal (I use WSL 2 on Windows) on Reddit and when I mentioned mouse support didn't work inside of programs like Vim, it was the most down voted comment I ever created on any platform with swarms of folks saying I wasn't using the terminal as it was supposed to and that I must be an idiot for wanting to select text in Vim with a mouse. Luckily they fixed the bug (it ended up being one of the highest priority bug fixes they had).
- xupybd 6y agoHa, I had a second keyboard for shortcuts at one point. I had little labels stuck to the keys. But I switched programs all the time and maintaining the shortcuts and the labels got old.
- deleted 6y ago[deleted]
- djhworld 6y agoAuthor here. Post is a bit rambling but I just wanted to document somewhere the things I encountered along the way with links to resources, to save someone having to trawl the web for it next time.
- intarga 6y agoAbout sway, if you don’t mind using Firefox, that works natively under Wayland. On another note though, the reason I don’t use sway, is that I couldn’t figure out how to get inertial scrolling working... Did you manage this, or just not bother with inertial scrolling?
- fluffything 6y agoI use the chromium ozone packages from the AUR with sway on Wayland and they work fine. The real problem with wayland are all the apps that just don't support it. From emacs, to, e.g., all the electron apps built with older versions of chromium, etc. You can use them seamlessly with Xwayland, but then a lot of things work "weirdly", e.g., HiDPI displays blurry Xwayland apps, applications like obs-studio cannot record some apps, etc. The the Sway ecosystem main drawbacks are the immaturity of the tools (e.g., waybar (i3bar replacement), wofi (rofi replacement), etc.) and the drawbacks of wlroots (e.g. lack of nvidia support in contrast to gnome and kde, etc.). Many things kind of "just work" under Wayland, but many things also kind of just don't properly work. Using pipewire to, e.g., stream desktop apps via webchat from firefox/chrome works weirdly, streaming one monitor or one sway workspace from firefox/chrome does not work, capturing one workspace from sway using obs studio in another workspace does not work, etc.
- danshick 6y agoWebRTC (firefox and chrome) can (usually) stream individual XWayland windows using the same mechanism that was in place for window sharing under X. Wayland native apps are not shareable (and may not be if/until some protocol changes are introduced). I hope that fullscreen desktop sharing "just works" now that we've released xdg-desktop-portal-wlr[0]. If you have any trouble with it, hit me up on freenode #sway or raise an issue on this project. We're happy to help and looking for a broader user base to help us test it out. [0] https://github.com/emersion/xdg-desktop-portal-wlr https://github.com/emersion/xdg-desktop-portal-wlr
- peteretep 6y agoThank you for writing this! Whenever I see people using Linux as their main laptop OS, I'm struck by remembering the amount of tinkering needed circa 1999 which was the last time I did it. Having read this -- the custom scripts, the "suspend still doesn't work properly" -- it feels like that's still the case.
- shp0ngle 6y agodo you think computers should just go to sleep when you close the lid? how naive...
- bananamerica 6y ago> it feels like that's still the case. It isn’t. But it still has some rough edges for sure. It highly depends on the hardware you are using. MacBooks are not manufactured to make it easy for alternative OSes. OP is also trying to use the i3 window manager. It’s barebones, labor intensive and meant for tinkerers and advanced users. If you want an easy plug and play experience you should use a desktop environment.
- viraptor 6y agoYou're seeing an extreme case here. Macbooks are actively breaking other OSes. Better to treat it as: "look how much you can bend Linux to work on a proprietary toaster", rather than "look how hard it is to run Linux on a laptop". Newer generations of macbooks just won't work at all. There's no workaround for recent sound (unless it gets reverse engineered) or wifi (unless you rewrite Linux stack to work around broken firmware) devices, and it's likely to only get worse. Here's a good collection for hardware support: https://github.com/Dunedan/mbp-2016-linux https://github.com/Dunedan/mbp-2016-linux This is not representative of non-apple brands.
- oarsinsync 6y agoOn the one hand, yes, Apple is generally extremely hostile towards users tinkering with their platforms, be it iOS or macOS, so it theoretically should be harder. On the other hand, on the pre-2016 models, the components in use are largely off-the-shelf components, much like other manufacturers. The major difference between Apple laptops and other vendors laptops is that the variation of components in use is significantly smaller on the Apple range, while 'non-apple brands' encompasses a huge variety of different hardware. I would suspect that if you bought any random laptop, you'd have high odds of picking one that has various components that are not well supported, with even less online support available for you than if you tried it on Apple hardware. If only because the number of people using Apple hardware is so damn high, and the number of people on your particular component configuration is significantly smaller.
- tuananh 6y agoEvery post like these, the TODO list is super long. This reminds me again why I don't want Linux in the first place.
- djhworld 6y agoI think the real answer is buy a laptop that just works and don't bother with Apple devices. However it's nice to be able to re-purpose old hardware, even if it's a bit of a hill to climb :)
- tonyedgecombe 6y agoYes, a much easier path would have been to eBay the MacBook and spend the money on a second hand ThinkPad. You would get more bang for your buck and less headaches.
- echlebek 6y agoWell, maybe. My Thinkpad experience has been good, but not amazing. I own two Thinkpads, a 5th generation X1 carbon and a 2nd generation X1 extreme. Both very nice machines, but not perfect. On the newer machine in particular, the X1 extreme, I've had many annoying issues. Suspend did not work for over a year after purchase. If the laptop was left with the lid shut it would run out of battery in a couple of hours. It finally started working with Fedora 32. I don't know if it was fixed because of kernel updates or firmware updates. The laptop still uses way too much power when suspended, but at least I can stick it in my laptop bag for a few hours. Until Fedora shipped with Gnome running under Wayland, the integrated graphics were too slow to acceptably render the desktop at 4K, which is the native resolution of the panel, and the only resolution choice I am presented with in Gnome. I enabled the nvidia GPU with the proprietary driver, but then I'd get less than 2 hours of battery, and the thing could cook an egg. Compared to my 2012 Macbook Pro, which also has integrated graphics, the experience is much worse, even today, with Wayland. Battery life is not as good as Windows by default. For some reason, every Linux user with a laptop has to install tlp and powertop just to get decent battery life. Kernel development seems to consistently focus on this, and I'm confident than the situation is incrementally improving. The synaptics touchpad is hot garbage. If you compare it to a Mac's touchpad, it's just a tragedy how bad it is. I've used both the synaptics driver with Xorg and libinput with Wayland. There is noticeable lag when moving the mouse cursor from a resting position. The cursor will stay where it is, and then jump to where it ought to have moved to. This produces a very jarring UX. Interestingly, the nipple mouse does not have this problem. Finally, the scrolling gestures don't always work, depending where on the touchpad you initiate them. The keyboard would reproducibly lose keystrokes! This was not fixed until last week by a Lenovo firmware update, and it produced a lot of irritating typos when conversing with coworkers. Not that I care, but the fingerprint reader doesn't work. The sound is too quiet even at full volume, so you have to tweak the system config to allow you to adjust it past its default max volume. I use Linux as a workstation operating system because I write software destined to run on Linux. Despite these problems, I would gladly take them over having to virtualize my entire workflow on a Mac, which I find incredibly painful to do. But these quality problems have left me wondering if Lenovo was the right laptop brand to buy. I left a negative review with Lenovo, after they solicited me to write one, and instead of trying to resolve the problems, they simply refused to publish the review.
- deleted 6y ago[deleted]
- ireallydontknew 6y agoAh, some still think it's an interesting thing to run linux in mb. It's ordinary. Soo ordinary and is a must to do
- deleted 6y ago[deleted]
- j7ake 6y agoConverting a machine that works well out of the box into a machine that requires custom scripts and constant tinkering to handle simple tasks seems like a waste of time.
- hajderr 6y agoYup, Never ever would I try this. A running pc laptop is a much smarter choice.
- djhworld 6y agoCouldn't agree more, but what's the fun in tinkering if you can't kill some time doing it?
- hugg 6y agoLearning scripting means you learn things that can be applied to other things.
- viraptor 6y ago> that works well out of the box That may be your experience, but it's not universal. I wanted to do this, regardless of how many hacks it took, but I'm on the new-and-broken model unfortunately.
- growse 6y ago"Works well". I have a 2019 mbp16. It does not "work well". For me, the graphics driver crashes me out of my login session pretty much daily, the network stack occasionally shits itself (reboot) and various internal processes (the... window server?) like to use >50% CPU for no reason at all. Looking around, I'm not the only one who has issues.
- jafjaf 6y agoAFAIK the macOS activity manager doesn’t show task usage as you’d expect. It displays resource usage based on total current usage rather than maximum capacity.
- bananamerica 6y agoPlease notice that OP is trying to run the i3 tiling window manager which is very minimal (as all TWMs) and expressly targets tinkerers and advanced users. A beginner friendly distribution with a complete desktop environment usually provides a much easier plug and play experience.
- lloydw 6y agoYou might want to try https://github.com/rbreaves/kinto/ https://github.com/rbreaves/kinto/ for mapping Mac style copy paste on Linux
- rbreaves 6y agoThanks for the plug, I am the author and I have recently made a few more updates. Speed improvements to the installer, better apple keyboard (added another driver detection for newer keyboards), also improved support for Ubuntu Budgie (probably the most mac like distro out there worth trying besides a couple of others such as Enso OS).
- ledvd 6y agoTried Linux on my MacBook Pro mid-2012, ran into some of the issues described in the post (sleep issues, keyboard layout, ...). Though I went with Ubuntu for a bit more simplicity. I finally had to rollback because it was simply not usable. The laptop was getting too hot, and it seemed that I had to use scripting or workarounds for every little thing. Now I use a virtual machine, and it's already way better. I still want to use Linux as my main OS, just not on the MacBook. I wanted to see if I could make the switch, and it seems that I'm ready.Now I'll wait to buy a new one with more compatible components.
- robrtsql 6y agoI run Linux on that device (the 13 inch version). For whatever reason, fan control does not work out of the box (so it gets way too hot), but it worked for me after installing mbpfan: https://github.com/linux-on-mac/mbpfan https://github.com/linux-on-mac/mbpfan
- jnxx 6y agoJust a hint, Debian's hardware support can be better than Ubuntu. At least that's my experience with my desktop PC, which I didn't get to work well with Ubuntu because of the graphics card, and which worked without problems with Debian. (But, if you have problems with the graphics card and you only have one supported by proprietary drivers, do yourself a favor and buy a fully supported one. Doing otherwise is just not worth the hassle).
- Normille 6y agoThe trouble with almost every article that I read of this kind is that the author is either a writer or a coder. So their demands on Linux are relatively minor; a terminal, an IDE, something to mangle text with. I could probably make the full-time switch to Linux, if that was the bulk of what I did too. And I do a fair bit of writing and coding. But the majority what I do on my [OSX] computers is Art & Design related. So I need Photoshop and Illustrator and there is nothing available for Linux that even comes close. Inkscape and [especially] The Gimp aren't even in the same league. The only semi-decent graphic design app I've come across on Linux is Krita. But even that is quite limited and more a Painter replacement than a Photoshop or Illustrator one. Ironically, there is actually better quality graphic design software available for Android [with that Linux core] than there is for Linux itself. I can almost replace Photoshop with Ibis Paint on my S-Pen enabled Samsung tablet [although the picture is a lot less rosy with regards to vector graphics]. That said, I have installed Linux on an old MacBook and Mac Mini, which has given them a new lease of life. But the former I just use for hacking about on and the latter runs Kodi as my media centre. I don't actually do any work on them. Once setup, Linux runs fine on both those machines, for what I want it to do. But, boy, is getting to that stage in the first place a complete pain in the ballsack! Both machines have Nvidia graphics cards and even now [probably a decade after I first encountered this problem] Ubuntu's, supposedly user friendly GUI software installer will quite happily 'recommend' you to install an Nvidia driver which will brick your Ubuntu installation with a black screen on reboot. Now, after running into this problem several times, over the years [I fall for it every time, in the vain hope that Ubuntu might have actually fixed this], I know how to repair things. But it involves a lot of swearing and command line delving into the innards of Grub's configuration. Imagine some non-techie person deciding to give Linux a try. They boot from the live CD... everything looks fine, so they install. They reboot after the install and either: 1: If they selected "download 3rd party drivers" during installation, boot to a black screen or 2: If they didn't select 3rd party drivers at install time, they boot to a seemingly working installation, which then recommends they install a 3rd party driver, which will subsequently cause booting to a black screen. And, as I say, this has been going on for over a decade. And this is with Ubuntu which is the most newbie-approachable distro. In all that time, no-one thought it worthwhile adding a simple sanity check so the installer would NOT recommend installing an Nvidia driver which would break Ubuntu if the OS itself had been installed in UEFI mode!
- suchoudh 6y agoThese days I feel as if machines are deliberately phased out even when they are in perfectly working condition. I have two macbooks (white plastic) one with Tiger installed and another with Leopard an iPad 1 ( They all are in working condition) Its a shame to not be able to use the machines just because it is not supported. I would assume that they are good enough for a kid to surf websites and help do his/her homework. Listen to songs while browsing pdfs . Lack of support should not mean that perfectly usable hardware is junked. After covid, there are a lot of kids in Indian villages whoes education is dependent on online education. Maybe these laptops could be made usable for them. ( Not everyone can afford a mobile phone) Please do let me know if your linux installs will work for my case as well ( your case covers the Macbook Pro instead of just macbooks) PS: I myself use i3wm on a lenovo machine. ( Not very happy with Lenovo but its ok ok )
- danans 6y ago> I have two macbooks (white plastic) one with Tiger installed and another with Leopard an iPad 1 ( They all are in working condition) Its a shame to not be able to use the machines just because it is not supported. That hardware isn't as valuable as you might think it is. The last plastic Macbook was made in 2010. It's value as a productivity tool is very limited today. That said, e-Waste is a major problem, which is why in recent years, in the west, companies are required to collect a "recycling fee" on purchase of computer equipment to pay for the eventual recycling of the physical devices. Coincidentally, this was in part prompted by images of children in India and other developing countries picking over toxic E-waste from the west. However, it's not really feasible for a company to support a device as old as your 2010 plastic Macbook from a software perspective, because software evolves too rapidly to run well on hardware that old. These are not desktop workstation towers for which you can swap out every component for newer ones. > After covid, there are a lot of kids in Indian villages whoes education is dependent on online education. Maybe these laptops could be made usable for them. The demands of common 2020 computer use-cases will render the hardware/software unusable, even when running a recent Linux distro. So they will probably not be useful for remote-education. Basic things like watching educational videos will likely be painfully slow - if they work at all - constrained by the hardware's ability to decode and display the video. If you do get these common use cases working on that old a device (which would be a fun and worthy hacking project by itself), if you give it to someone else to use, you will also have to deal with the problem of supporting it, and then ensuring their responsible disposal (i.e. not in the village organic waste dump) when they do reach the end of their usable lives. None of this is trivial to accomplish.
- new_realist 6y agoThe author should try the Yabai window manager in combination with Hammerspoon.
- djhworld 6y agoTried it, just didn't feel the same for me. Admirable effort by the developers, though.
- voodootrucker 6y agoOff topic maybe, but my Razer Blade 15" has been and absolutely wonderful replacement for my MBP. The build quality feels just as nice, and none of the weird touchbar issues. (Running Ubuntu 19.10 presently, only issue: had to disable the USB-C port to allow it to sleep). The arrow keys are also in a slightly wonky location. It's been very disruptive to have Apple quality tank, and I'm glad they finally went back to the good keyboard, but at least there's another game in town for developers who want a quality laptop and a real OS.
- gmemstr 6y agoAlso slightly off topic, but I'm glad to hear Linux support for Razer laptops are improving. I had an early Razer Blade Stealth (late 2016 12.5") and the Linux support was _terrible_, as demonstrated in this repository: https://github.com/rolandguelle/razer-blade-stealth-linux https://github.com/rolandguelle/razer-blade-stealth-linux. It took a lot of work to get it stable.
- simonebrunozzi 6y agoRazer Blade - which year? Heard 2020 is not nice with Linux as much as older models.
- pkulak 6y agoRazer seems to be NVidia only, so I don't think they'd be my first choice for a Linux machine.
- voodootrucker 6y agoI got it in late 2019.
- bitwize 6y agoThinkPads be like "Are we a joke to you?"
- bdcravens 6y agoThinkPads are quality machines, but I interpreted the comment to mean more than just the base Linux experience. For better or worse, some people want something more than a black plastic business machine.
- deleted 6y ago[deleted]
- dayvid 6y agoI purchased a souped-up Eluktronics MAG-15 recently to try out VR and I'm really amazed by how subpar Windows is compared to Linux and MacOS even with top of the line hardware. I found out that I can update a lot of components of my early 2015 MBP, so I'm going to get a 512GB or 1TB hard drive and see if I can make a Linux partition.
- fmakunbound 6y agoWhy is Firefox so slow on Linux then?
- djhworld 6y agoOther people have reported that Firefox runs fine, so it might have just been my setup - I might have been a little hasty to write it off. I'll try it again at some point, but disable TreeStyleTabs, that might have been one of the causes for the slowness.
- bananamerica 6y agoI never experienced such slowness.
- amaccuish 6y agoFor Firefox rendering being slow, I forced the Ubuntu Firefox to use Wayland the other day (my login session was already wayland but Ubuntu doesn't default to making firefox using it), and the difference is night and day. Everything is so much faster and super smooth.
- cancerSpreads 6y agoGiven all the ads for Firefox on HN I keep trying it but it's insanely slow. I don't think it's intended to be like this, not sure where to begin troubleshooting.
- wtetzner 6y agoAre yo running Firefox on Linux? Or some other platform?
- amaccuish 6y agoFYI I popped this in my .pam_environment (I was having issues when just editing the .desktop file in that thunderbird stopped being able to open links in firefox) MOZ_ENABLE_WAYLAND DEFAULT=1
- city41 6y agoI took a stab at putting Linux on a MacBook about 4 years ago or so. I found dealing with the Broadcom wifi and bluetooth more hassle than I bargained for, and switched to a Thinkpad. Has the Broadcom driver situation improved? I was surprised the author had no issues getting wifi working. And relating to the article, i3 is the sole reason I use Linux. Such a great window manager.
- djhworld 6y agoI had zero issues with the Wifi, not tried Bluetooth so can’t comment there. I’m not sure if the lack of WiFi issues is because Fedora tends to stay pretty up to date kernel wise. EDIT: to clarify - I had zero issues with having to to anything special to get Wifi working - there are still intermittent issues with the driver that happens maybe once or twice a week
- Qerub 6y agoI recently tried Debian 10 on a MacBook Pro from 2014 and it worked surprisingly well. The computer fan(s) would however not start when needed even after installing extra software like mbpfan. Something to watch out for!
- gowld 6y ago> The main reason for the switch was one killer app; the i3 window manager. Keyboard shortcuts, tiled windows, lightning fast to use - it feels like a piece of software designed for people who tinker and use computers a lot. If that's the main reason, how about yabai on Mac? https://github.com/koekeishiya/yabai https://github.com/koekeishiya/yabai > The primary function of yabai is tiling window management; automatically modifying your window layout using a binary space partitioning algorithm to allow you to focus on the content of your windows without distractions. Additional features of yabai include focus-follows-mouse, disabling animations for switching spaces, creating spaces past the limit of 16 spaces, and much more.
- bearbin 6y agoI'm forced to use a Mac for work, and I use yabai. It's far superior to the default mac experience, which seems to be designed to actively hide windows and make your life more difficult, but it's still a pain to use. It's obviously a hack and that makes itself known in daily usage - dialog boxes are tiled just like regular windows, or alternatively hidden behind the tiled windows where they're inaccessible; suspending and resuming randomly messes up the position of my windows; and the stupid mac detached-titlebar is almost unusable when you drag your mouse over another program and the focus gets yanked away. Customisation and configuration are also plainly inferior to i3/sway, plus there's the complicated installation process and necessity to disable apple's walled garden features to get full functionality. At home I have i3/sway, which is a nice polished user experience; there's no comparison really.
- bananamerica 6y agoYabai is unable to tile Emacs, and I use Emacs 99% of the time. So sadly that’s a no for me.
- mijoharas 6y agoI'm surprised about the comment on sway, because afaik the issue mentioned about a blurry chrome was fixed a while ago[0]. Maybe it's caused by something else... [0] https://github.com/swaywm/sway/issues/1481#issuecomment-640441017 https://github.com/swaywm/sway/issues/1481#issuecomment-6404...
- danshick 6y agoIt depends a ton on what distro you are using. Some distros that now ship with wayland native desktops have tons of downstream patching to smooth out the experience. If you run Arch for instance, the default Chromium package is not ozone, and will run with XWayland (although chromium-ozone is available in the AUR). It's possible your distro is doing something differently.
- mijoharas 6y agoI run arch, and the google-chrome-stable package appears to have sorted out it's hdpi scaling issues. I could be wrong though, a while back I did a lot of tweaks to beat the concept of hdpi and variable screen resolutions into my computer, so I don't exactly have a "clean" setup, and it could be something else, but the fonts look crisp on both the low res and high res screens. I can't say whether this is anything to do with whether it's a build with/without ozone, but it appears to work now (sorry don't know much more than that!)
- mijoharas 6y agoI'd just like to correct my post above, it seems that chrome was running under XWayland, I think I'd just found an incantation of settings that made it look alright on both my high res/low res screens.
- danshick 6y agoThere is an xwayland[0] patch out there to fix this properly. Could it be that you're using something like this[1]? [0] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/111 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests... [1] https://aur.archlinux.org/packages/sway-hidpi-git/ https://aur.archlinux.org/packages/sway-hidpi-git/
- abrowne 6y agoI was nearly Mac exclusive for years before switching to Linux. Similarly to the author I mostly use a browser, VS Code and a few small utilities, although mine are mostly simple Qt GUI apps. My thumbs are well trained to use the keys to the sides of the space bar as the main modifier. My solution to the Command/Control issue is to swap the key positions with xkd so that it's always [Win][Alt][Ctrl][Space][Ctrl][Compose]. (Since Macs and PCs swap Alt and Win/Cmd, you need different xkb options for each type of keyboard.) As for terminals, if you set VTE-based terminals (such as GNOME Terminal) to use Ctrl+C for copy, it will automatically set Ctrl+Shift+C to send SIGINT. Since I don't use many terminal apps that use modifiers, this works for me, and I set paste to Ctrl+V as well. I mostly use Alacritty now, so I've set it up to do the same thing for Ctrl+Shift+C. Come to think of it, I still need to do so for VS Code's terminal, for the few times I use it.
- war1025 6y ago> if you set VTE-based terminals (such as GNOME Terminal) to use Ctrl+C for copy, it will automatically set Ctrl+Shift+C to send SIGINT. I just looked in the preferences for Gnome Terminal and didn't see this option. I think I'm used to the current setup enough that I wouldn't switch anyway, but how do you configure this?
- abrowne 6y agoI guess I installed Alacritty right away on this new computer, so I have just found and tested the GNOME Terminal option. You just open Preferences from the hamburger menu, choose Shortcuts on the left, and find "Copy Ctrl+Shift+C". Double-click the Ctrl+Shift+C part and press Ctrl+C. And I should say I'm not sure if it's sending SIGINT or actually Ctrl+C (or if that's even different). I learned just enough of this to make it work :-) But before, if I started top, I could press Ctrl+C to quit it. Now I can press Ctrl+Shift+C to quit it, and pressing Ctrl+Shift+C on a bash prompt prints "^C" and I get a new line. For Alacritty, here's what I've changed - { key: V, mods: Control, action: Paste } - { key: C, mods: Control, action: Copy } - { key: C, mods: Control|Shift, chars: "\x03" } - { key: W, mods: Control, chars: "\x04" } - { key: N, mods: Control, action: SpawnNewInstance } The xkb option for PCs is altwin:ctrl_alt_win, I think it's the "Control is mapped to Alt keys, Alt is mapped to Win keys" option if you use GNOME Tweaks, under Alt/Win key behavior. For a Mac keyboard, ctrl:swap_lwin_lctl,ctrl:swap_rwin_rctl, "Swap Left Win key with Left Ctrl key" under Ctrl key position.
- kuon 6y agoI switched to sway, which has very good performances, Firefox under wayland also flies, it's been the fastest browsing experience so far. I can have hundred of tabs open with tree style tabs with no lag whatsoever. Sway has absolutely zero tearing, for this it is very good. But, a few issues (mostly wayland and not sway related): · First you need an AMD card, I don't really have a problem with that as their cards are good now. But if your laptop has nvidia, you are screwed. · Copy paste still fuzzy · No global hotkey. Well you have to configure them at the WM level, things like discord push to mute will not work. · Hard to capture (OBS cannot capture wayland app yet without major tinkering and testing) · Many popup widgets are positioned on the wrong monitor (like fcitx popup for japanese input) · Complex X apps are slow or will just crash crash, for example qgis is unusable in X mode and crash in wayland mode, audacity do not update properly… · Some things require tons of tinkering to get right, like having the proper rendering pipeline, for example using mpv, but when you get it right, you can play 4k movies with 3% cpu usage. · Tray/notification icons are hard to setup and won't work 100%. Disclaimer: I use sway on a large desktop workstation, so I cannot comment on issues like power, sleep, external monitors…
- codys 6y agoI run sway too, but I've kept firefox using X11 instead of native wayland due to the trackpad scrolling in firefox under wayland not being exact (ie: it jumps as if I had a mouse with a clicky scroll wheel instead of exactly following finger motion). In x11, I set `MOZ_USE_XINPUT2=1` to get exact trackpad scroll.
- danshick 6y agoOBS can capture wlroots based compositors with the wlrobs[0] plugin. Give it a shot, it's really smooth for me. There's also wl-recorder[1] which is much more light weight if you don't need any of the fancier features. Also, cyanreg is working on txproto[2] which is a much faster/feature rich version of wl-recorder, although I'm not sure it is ready for prime time as it uses a couple bleeding edge libs. [0] https://hg.sr.ht/~scoopta/wlrobs https://hg.sr.ht/~scoopta/wlrobs [1] https://github.com/ammen99/wf-recorder https://github.com/ammen99/wf-recorder [2] https://github.com/cyanreg/txproto https://github.com/cyanreg/txproto
- vaccarium 6y agoAt a previous job, a coworker got a new Mac but still wanted to use Linux. He spent several days setting the system up, and eventually got it up and running smoothly. Except that the calendar on the lock screen somehow was in Romanian, it resisted all attempts to change the language, and he never got around to fixing it. :)
- bananamerica 6y agoIt’s never too late to learn Romanian!
- breytex 6y agoTried to migrate from Mac to Linux half a year ago (before the 16" with the new keyboard was announced, because I hated the butterfly keyboard). Tried a bunch of dell and Thinkpad devices. Configured a t480s with ubuntu. First meeting where I had to share my screen and I recognized that Chrome is not able to share a dedicated screen of my three monitor setup. You need a script for that, which creates a "fake" webcam, otherwise its only possible to share the three stitched-together screens. Those are things, I just expect to work out of the box without a script or pulling two monitor cables everytime I want to screen share something. Bought the 16" Mac a week later, also not happy with that because thermals are just bad, but its better than having to script simple things. Clients don't expect you to "have to script something real quick" during meetings. As long as Linux does not cover ALL trivial multi media usecases, I don't see myself making the switch.
- N3cr0ph4g1st 6y agoSame here lol bought a precision with pre installed Ubuntu thinking it would be a smooth switch but nope. So many random scripts for things that should just work it was ridiculous
- breytex 6y agoAlso touchpad drivers are all just plain garbage.
- fsociety 6y agoI think the thermals on the 16” are the best thermals a MacBook Pro has ever had. Is there a model that had better thermals?
- breytex 6y agoYes. The macbook 15" 2015 was just running at 55°C with zero fan noise when "just" browsing the web. The 16" runs at 67°C with 2500rpm when doing the same task. So its neither quite nor cool doing basic tasks. You can turn of turbo boost to get around it, but I was expecting something in the same ballpark in terms of coolness and fan noise for basic tasks without tweaking stuff like this myself.
- coronadisaster 6y agoI thought that the point of buying an overpriced macbook was because macOS came with it...
- luord 6y agoi3 seems like it would be perfect for me but I guess I'm just far too used to gnome to really change now. I no longer even install extensions and mostly stick to the defaults. In fact, Linux has been "just working" for me for years now. Anyhow, great article.
- seaghost 6y agoFor the keyboard shortcuts I use https://github.com/rbreaves/kinto https://github.com/rbreaves/kinto It works perfectly.