Ubuntu 20.04桌面无法使用Ctrl+X剪切及粘贴剪切内容问题求助
Hey there, that's such a frustrating issue—especially when it starts hitting your productivity! Let's walk through some common fixes for this weird desktop cut-paste glitch on Ubuntu 20.04:
Restart the Nautilus process
Since the Ubuntu desktop is managed by the Nautilus file manager, a quick restart might fix the stuck functionality. Open a terminal (pressCtrl+Alt+T), run this command to quit Nautilus completely:nautilus -q
After that, just open the file manager again (click its icon in the dock) or wait a few seconds for it to restart automatically. Test the Ctrl+X/Ctrl+V on the desktop afterward.Check for conflicting GNOME extensions
Third-party GNOME extensions can sometimes mess with desktop interactions. Try disabling all extensions temporarily to see if that's the culprit:- Open the "Extensions" app from your app menu.
- Toggle off all extensions, then log out and back in.
- Test the cut-paste on the desktop. If it works, turn extensions back on one by one to find which one was causing the conflict.
Alternatively, you can run this terminal command to disable all extensions at once:gnome-extensions disable --all
Reset Nautilus configuration
Corrupted Nautilus config files might be behind this issue. Let's back up the current config and reset it to defaults:
Run this command in the terminal:mv ~/.config/nautilus ~/.config/nautilus.bak
Then restart Nautilus or log out and log back in. This will restore Nautilus to its original settings—your files won't be affected, just some customizations like sidebar favorites might need to be reconfigured.Verify keyboard shortcut settings
Even though other apps work, it's worth double-checking if the desktop-specific cut/paste shortcuts got accidentally changed:- Open "Settings" → "Keyboard Shortcuts".
- Search for "Cut" and "Paste" in the list. Make sure "Cut" is set to
Ctrl+Xand "Paste" is set toCtrl+Vfor file operations.
Update your system
Sometimes this kind of bug gets fixed in system updates. Run these commands to update all packages:sudo apt update && sudo apt upgrade -y
After the update completes, restart your system and test the functionality again.
If none of these steps work, feel free to share more details—like if you've installed a different desktop environment (like KDE or Xfce) recently, or any software that might have modified file manager behavior. We can dig deeper from there!
备注:内容来源于stack exchange,提问作者pinkfloyd90

