Ubuntu Studio 24.04.1系统中Discover应用无法启动的求助
Hey there, sorry to hear you're stuck with Discover not launching—total bummer when you can't install or remove apps easily! Let's work through some tried-and-true fixes to get it back up and running:
Kill and restart related processes
Sometimes Discover or the Plasma shell background process hangs. Open a terminal (press Ctrl+Alt+T) and run these commands one by one:killall discover plasmashellWait a few seconds, then restart the Plasma shell:
kstart plasmashellNow try clicking the Discover icon again to see if it works.
Fix broken packages and reinstall Discover
Failed updates often leave broken dependencies or corrupted files. Run this command to refresh your package list and fix any issues:sudo apt update && sudo apt install -fThen force a reinstall of Discover to replace any damaged files:
sudo apt install --reinstall discoverClear Discover's cache and config files
Corrupted cache or config files can prevent Discover from starting. Delete these directories (this will reset Discover's settings but won't affect your installed apps):rm -rf ~/.config/discoverrc ~/.local/share/DiscoverTry launching Discover after this.
Test with a new user account
If the problem only happens in your current account, it's likely a corrupted user configuration. Create a new user account through System Settings, log into it, and try opening Discover. If it works, you can either migrate your data to the new account or reset your current Plasma configuration with:kreset5Note:
kreset5will reset all Plasma desktop settings, so back up any customizations first!Check for error messages
If none of the above works, run Discover directly from the terminal to see detailed error logs:discoverThe output will show exactly what's causing the crash—share those details if you need further help troubleshooting.
Hope one of these steps gets Discover working for you again! Feel free to follow up if you hit any snags with the commands or need help interpreting error messages.
备注:内容来源于stack exchange,提问作者C.Rostro

