How do you use ubuntu-drivers-common or software-properties in the command line to change graphics drivers?
Martin Pitt removed jockey-text in Ubuntu 14.04 (it's also broken in 13.10 apparently) but I used it for changing graphics drivers in the command line when X wasn't working. How do I do this now (he refers to the two packages in the title)?
Using ubuntu-drivers
, the available commands are described below:
usage: ubuntu-drivers [-h] [--package-list PATH] <command>
List/install driver packages for Ubuntu.
positional arguments:
<command> 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.
Source
Thus you can get the list of package names with sudo ubuntu-drivers devices
and then install the respective packages using apt-get
.
After installing the one you want to use, you have to remove the one that you don't want to use. This will force Ubuntu to use the one you installed (thanks @Ads20000)