Ubuntu 16.04系统Unity栏Files窗口无法打开求助
Hey there, sorry to hear your new System76 laptop's Unity Files launcher is acting up—let's walk through some tried-and-true fixes to get it working again. Since other launchers are fine, this is likely a localized issue with Nautilus (the underlying file manager) or Unity's launcher configuration.
Step 1: Restart the Nautilus Process
First, let's kill any hung Nautilus instances and restart it. This is the simplest fix and often works:
- Open a terminal with
Ctrl+Alt+T - Run this command to quit Nautilus:
nautilus -q - Then launch it again in the background:
nautilus &
Now try clicking the Files icon again—if it was just a stuck process, this should resolve it.
Step 2: Reset Unity Launcher Configuration
If restarting Nautilus doesn't help, the launcher's shortcut for Files might have become corrupted. Reset the launcher settings with:
unity-launcher --reset
After running this, log out and back in to apply the changes.
Step 3: Reset Nautilus User Configuration
Corrupted user settings for Nautilus can also cause launcher issues. Let's back up your current config and start fresh:
- Back up the existing config folder:
mv ~/.config/nautilus ~/.config/nautilus.bak - Log out and log back in—this will generate a new, clean Nautilus configuration.
(You can restore the backup later if this doesn't work by runningmv ~/.config/nautilus.bak ~/.config/nautilus)
Step 4: Reset Compiz (Unity's Window Manager)
Unity relies on Compiz for its interface, so a misconfigured Compiz setting could be the culprit. Reset Compiz and restart Unity:
- Reset Compiz settings:
dconf reset -f /org/compiz/ - Restart Unity immediately after:
setsid unity
Wait a few seconds for Unity to reload, then test the Files icon.
Step 5: Reinstall Nautilus and Unity Packages
If all else fails, there might be corrupted system files. Reinstall the core packages:
sudo apt update && sudo apt install --reinstall nautilus unity unity-desktop
Once the reinstall finishes, restart your laptop and check if the launcher works.
内容的提问来源于stack exchange,提问作者John Cowan

