恢复Ubuntu驱动到出厂设置,可按以下方法操作(以显卡驱动为例,其他硬件驱动类似):
sudo apt-get purge nvidia-*
。alsa
对应音频驱动)。/etc/X11/xorg.conf
):sudo rm /etc/X11/xorg.conf
。sudo apt-get install --reinstall ubuntu-desktop
。sudo reboot
,重启后驱动将恢复为出厂默认状态。注意:
dpkg-reconfigure -phigh -fDebian
命令重置系统配置(谨慎使用,可能影响软件)。