如何在命令行中使用ubuntu-drivers-common或software-properties来更改图形驱动程序?

Martin Pitt删除了Ubuntu 14.04中的jockey-text (显然它也在13.10中被破坏了)但是当X不能正常工作时我用它来更改命令行中的图形驱动程序。 我现在该怎么做(他指的是标题中的两个包)?

使用ubuntu-drivers ,可用命令如下所述:

 usage: ubuntu-drivers [-h] [--package-list PATH]  List/install driver packages for Ubuntu. positional arguments:  See below optional arguments: -h, --help show this help message and exit --package-list PATH Create file with list of installed packages (in autoinstall mode) Available commands: debug: Print all available information and debug data about drivers. autoinstall: Install drivers that are appropriate for automatic installation. devices: Show all devices which need drivers, and which packages apply to them. list: Show all driver packages which apply to the current system. 

资源

因此,您可以使用sudo ubuntu-drivers devices获取软件包名称列表,然后使用apt-get安装相应的软件包。

安装要使用的那个之后,必须删除不想使用的那个。 这将迫使Ubuntu使用您安装的那个 (感谢@ Ads20000 )