Reset GNOME Desktop Linux: Full Guide
In this article
Resetting the GNOME desktop on Linux restores its settings, extensions, and layout to the default state without reinstalling the system. This is useful when the desktop behaves oddly, panels disappear, or you simply want a fresh look. Before starting, back up any custom settings you care about, because the reset clears them.
What You'll Need
- A user account with sudo privileges (to reset system-wide settings if needed).
- Access to a terminal (Ctrl+Alt+T on most distributions).
- Your GNOME version (check with
gnome-shell --version). Steps are similar across GNOME 3 and 40+.
Step-by-Step
- Back up your current settings (optional but recommended). Open a terminal and run:
This saves all GNOME settings to a file. To restore later, usedconf dump /org/gnome/ > gnome-backup.txtdconf load /org/gnome/ < gnome-backup.txt. - Reset GNOME settings to defaults. The quickest way is to reset your user profile's dconf database. Run:
This resets all settings underdconf reset -f /org/gnome//org/gnome/, including themes, keyboard shortcuts, and window preferences. It does not delete personal files. - Reset GNOME extensions. Extensions store their settings under
/org/gnome/shell/extensions/. To reset them, run:
This disables and resets all extensions. You can re-enable them later from the Extensions app or GNOME Software.dconf reset -f /org/gnome/shell/extensions/ - Reset GNOME Shell's built-in state. If the top bar or overview is glitchy, reset the shell's cached state:
This restarts the shell in place (press Alt+F2, typegnome-shell --replacer, and press Enter if you prefer a GUI method). It only affects the current session. - Reset the desktop background and favorite apps. If you want a full reset including the wallpaper and dock, run:
The second command resets the dash, favorite apps, and other shell settings.gsettings reset-recursively org.gnome.desktop.background gsettings reset-recursively org.gnome.shell - Log out and log back in. After resetting, log out (click the power icon in the top-right corner and select “Log Out”) and log back in. This ensures all changes take effect cleanly.
- If you want a complete factory reset of the desktop, you can reset the entire dconf user database (not just GNOME). This is more aggressive and resets settings for all applications that use dconf. Run:
This wipes all dconf settings for your user, including those of other apps. Use only if you want a truly clean slate.dconf reset -f /
Common Mistakes
- Not backing up first – you may lose themes or keyboard shortcuts you want to keep.
- Resetting system-wide instead of user – running dconf reset with sudo can affect all users. Stick to user-level commands unless you know what you're doing.
- Forgetting to log out – some settings only apply after a re-login.
- Resetting too much – using
dconf reset -f /resets settings for other apps too, which may cause unexpected changes.
Tips
- Use the GNOME Tweaks tool (install via your package manager) to fine-tune settings after resetting.
- If you use multiple monitors, resetting may revert display arrangement. Re-apply your layout in Settings > Displays.
- For a less drastic reset, try resetting only specific components, like the dock (
gsettings reset org.gnome.shell.extensions.dash-to-dock) instead of everything. - Keep a backup of your
gnome-backup.txtfile on an external drive or cloud storage for easy restore.
Troubleshooting
If the desktop does not reset or looks unchanged:
- Ensure you are running the commands as your normal user, not with sudo (unless you intend system-wide changes).
- Check if your distribution uses a different settings daemon. For example, on Ubuntu with GNOME, dconf is standard, but on some distros like Fedora, the commands work the same. If not, try using the
gsettingscommand for specific keys. - Log out completely (not just lock the screen) and log back in.
If the shell crashes or becomes unresponsive after resetting:
- Press
Alt+F2, typer, and press Enter to restart the shell. - If that fails, press
Ctrl+Alt+F3to switch to a text console, log in, and runsudo systemctl restart gdm(or your display manager like lightdm or sddm). This restarts the entire graphical session. - If the problem persists, restore your backup with
dconf load /org/gnome/ < gnome-backup.txt.
If extensions are still enabled after resetting:
- Open the Extensions app (or GNOME Software) and manually disable them.
- Check if any extensions are installed system-wide (in
/usr/share/gnome-shell/extensions/). Those are not affected by user-level resets; you may need to remove them with your package manager.
Frequently Asked Questions
Will resetting GNOME delete my files?
No. Resetting GNOME only changes desktop settings and configuration. Your documents, photos, and other personal files remain untouched.
Does this remove installed applications?
No. Applications you installed remain installed. Only their settings may be reset if they use dconf.
Can I undo a reset?
Yes, if you backed up your settings with dconf dump before resetting, you can restore them with dconf load. Without a backup, you cannot undo the reset.
Why are my extensions gone after reset?
The reset disables all extensions and clears their settings. The extension packages themselves are still installed, so you can re-enable them from the Extensions app or GNOME Software.
Is there a difference between resetting GNOME and resetting the whole system?
Yes. Resetting GNOME only affects the desktop environment. Resetting the whole system (reinstalling) wipes all data and applications. The steps here are for GNOME only.
My distribution uses a different desktop environment (like KDE). Does this work?
No. These commands are specific to GNOME. If you use KDE, you would reset Plasma settings instead (e.g., kreset or removing ~/.config/plasma-org.kde.plasma.desktop-appletsrc).