privacy-menu-extension
privacy-menu-extension copied to clipboard
Add privacy settings toggles to the GNOME system menu
Privacy Quick Settings GNOME Extension
- Add privacy quick settings to the system menu for quick access to privacy settings in GNOME
- Supports GNOME 45+
- Get the extension from here
- This project is licensed under GPL 3.0
- Any donations are greatly appreciated :)
Why are apps ignoring my settings?
- Due to limitations in GNOME shell, only sandboxed (flatpak / snap) apps can be forced to respect privacy settings
- As long as the settings changed by the extension match the settings inside GNOME Settings (privacy section), the extension is behaving correctly
Older versions:
- Support for older versions of GNOME can be found in branches
- Find the name of the branch thgat supports the target version, and install from there
- Alternatively, you can just use an older release or tag to install from
Install the extension from releases:
- Run
gnome-extensions install "[email protected]" --force - Alternatively:
- Extract the zip to
~/.local/share/gnome-shell/extensions/PrivacyMenu@stuarthayhurst/ - Then run
glib-compile-schemas ~/.local/share/gnome-shell-extensions/PrivacyMenu@stuarthayhurst/schemas/
- Extract the zip to
- Log out and back in to restart GNOME
- Enable the extension:
gnome-extensions enable PrivacyMenu@stuarthayhurst
Install the extension from source:
- Make sure the install dependencies are installed
make buildmake install- Log out and back in to restart GNOME
- Enable the extension:
gnome-extensions enable PrivacyMenu@stuarthayhurst
Build system usage:
-
Common targets: Regular build system targets to build, install and uninstall
make build: Creates extension zipmake check: Runs checks on built extension zipmake install: Installs the extensionmake uninstall: Uninstalls the extension
-
Development targets: These targets are aimed at developers and translators
make clean: Cleans the extension repository, including built files and translationsmake translations: Updates translationsmake compress: Losslessly compresses any.pngs indocs/- Allows passing
COMPRESSLEVEL="-o[X]", where[X]is an integer between 0-7 - Supports
-j[X], where[X]is the number of threads to use
- Allows passing
make release: Updates translations and icons, then creates and checks an extension zip- Calls
make translations compress build check - Supports any variables / arguments supported by these targets
- Also allows passing
VERSION="[XX]", where[XX]is the version to updatemetadata.jsonto - Supports
-j[X], where[X]is the number of threads to use
- Calls
make package: Creates the extension zip from the project's current state (only useful for debugging)
Install dependencies:
- gettext
- gnome-extensions
Build dependencies: (Only required if running make release)
All install dependencies- sed (
make translations) - optipng (
make compress)
Want to help?
- Help with the project is always appreciated, refer to
docs/CONTRIBUTING.mdto get started - Documentation, code, translations and UI improvements are all welcome!
Bug reporting / debugging:
- If you were simply told "Error" while installing, reboot and see if there's still an issue
- When installing an extension from GNOME's extension site, this is normal
- A log of what the extension is doing is very helpful for fixing issues
- The extension logs to the system logs when enabled, which can be accessed with
journalctl /usr/bin/gnome-shell - A live feed of GNOME's logs can be accessed with
journalctl /usr/bin/gnome-shell -f -o cat
Credits:
scripts/update-po.shandscripts/update-pot.shwere derived from Fly-Pie, originally licensed under the MIT license
Screenshot:
