News for hackers. Stuff that matters.
Re:Initial M1 support merged into Linux SoC tree by ginko on Friday April 09, 2021 @03:28AM (#26747624)
Anecdotal I know, but I very recently got a macbook air after years of practically exclusively using Linux and the opinionated user interface drives me crazy.

Here's a few pain points:

- Scroll direction can only be set globally so either touchpad or mouse scrolling feels awkward for me

- You need an extra click on another window before you can interact with it

- No focus-follows-mouse (there used to be 3rd party plugins but those seem to be gone now)

- While basic split screen tiling works and you can set up a global kb shortcut to move windows to left/right of the screen, Firefox seems to completely ignore those

- If you're running multiple displays macos for some reason always picks the most awkward display to open new windows in

- I really miss being able to grab and resize windows using a modifier key like in XFCE

I'm sure I'd get used to many of those, but the lack of focus-follows-mouse and easy window manipulation are the big one for me and I don't think that'll change much. Actually I think those were already pain points when I last tried out Mac OS in the late PPC days.

There's of course plenty of things that I like, especially the tight integration with my iphone and trackpad gestures (although I'm not sure how ergonomic using the trackpad all day is).

I was hoping it could become my main driver at home, but now I ordered a Ryzen mini PC for that.

edit: Oh, I completely forgot the biggest deal breaker for me at the moment. As of now the GUI version of Emacs (either downloaded through brew or from https://emacsformacosx.com/) doesn't work. MacOS simply refuses to start the binary.

Re:Initial M1 support merged into Linux SoC tree by slifin on Friday April 09, 2021 @06:41AM (#26748812)
- You need an extra click on another window before you can interact with it

- No focus-follows-mouse (there used to be 3rd party plugins but those seem to be gone now)

- While basic split screen tiling works and you can set up a global kb shortcut to move windows to left/right of the screen, Firefox seems to completely ignore those

- If you're running multiple displays macos for some reason always picks the most awkward display to open new windows in

- I really miss being able to grab and resize windows using a modifier key like in XFCE

All of these things can be done with yabai https://github.com/koekeishiya/yabai

Re:Initial M1 support merged into Linux SoC tree by jmkni on Friday April 09, 2021 @03:40AM (#26747708)
> - You need an extra click on another window before you can interact with it

I don't have this issue, I can interact with a window just by hovering over it with the mouse pointer

> - If you're running multiple displays macos for some reason always picks the most awkward display to open new windows in

You can set the default display in the settings (under arrangement, drag the white bar to the display you want to make the default)

Agree about the other issues though.

Re:Initial M1 support merged into Linux SoC tree by ginko on Friday April 09, 2021 @04:07AM (#26747874)
> I don't have this issue, I can interact with a window just by hovering over it with the mouse pointer

Hm, maybe it's just Firefox that's a bad citizen here, like with the global shortcuts.

Re:Initial M1 support merged into Linux SoC tree by bragh on Friday April 09, 2021 @05:17AM (#26748356)
Do not blame Firefox, this is actually how MacOS UI works by default: https://apple.stackexchange.com/questions/269622/macos-windo...

I think the other poster has some addon installed and forgot about it.

Re:Initial M1 support merged into Linux SoC tree by jmkni on Friday April 09, 2021 @07:00AM (#26748932)
I don't think I do, I'm a fairly recent convert to macOS. I'm running Big Sur and I can interact with any window the mouse cursor is over. I can scroll any window I'm hovering over, and with a single click can perform an action.
Re:Initial M1 support merged into Linux SoC tree by matwood on Friday April 09, 2021 @08:08AM (#26749458)
Same. You have to click the window before typing something, but scroll does follow the mouse.
Re:Initial M1 support merged into Linux SoC tree by ginko on Friday April 09, 2021 @08:26AM (#26749649)
How about button clicks?
Re:Initial M1 support merged into Linux SoC tree by matwood on Friday April 09, 2021 @09:21AM (#26750192)
No, but I understand the rationale. A button click is an input much like typing. Plus, when I want to give a window focus, I'd rather not look for a non-button to click.

But, having clicks work on hover instead of after focus is fine, and simply has a different set of trade offs.

Re:Initial M1 support merged into Linux SoC tree by droopyEyelids on Friday April 09, 2021 @09:54AM (#26750613)
you have to hold 'option' to click on a button in a window without focus
Re:Initial M1 support merged into Linux SoC tree by chipotle_coyote on Friday April 09, 2021 @12:23PM (#26752521)
Not Option, but Command. If you hold down Option and click in another window, the current window hides. You can also hold down Command and drag a window that doesn't have focus.

You can also switch focus to a window without raising it by holding down Control+Option and clicking the window.

At any rate, a lot of these things can be chalked up to different philosophies, I think. Personally, I really don't like focus follows mouse; when I was using FreeBSD and Linux many years ago, I would try it and then end up disabling it after a short while.

It is worth noting that Terminal has a hidden preference for focus-follows-mouse:

    defaults write com.apple.Terminal FocusFollowsMouse -bool true
You can also change that setting, along with those of some other quirky system things, in third-party apps like TinkerTool and Onyx.
Re:Initial M1 support merged into Linux SoC tree by sk7_ on Friday April 09, 2021 @04:59AM (#26748243)
- for scroll direction: https://mos.caldis.me/

- resize and move windows with shortcuts: https://rectangleapp.com/

both free and open source

Re:Initial M1 support merged into Linux SoC tree by jason0597 on Friday April 09, 2021 @08:00AM (#26749384)
If a Linux user suggested people to download external 3rd party software to make their desktop experience nicer they'd get absolutely blasted and be told that users shouldn't be expected to tweak stuff and download 3rd party tools. Why is this acceptable for macOS users?
Re:Initial M1 support merged into Linux SoC tree by matwood on Friday April 09, 2021 @08:12AM (#26749503)
This make no sense. The entire linux ecosystem is nearly all 3rd party software. And people routinely recommend not only installing a tool, but installing entirely different window managers.
Re:Initial M1 support merged into Linux SoC tree by sjwright on Friday April 09, 2021 @08:20AM (#26749581)
That's a red herring. These 3rd party tweaks don't make the Mac desktop experience objectively "nicer", they are tweaks to make it more familiar to people used to other, non-Mac desktop environments.

Personally I consider the stock macOS desktop experience to be perfectly fine.

Re:Initial M1 support merged into Linux SoC tree by RantyDave on Friday April 09, 2021 @03:53AM (#26747792)
There's a certain Zen to using Apple interfaces (IMHO): You have to relax and just accept that this is how it is, and it's best to get used to it.

I fully understand if you find this to be not really good enough, but this is the only way to make them work for you.

Re:Initial M1 support merged into Linux SoC tree by kitsunesoba on Friday April 09, 2021 @01:34PM (#26753476)
There's truth to this. After years of using macOS as my primary OS, both Windows and Linux w/various DEs become progressively more irritating the more windows are open because they both expect micromanagement, be it from the user, or automated as with a tiling WM.

Under macOS, windows just kind of exist as they want to be and pile up until you intentionally change them, and the environment doesn't push you to manage it, so you end up not putting much thought into anything but the 1-3 windows you're using at that exact moment.

The mac approach taps a bit into spatial memory too, which makes auto-tiling like with i3 irritating because then windows no longer have an inherent size or position — it all continually changes as windows open and close unless I start maintaining window sets, so at the end of the day I'm still putting more thought into management than I would've under macOS.

Because of this it's long been a desire of mine to have a Linux DE that closely mimics macOS. Some will point to GNOME, but it's more like iPadOS if it were adapted to the desktop. Elementary gets closer but still misses the mark. It would be a neat hobby project to take up but figuring out how to get started is rough, especially with all Wayland example WMs and tutorials being for tiling instead of traditional floating.

Re:Initial M1 support merged into Linux SoC tree by ylyn on Friday April 09, 2021 @04:10AM (#26747895)
Ah yes, but if you suggest that someone do this when using Linux, you get shit on.
Re:Initial M1 support merged into Linux SoC tree by DCKing on Friday April 09, 2021 @02:05PM (#26753849)
Gnome is still by some distance the most popular user interface on Linux, and is also very strongly opinionated and appears to lack customization options [1]. The project's "our way or the highway" approach is frequently vocally criticized and compared to Apple's approach, but as a whole seems to be appreciated well enough. I wouldn't say the Linux community as a whole are assholes about this.

The fact that many online Linux users take offense to lack of customization is not really something to worry about in my opinion. I used to customize Linux installs endlessly, but only truly found zen when I stopped worrying committed to stick to Fedora's default install.

[1]: Besides the point but Gnome is arguably far and away the most customizable desktop shell on Linux, as its extension "mechanism" consists of literally overwriting the JS code that powers its shell interface. For better and worse.

Re:Initial M1 support merged into Linux SoC tree by magnusmundus on Friday April 09, 2021 @05:14AM (#26748342)
To be fair, customizability and freedom aren't Apple's selling points.
Re:Initial M1 support merged into Linux SoC tree by sjwright on Friday April 09, 2021 @08:24AM (#26749639)
And to be even fairer, user experience consistency isn't one of Linux's selling points. While there is some limited consistency within individual graphical shells, the Linux ecosystem naturally favours a diversity of opinions instead.

Because Apple interfaces are highly opinionated and generally fairly consistent, learning to do things the Apple way is a valid life choice for many people.

Re:Initial M1 support merged into Linux SoC tree by astrange on Friday April 09, 2021 @03:36AM (#26747680)
macOS does have mouse-following interaction in some situations. If you move the mouse over a background window, you can scroll it with the trackpad/wheel. You can't click on things or type in it because that's dangerous and would make people afraid to accidentally touch the mouse in case they move it.
Re:Initial M1 support merged into Linux SoC tree by megous on Friday April 09, 2021 @04:35AM (#26748067)
Of all the things, accusing GNU/Linux of opinionated GUI just doesn't make sense at all to me. There's like 30+ different desktop environments you can use. So many so that there's a need for articles like 10 best Linux DE's of 2021, and those don't even scratch the surface anyway.
Re:Initial M1 support merged into Linux SoC tree by ginko on Friday April 09, 2021 @04:35AM (#26748074)
I think you've misread my comment. It's the macos GUI that's opinionated.
Re:Initial M1 support merged into Linux SoC tree by megous on Friday April 09, 2021 @06:55AM (#26748907)
Allright. :)
Re:Initial M1 support merged into Linux SoC tree by apetrovic on Friday April 09, 2021 @05:41AM (#26748495)
- Grab and resize windows: you can try https://github.com/dmarcotte/easy-move-resize.
Re:Initial M1 support merged into Linux SoC tree by smallpipe on Friday April 09, 2021 @03:54AM (#26747805)
For the scroll direction check this out https://pilotmoon.com/scrollreverser/
Re:Initial M1 support merged into Linux SoC tree by hesk on Friday April 09, 2021 @09:28AM (#26750290)
Since you're already using brew, I am running emacs-plus@27 on Big Sur on an MacBook Air M1 and it works perfectly.

  brew tap d12frosted/emacs-plus
  brew install emacs-plus@27
Edit: code
Re:Initial M1 support merged into Linux SoC tree by microtherion on Friday April 09, 2021 @05:38AM (#26748480)
The Emacs startup failure may be due to bad preferences left behind by Emacs in ~/.emacs.d; try moving those aside or deleting them.
Re:Initial M1 support merged into Linux SoC tree by ginko on Friday April 09, 2021 @05:44AM (#26748515)
Don't think so. It's telling me there's an issue with the binary's signature. (I'm using a macbook air M1, so maybe it works fine with x86)

In any case I guess it'll get fixed eventually.

Re:Initial M1 support merged into Linux SoC tree by euroclear on Saturday April 10, 2021 @02:37PM (#26763826)
For whatever it's worth, you can launch Emacs from the command line.

cd /Applications/Emacs.app/Contents/MacOS

./Emacs-arm64-11_2