News for hackers. Stuff that matters.
Re:Command palettes: how typing commands became the norm again by fiddlerwoaroof on Sunday November 28, 2021 @05:46PM (#29373958)
Every macOS application has a command palette in the help menu: command-shift-/ will bring it up and you can incrementally search all the commands in the menus.
Re:Command palettes: how typing commands became the norm again by austinjp on Sunday November 28, 2021 @07:16PM (#29374771)
As an infrequent Mac user, how is this stuff discoverable? The OS seems willfully obfuscated to cater for some notional lowest common denominator user. Whenever I find myself using someone else's Mac, they never know any keyboard shortcuts or keyboard-plus-mouse-button context menus. It's bewildering and wildly frustrating. I find myself asking "surely this isn't how you always do this, there must be a better way?" but I only ever get shrugs in reply.

Admittedly, these are non-techy folks. But they are daily Mac users. It's weird, like the OS discourages curiosity and experimentation.

And then there are those times when I stupidly assume things, like how it will surely be trivial to remote desktop from my laptop into a Mac while someone else is logged into a different account on the Mac. What a shit-show. My reaction: "are you f*cking kidding with how horrendous this is?" Mac owner: shrug.

Bah. Now I'm just getting narky. Rant over :)

Re:Command palettes: how typing commands became the norm again by fiddlerwoaroof on Sunday November 28, 2021 @07:22PM (#29374809)
Most of the keyboard shortcuts for a particular application are right next to the menu item. The command palette I’m talking about is clearly visible in the help menu: my theory is that people no longer browse the menus of a new application the way I would back in the NT 4.0 days.

The system-wide shortcuts are a bit less discoverable but, they’re there if you know where to look: either search “keyboard shortcuts” in the os help system or go to system preferences > keyboard > shortcuts.

Re:Command palettes: how typing commands became the norm again by austinjp on Sunday November 28, 2021 @07:52PM (#29375040)
Thanks for this, I'll be sure to check out the keyboard preferences next time. I was referring to the "command-shift-/" key combo you mentioned when asking how to discover things in Mac OS, since it really feels that power-user functionality is hidden.

I'm not exactly a Windows fan, but (generally speaking) in a standard windowed program, just hitting alt focuses the menu. Windows is almost entirely navigable by keyboard by default, without a mouse. It's much more discoverable and efficient.... although that's been tanking since Win 95 :)

Re:Command palettes: how typing commands became the norm again by fiddlerwoaroof on Sunday November 28, 2021 @07:59PM (#29375089)
That command-shift-/ shortcut is listed in System Preferences > Keyboard > Shortcuts > App Shortcuts.

Also, if I use the Finder help menu to search "keyboard shortcuts", it gives me a local help article "Use macOS keyboard shortcuts". This article talks about a bunch of ways to find keyboard shortcuts and also links to this knowledge base article: https://support.apple.com/en-us/HT201236 (This is actually a sort of step backwards, from when I did exactly this around '07: at that point, the Mac Help system actually listed a bunch of handy keyboard shortcuts and didn't rely on online resources for them).

Re:Command palettes: how typing commands became the norm again by solohan on Monday November 29, 2021 @04:23AM (#29377826)
Perhaps I'm biased, but I find navigating application menus on MacOS infinitely easier due to the fact that it's location is constant and dictated by Apple. On Windows (or even Linux) I have to go searching for the menu items for each new application I'm using, and some feature (like quitting) seems to often be purposefully hidden away. Infuriating if you ask me.
Re:Command palettes: how typing commands became the norm again by tehnub on Sunday November 28, 2021 @07:54PM (#29375050)
I’d guess that most people don’t use keyboard shortcuts at all, and only very few use anything besides copy, paste, and maybe save. People are shocked when I “command+l, c, t, v, enter” to duplicate the current tab.
Re:Command palettes: how typing commands became the norm again by olifante on Monday November 29, 2021 @07:17AM (#29378947)
No need for copy-pasting, just doing "Command+L, Command+Return" will duplicate your current tab. Works on Chrome and Safari.
Re:Command palettes: how typing commands became the norm again by tehnub on Monday November 29, 2021 @05:30PM (#29386130)
Wow! Thanks for the tip. Never knew that.
Re:Command palettes: how typing commands became the norm again by varenc on Monday November 29, 2021 @01:25AM (#29376991)
The ability to search menus is pretty discoverable. The search field is the first thing in the menu when you click the Help menu bar in any app.

But of course the shortcut to jump to the search area is completely undiscoverable, as are many macOS features. You can see it if you go to preferences -> keyboard -> shortcuts -> app shortcuts. (And you can also reconfigure the shortcut key, or reconfigure any shortcut in any app. That feature I love)

Re:Command palettes: how typing commands became the norm again by bobbylarrybobby on Sunday November 28, 2021 @08:56PM (#29375425)
That particular one is cmd-? So it’s pretty darn mnemonic. Pretty sure it’s also spelled out in the search bar of the Help menu bar item.
Re:Command palettes: how typing commands became the norm again by wildrhythms on Sunday November 28, 2021 @06:35PM (#29374440)
Back in the day I used Alfred on OS X... basically a system-wide command palette. Lots of its features now exist in Spotlight natively- not just file/folder search- it can do math equations, dictionary lookups, email search with date/keyword matching, currency and unit conversions, language translation, it also supports boolean operators.

I have yet to find a similar functionality from any other OS.

Re:Command palettes: how typing commands became the norm again by kymaz on Sunday November 28, 2021 @08:20PM (#29375218)
And even better, you can just go into system preferences and turn off what you don't want!

At one point I had a newish version of OS X spotlight pared down to be about as functional as the Windows 7 start menu Search. If I had wanted command-space to be closer in feature parity to a Windows 10 start menu, it's approximately five reasonably intuitive mouse clicks to get to the settings prefpane with those checkboxes. I too have yet to find similarly well made functionality from any other major-ish desktop OS.

Re:Command palettes: how typing commands became the norm again by bobbylarrybobby on Sunday November 28, 2021 @08:57PM (#29375431)
Cmd-, opens spotlight preferences while spotlight is open
Re:Command palettes: how typing commands became the norm again by varenc on Monday November 29, 2021 @01:28AM (#29377005)
I still use Alfred daily! Its development is going strong.

I love Alfreds custom workflows. Half the time I’m using it the same way I’d use Spotlight, but I’m also using it to trigger custom workflows constantly. (Which often just call out to CLI utils or run zsh/Apple/Swift scripts, integrations that Alfred makes easy)

I also appreciate its global hot key support. For example, I’ve setup the F14/F15 keys to adjust brightness on an external monitor. (Just by having a workflow call out to `ddctl`)

Re:Command palettes: how typing commands became the norm again by themodelplumber on Sunday November 28, 2021 @09:29PM (#29375656)
Alfred was really cool. I replaced what I liked about Spotlight in Xubuntu by using combination of Guake, XFCE Whisker Menu Search Actions, and DE keyboard shortcuts bound to various scripts. Then I added some more stuff that I never knew I wanted from Spotlight.

I couldn't go back now, TBH, without using some kind of Mac OS native scripting components.

Re:Command palettes: how typing commands became the norm again by nurgasemetey on Monday November 29, 2021 @03:58AM (#29377680)
For me, Ulauncher was game-changer on Linux.
Re:Command palettes: how typing commands became the norm again by memco on Sunday November 28, 2021 @06:21PM (#29374312)
Yeah, this is a great feature! I would like to have an option to move the menu into the into the window under the toolbar or floating like the spotlight window since it's a little less eye travel, but nonetheless it's very handy to have the ability to activate menu items without having a dedicated keyboard shortcut.
Re:Command palettes: how typing commands became the norm again by e_proxus on Monday November 29, 2021 @05:11AM (#29378107)
Raycast has this neat feature called Navigation → Search Menu Items which is essentially the Help → Search feature of macOS.

However, you can bind it to any shortcut, so binding it to Cmd+P would give you a command palette in any app (and then you can exclude e.g. Sublime Text/Merge who already have their own palettes).

Re:Command palettes: how typing commands became the norm again by dkdbejwi383 on Sunday November 28, 2021 @05:47PM (#29373979)
This is one of those tiny seemingly inconsequential things that keeps me hooked on Mac OS
Re:Command palettes: how typing commands became the norm again by noisem4ker on Sunday November 28, 2021 @07:12PM (#29374739)
Re:Command palettes: how typing commands became the norm again by Gracana on Sunday November 28, 2021 @08:59PM (#29375445)
That's very nice. I really ought to make the switch to KDE, at least for a while to see what else I might be missing.
Re:Command palettes: how typing commands became the norm again by marcodiego on Sunday November 28, 2021 @05:51PM (#29374022)
This was available on ubuntu unity in 2012.
Re:Command palettes: how typing commands became the norm again by barsonme on Sunday November 28, 2021 @06:09PM (#29374188)
That’s great for Ubuntu!
Re:Command palettes: how typing commands became the norm again by alex_smart on Sunday November 28, 2021 @06:29PM (#29374388)
Except they dropped the feature when they switched to GNOME 3 in 2017.
Re:Command palettes: how typing commands became the norm again by duckmysick on Monday November 29, 2021 @04:24AM (#29377838)
There's Plotinus: https://github.com/p-e-w/plotinus

I've tried it, but it doesn't work in most of the apps I use like LibreOffice, Firefox, Double Commander.

Re:Command palettes: how typing commands became the norm again by firexcy on Tuesday November 30, 2021 @01:55AM (#29389664)
There is also a lovely utility called Paletro which extracts menu items for arbitrary apps and thus provides a universal command palette interface.