# Browser, clipboard and system

> Lightspot searches open tabs, bookmarks and recent history of your default browser (Chrome, Safari, Firefox, Arc, Brave, Edge), keeps clipboard history in memory, opens 46 System Settings panes by System Settings’ own search terms, and runs quick actions, 15 macOS tweaks and installers.

- URL: https://afixer.app/lightspot/browser-and-system
- Part of: Projects › Lightspot
- Language: en

Lightspot also finds the web pages you have open or saved, text you copied a minute ago, the System Settings pane or setting you are looking for, everyday actions like locking the screen, the macOS tweaks developers keep in their dotfiles, and installers for two of my tools.

## Browser tabs, bookmarks and history

Type two or more letters of a page title or address. Matching pages appear under _Browser History & Bookmarks_, up to six, and ↵ opens the page in your browser. Each row says whether it is an _Open Tab_, a _Bookmark_ or from _History_; when a page is all three, the open tab wins.

![Typing swift: an open Chrome tab as Top Hit, two bookmarks, a terminal command and a web search](https://afixer.app/lightspot/shots/browser.webp)

Lightspot reads only your **default browser** (the one macOS opens links with) and only its default profile:

| Browser        | Bookmarks                                         | History                                         |
| -------------- | ------------------------------------------------- | ----------------------------------------------- |
| Google Chrome  | `…/Google/Chrome/Default/Bookmarks`               | `…/Google/Chrome/Default/History`               |
| Brave          | `…/BraveSoftware/Brave-Browser/Default/Bookmarks` | `…/BraveSoftware/Brave-Browser/Default/History` |
| Microsoft Edge | `…/Microsoft Edge/Default/Bookmarks`              | `…/Microsoft Edge/Default/History`              |
| Arc            | `…/Arc/StorableSidebar.json`                      | `…/Arc/User Data/Default/History`               |
| Safari         | `~/Library/Safari/Bookmarks.plist`                | `~/Library/Safari/History.db`                   |
| Firefox        | `Newest backup in Profiles/…/bookmarkbackups`     | `Profiles/…/places.sqlite`                      |

Paths starting with `…` are inside `~/Library/Application Support`. With another default browser, Lightspot shows no bookmarks or history.

- **History** covers the last 7 days by default, up to 1,500 pages. Change it to 3 days or turn it off in the menu: **Browser History**. The database is opened read-only, in place.
- **Open tabs** are asked from the browser through AppleScript, only while it is running, so macOS asks once whether Lightspot may control it.
- Tabs are refreshed when they are older than five seconds, bookmarks every two seconds at most (only when the file changed), and history every ten seconds, all in the background so typing never waits for them.

![Typing kubernetes: a bookmark as Top Hit and a history entry below it](https://afixer.app/lightspot/shots/browser-k8s.webp)

## Clipboard history

While Lightspot runs, it remembers the last 50 texts you copied. Type `clip` (or `clipboard`) to see the eight most recent, or `clip` followed by a word to search them; ↵ copies the entry again. Entries also show up for normal queries when they contain the text you typed.

![Typing clip lists the most recent clipboard entries with their lengths](https://afixer.app/lightspot/shots/clip.webp)

![clip staging finds a copied kubectl command](https://afixer.app/lightspot/shots/clip-word.webp)

- The history lives only in memory: it is never written to a file, and quitting Lightspot or choosing **Clear Clipboard History** in the menu empties it. Copying an entry back is not recorded in [search history](https://afixer.app/lightspot/search#history) either.
- Only text is kept, not images or files. Copying the same text again moves it to the top.
- Copies marked as concealed by password managers are skipped: the pasteboard types `org.nspasteboard.ConcealedType`, `com.agilebits.onepassword` and those of a few clipboard and snippet tools.

## System Settings

Lightspot opens 46 System Settings panes directly. Search by the pane name or by a related word: `wifi`, `airpods`, `dark mode`, `filevault`…

![Typing display: Displays as Top Hit, then Screen Saver and Lock Screen panes, a quick action and a custom command](https://afixer.app/lightspot/shots/settings-display.webp)

| Pane                       | Also found by                                                 |
| -------------------------- | ------------------------------------------------------------- |
| Apple Account              | apple id, sign in, subscriptions, payment                     |
| iCloud                     | icloud drive, photos, keychain, find my, private relay        |
| Family                     | family sharing, parental controls, ask to buy                 |
| Wi-Fi                      | wifi, wireless, ssid, hotspot                                 |
| Bluetooth                  | bt, airpods, headphones, pair                                 |
| Network                    | ethernet, dns, proxy, firewall                                |
| VPN                        | wireguard, ikev2, ipsec, tunnel                               |
| Notifications              | alerts, badges, banners, dnd                                  |
| Sound                      | audio, volume, output, microphone                             |
| Focus                      | do not disturb, dnd, work, personal                           |
| Screen Time                | downtime, app limits, parental controls                       |
| General                    | info, system                                                  |
| About                      | about this mac, serial number, chip, macos version            |
| AirDrop & Continuity¹      | airdrop, handoff, airplay receiver, universal clipboard       |
| Login Items                | startup items, open at login, background items, launch agents |
| Language & Region          | language, locale, number format, temperature unit             |
| Device Management          | profiles, configuration profiles, mdm                         |
| Appearance                 | dark mode, light mode, accent color                           |
| Accessibility              | voiceover, zoom, captions, contrast                           |
| Menu Bar¹                  | control center, status bar, battery percent, clock            |
| Apple Intelligence & Siri² | siri, dictation, writing tools, chatgpt                       |
| Spotlight                  | search, indexing, privacy                                     |
| Privacy & Security         | location, camera, filevault, gatekeeper                       |
| Desktop & Dock             | dock, stage manager, hot corners, widgets                     |
| Displays                   | monitors, resolution, brightness, night shift                 |
| Wallpaper                  | background, desktop picture, dynamic                          |
| Screen Saver³              | screensaver, aerial                                           |
| Battery                    | power, energy, low power mode, charging                       |
| Lock Screen                | password required, screen off, inactive                       |
| Touch ID & Password        | fingerprint, change password, apple watch unlock              |
| Users & Groups             | accounts, admin, guest user                                   |
| AutoFill & Passwords¹      | keychain, passkeys, 2fa, verification codes                   |
| Internet Accounts          | google, mail, exchange, imap                                  |
| Game Center                | games, friends, achievements                                  |
| Wallet & Apple Pay         | apple pay, cards, express transit                             |
| Keyboard                   | shortcuts, text replacement, input sources                    |
| Trackpad                   | gestures, tap to click, natural scrolling                     |
| Mouse                      | tracking speed, secondary click                               |
| Printers & Scanners        | print, scan, airprint                                         |
| Software Update            | macos update, upgrade                                         |
| Storage                    | disk, ssd, free space, manage storage                         |
| Date & Time                | clock, timezone, 24-hour                                      |
| Sharing                    | file sharing, screen sharing, remote login                    |
| Time Machine               | backup, restore, snapshots                                    |
| Startup Disk               | boot, boot drive, target disk mode                            |
| Transfer or Reset          | erase all content, factory reset, migration                   |

¹ Before macOS 26: AirDrop & Handoff, Control Center and Passwords. ² Siri on Intel Macs and before macOS 15.1\. ³ On macOS 26, where Screen Saver moved into Wallpaper, it opens Wallpaper.

### The words System Settings’ own search knows

Lightspot also finds a pane by the settings inside it, using the same terms as the search field of System Settings. Every pane ships a list of its settings with the words that find them; Lightspot reads these lists at launch, in your languages and in English, and the row then names the setting that matched: `lockdown` finds _Privacy & Security → Lockdown Mode_, `sticky keys` finds _Accessibility → Sticky Keys_.

![Typing lockdown: Privacy & Security as Top Hit, its subtitle ending in Lockdown Mode](https://afixer.app/lightspot/shots/settings-terms.webp)

A setting’s title counts more than the extra words listed with it, many of which are generic (`show`, `top`), so such a word alone never makes a pane the Top Hit.

On macOS 27.2, System Settings sometimes quits without LaunchServices noticing, and for a minute or more opening any of its panes showed an alert that it is not open anymore. Lightspot checks for that itself. Since 1.4.1 it opens the pane in the System Settings that is running and starts one only when none is, so you get one System Settings in the Dock. 1.4.0 started a new one instead, and quit one that was still running to do so; on macOS 27.2 each quit left one more System Settings icon in the Dock. This goes for every pane Lightspot opens, the System Settings app row and links to `x-apple.systempreferences:` URLs.

## Quick actions

Quick actions are built-in commands, found by name or by the words in the second column. ↵ runs them. The ones marked _admin_ ask for Touch ID or your password; see [sudo with Touch ID](https://afixer.app/lightspot/terminal#touch-id).

![Typing dark mode: the Appearance pane as Top Hit and Toggle Dark Mode under Quick Actions](https://afixer.app/lightspot/shots/quick.webp)

| Action                    | Found by                     | What it does                                                |
| ------------------------- | ---------------------------- | ----------------------------------------------------------- |
| Lock Screen               | lock, screen                 | Locks the screen (⌃⌘Q through System Events)                |
| Sleep                     | sleep, suspend               | pmset sleepnow                                              |
| Restart                   | restart, reboot              | Asks System Events to restart                               |
| Shut Down                 | shutdown, power off          | Asks System Events to shut down                             |
| Empty Trash               | trash, bin                   | Asks Finder to empty the Trash                              |
| Toggle Dark Mode          | dark mode, light mode, theme | Switches between Dark and Light                             |
| Mute Audio                | mute, volume, sound          | Mutes the output                                            |
| Unmute Audio              | unmute, volume               | Unmutes the output                                          |
| Take Screenshot           | screenshot, capture, snip    | screencapture -ui                                           |
| Activity Monitor          | task manager, cpu, processes | Opens Activity Monitor                                      |
| Force Quit                | force quit, kill             | Opens the Force Quit Applications window                    |
| Flush DNS Cache           | flush dns, dns               | dscacheutil -flushcache; killall -HUP mDNSResponder (admin) |
| Purge Inactive Memory     | purge, free ram              | purge (admin)                                               |
| Show Desktop              | desktop, hide windows        | Hides every app except Finder                               |
| Open Downloads            | downloads, dl                | Opens \~/Downloads                                          |
| New Finder Window         | finder window, browse        | Opens a Finder window                                       |
| IP Address                | ip, my ip, public ip         | Shows and copies your IP addresses                          |
| Terminal in Finder Folder | terminal here, term here     | Opens your terminal in the Finder folder                    |
| Toggle Touch ID for Sudo  | touch id, sudo, pam          | Turns Touch ID for sudo on or off (admin)                   |

Several actions work through AppleScript, so macOS asks once whether Lightspot may control System Events or Finder. The [hardware readout](https://afixer.app/lightspot/developer-tools#sys), the [process killer](https://afixer.app/lightspot/developer-tools#kill), [Clean Dev Mac](https://afixer.app/lightspot/clean-dev-mac) and [Mac Tweaks](https://afixer.app/lightspot/mac-tweaks) also appear in this section, and so do the tweaks and installers below.

## macOS tweaks

Fifteen tweaks of the kind developers keep as `defaults write` one-liners in their dotfiles, as quick actions. Each toggle reads the current value and writes the opposite, so the same row turns a setting back. None needs an administrator password. For 41 more settings, each with its state and undo, for the disk space macOS keeps and for other apps’ launch agents and daemons, see [Mac Tweaks](https://afixer.app/lightspot/mac-tweaks).

![Typing clear dock: Clear Dock Icons as Top Hit, “Remove every app pinned to the Dock, then restart it”](https://afixer.app/lightspot/shots/tweaks-clear-dock.webp)

| Tweak                                     | Found by                                           | What it changes                                                                                                      |
| ----------------------------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Clear Dock Icons                          | clear dock, empty dock, remove dock icons          | `Saves com.apple.dock persistent-apps to dock-backup.plist, then empties it and restarts the Dock`                   |
| Restore Dock Icons                        | restore dock, undo clear dock, put back dock icons | `Puts the backup’s icons back where they were, restarts the Dock, checks the icons and only then deletes the backup` |
| Restart Dock                              | restart dock, fix dock                             | `killall Dock`                                                                                                       |
| Toggle Dock Auto-Hide                     | dock autohide, hide dock, show dock                | `Asks System Events to flip the Dock’s auto-hide`                                                                    |
| Toggle Instant Dock Auto-Hide             | instant dock, dock delay, dock speed               | `com.apple.dock autohide-delay 0 and autohide-time-modifier 0.15, or deletes both`                                   |
| Toggle Dock Recent Apps                   | dock recents, show recents                         | `com.apple.dock show-recents`                                                                                        |
| Toggle Hidden Files in Finder             | hidden files, show dotfiles                        | `com.apple.finder AppleShowAllFiles, relaunches Finder`                                                              |
| Toggle File Extensions in Finder          | file extensions, show extensions                   | `NSGlobalDomain AppleShowAllExtensions, relaunches Finder`                                                           |
| Toggle Finder Path Bar                    | path bar, show path bar                            | `com.apple.finder ShowPathbar`                                                                                       |
| Toggle Desktop Icons                      | desktop icons, presentation mode                   | `com.apple.finder CreateDesktop, relaunches Finder`                                                                  |
| Restart Finder                            | restart finder, fix finder                         | `killall Finder`                                                                                                     |
| Toggle Screenshot Shadows                 | screenshot shadow, window shadow                   | `com.apple.screencapture disable-shadow`                                                                             |
| Toggle .DS\_Store on Network & USB Drives | .ds\_store, network drives, usb drives             | `com.apple.desktopservices DSDontWriteNetworkStores and DSDontWriteUSBStores`                                        |
| Toggle Press-and-Hold Accents             | key repeat, press and hold, vim key repeat         | `NSGlobalDomain ApplePressAndHoldEnabled; apps pick it up when relaunched`                                           |
| Toggle Smart Quotes & Dashes              | smart quotes, curly quotes, smart dashes           | `NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled and NSAutomaticDashSubstitutionEnabled`                          |

The Dock and Finder tweaks restart the Dock or Finder so the change shows at once; Finder windows come back after a restart.

**Clear Dock Icons** saves the Dock’s icons to `~/Library/Application Support/Lightspot/dock-backup.plist` before it removes them, and removes nothing when it can’t save them. Clearing again before a restore keeps the first backup and adds only the apps it lacks. **Restore Dock Icons** puts them back: into an empty Dock exactly as they were, otherwise the missing apps at their old places, keeping icons you added since. Both wait until a Dock that has just started has run for 8 seconds and shows the same icons twice, half a second apart, because a Dock stopped while it is still starting writes the icons it started with back over the change. Then they write the icons, restart the Dock, check the icons in the Dock that comes up, and try once more if that restart lost them. Restore deletes the backup only once the icons check out; when the Dock loses them twice, when macOS refuses the change, or when no Dock comes up within 20 seconds, the backup stays and the row says which. Without a backup its row says so; Lightspot 1.3.9 and older saved none. A Clear Dock Icons from your search history of 1.3.x runs the new one, with its backup.

![Typing dock: Desktop & Dock as Top Hit, two more settings panes, then Toggle Dock Auto-Hide, Toggle Instant Dock Auto-Hide and Toggle Dock Recent Apps](https://afixer.app/lightspot/shots/tweaks-dock.webp)

## Installing setup-zsh, MacStats and dev tools

Type `install` or a tool’s name and press ↵: Lightspot runs the tool’s own installer in your [terminal](https://afixer.app/lightspot/terminal#terminals), where you see every step and answer its questions. ⌥↵ opens the tool’s page on GitHub instead. The row says whether the tool is already installed, and then offers to update it.

![Typing install: Install setup-zsh as Top Hit, marked Installed, with ↵ Update and ⌥↵ GitHub](https://afixer.app/lightspot/shots/installers.webp)

| Row               | Found by                                                              | Runs in your terminal                                                                                     |
| ----------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| Install setup-zsh | setup-zsh, zsh, oh my zsh, autosuggestions                            | `curl -fsSL https://raw.githubusercontent.com/openhoangnc/setup-zsh/main/setup.sh \| bash && exec zsh -l` |
| Install MacStats  | macstats, mac stats, menu bar monitor                                 | `curl -fsSL https://raw.githubusercontent.com/openhoangnc/mac-stats/main/install.sh \| bash`              |
| Install Dev Tools | install node, install go, install python, install rust, install brew… | `~/.zsh/setup-zsh/bin/install-dev-tool, after setup-zsh if it is missing`                                 |

[setup-zsh](https://afixer.app/projects/setup-zsh) sets up zsh with autosuggestions that match anywhere in your history, syntax highlighting and a git prompt; it keeps the lines you added to `~/.zshrc` yourself. [MacStats](https://afixer.app/projects/mac-stats) shows CPU, RAM, network speed and CPU temperature in the menu bar. _Install Dev Tools_ opens setup-zsh’s `install-dev-tool` menu (Homebrew, Node.js, Go, Python and uv, Rust, a JDK, Bun, VS Code, Chrome and more), installing setup-zsh first when it is missing, so `install node` or `install go` lead there.

![Typing install node: Install Dev Tools as Top Hit, “setup-zsh’s menu: Homebrew, Node.js, Go, Python…”](https://afixer.app/lightspot/shots/installers-node.webp)
