sol icon indicating copy to clipboard operation
sol copied to clipboard

Search for third party system preference panes

Open foss- opened this issue 2 years ago • 7 comments

Feel free to close if out of scope, but being able to search for system preferences components would be a useful addition.

foss- avatar Sep 08 '22 20:09 foss-

They are already there, are they not?

ospfranco avatar Sep 08 '22 20:09 ospfranco

Correct, the remaining aspect would be third party system preference panes as exist for ChronoAgent, macFUSE or GPG Suite to name a few. (adjusting title accordingly)

foss- avatar Sep 08 '22 22:09 foss-

I don't quite understand what you mean... do you want to open a third party app settings window? is that even possible?

Or do you mean searching for menu bar items? I think Raycast does this, it is cool but no idea and no time to implement it.

ospfranco avatar Sep 09 '22 11:09 ospfranco

It is possible for apps to install a preference pane for some settings. ChronoAgent is one example: 1

foss- avatar Sep 09 '22 13:09 foss-

ah ok. I don't know if it is possible to programmatically get system prefs panels, current implementation has hardcoded paths. Will leave this ticket open for now, but someone else will have to implement it.

ospfranco avatar Sep 09 '22 13:09 ospfranco

Just use some fs glob function on PreferencePanes paths. There are 3 paths:

  1. /System/Library/PreferencePanes/ - System
  2. /Library/PreferencePanes - Global
  3. /Users/{user}/Library/PreferencePanes - User

ah ok. I don't know if it is possible to programmatically get system prefs panels, current implementation has hardcoded paths. Will leave this ticket open for now, but someone else will have to implement it.

OlshaMB avatar Sep 16 '22 15:09 OlshaMB

PRs are welcome

ospfranco avatar Sep 16 '22 15:09 ospfranco

Are this third party panels still supported on Ventura? the new app seems a lot less native than previous implementations, I had to hardcode the new paths and there seems to be no new documentation.

ospfranco avatar Nov 25 '22 15:11 ospfranco

Yes, they may look a bit weird since their old UI doesn't fit the new style but they still exist and load as expected. You could test with e.g. https://osxfuse.github.io/

foss- avatar Nov 25 '22 15:11 foss-

A new version is out 1.1.104 that should list third party preference panes, only on Ventura though, let me know if it works for you

ospfranco avatar Nov 26 '22 19:11 ospfranco

Great news.

macOS 13.0.1: verified this works for ChronoAgent.

It did not work for macFUSE or GPGPreferences (comes with GPG Suite). 1

foss- avatar Nov 26 '22 20:11 foss-

I used the method suggested by @OlshaMB. No idea how macFuse is adding preference panes.

ospfranco avatar Nov 27 '22 07:11 ospfranco

On the GPGPreferences github readme they say you need to manually copy the .prefPane file to ~/Librare/PreferencePanes, if you do that, it should work. As for macFuse, no idea.

ospfranco avatar Nov 27 '22 07:11 ospfranco

Screenshot 2022-11-27 at 09 54 03

macFUSE is there, it only has a funny parsing due to the way I generate the names :)

ospfranco avatar Nov 27 '22 08:11 ospfranco

Wow at macFUSE for using the most unexpected parsing. Confirming it works as intended. Thanks for adding this.

foss- avatar Nov 27 '22 12:11 foss-