Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,29 @@ _Make a ZIP package for GNOME Shell:_
./autogen.sh && make && make zip-file
```

### Local development (GNOME Shell 45+)
_Run the extension directly from a local checkout:_
```sh
mkdir -p ~/.local/share/gnome-shell/extensions
ln -snf "$(pwd)" ~/.local/share/gnome-shell/extensions/cpufreq@konkor
```
Then enable it:
```sh
gnome-extensions enable cpufreq@konkor
```
If GNOME Shell doesn't pick up changes, log out/in (Wayland) or restart GNOME Shell.

_Alternatively, install a fresh bundle:_
```sh
gnome-extensions pack . --force
# installs into ~/.local/share/gnome-shell/extensions
gnome-extensions install --force ./cpufreq@konkor.shell-extension.zip
```
If settings are missing, rebuild schemas:
```sh
glib-compile-schemas schemas/
```


## Complete uninstall and removing of stored settings.
It can be useful if you have saved broken settings values or to clean up previous installation.
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ js_DATA = \
convenience.js \
extension.js \
prefs.js \
prefs_legacy.js \
metadata.json \
stylesheet.css \
konkor.cpufreq.policy \
Expand Down
2 changes: 1 addition & 1 deletion common/Preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Lang = imports.lang;

const APPDIR = getCurrentFile ()[1];

const Prefs = imports.prefs;
const Prefs = imports.prefs_legacy;

var Preferences = new Lang.Class ({
Name: 'Preferences',
Expand Down
Loading