8

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)?

1
  • @Seth if you read the description of the bug in the link, jockey-text is broken in 13.10 as well apparently.
    – Ads20000
    Apr 15, 2014 at 8:51

1 Answer 1

6

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)

7
  • 2
    OK, so how do I actually select which driver(s) I want to be active? Or is there no way of doing this like you could in Jockey?
    – Ads20000
    Apr 15, 2014 at 8:55
  • 1
    The ubuntu-drivers command line tool can list or install driver packages but mostly for integration in installers, hence the limited options. So I guess that you'll need the autoinstall command if X is not running. Hope that answers your question. Apr 15, 2014 at 9:31
  • I don't think so. I'm looking for an equivalent of sudo jockey-text -e DRIVER which activates a specific driver... (this means that you can have several drivers installed at once (e.g. fglrx and nVidia's proprietary one) and then activate one or the other - now I think you have to remove one and install the other to switch drivers) I think the answer works though - next time I have problems with graphics and X isn't working I'll try again properly
    – Ads20000
    Apr 15, 2014 at 10:54
  • 2
    @Ads20000 You use sudo ubuntu-drivers devices to get the list of packages, and then sudo apt-get install to install that specific package you want.
    – jmiserez
    Sep 4, 2014 at 14:49
  • 1
    @Ads20000 I've edited my post. Thanks. Remember that you can always suggest edits ;) Apr 22, 2015 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .