SoftwareAndUpdatesSettings

Revision 10 as of 2012-02-01 14:06:28

Clear message

This is a 75%-incomplete specification for how software channels and update settings should be configured in Ubuntu. Your help to implement any of this is welcome.

System Settings (gnome-control-center) should contain a “Software & Updates” panel, with tabs for “Ubuntu Software”, “Other Software”, “Updates”, and “Authentication”. That is, for now, it should be a direct port of software-properties-gtk.

“Software Channels”

Choosing a download server

settings-download-from.png

In the “Ubuntu Software” tab, if mirrorbrainz has been implemented yet, the “Download from:” menu should begin with a “Fastest detected server” item (the default), then a separator. Regardless, the menu should then have a “Main server” item, an item for whatever custom server you have chosen (if any), a separator, and an “Other…” item which opens the dialog for choosing a different server.

https://launchpad.net/ubuntu/+spec/foundations-o-apt-mirror-method

“Updates”

“Additional Drivers”

drivers-settings.png

The third tab, “Additional Drivers”, should contain a listbox listing each device for which proprietary drivers could be installed — for example, “Graphics card: ATI Radeon HD 6210” or “Printer: Canon XFI-2400”. (This tab should replace jockey-gtk, retiring bug 805465.)

Each device in the list should have an indicator light: red if no driver is being used for the device, yellow if an open-source driver is in use but a proprietary driver is available, or green if a proprietary driver is in use. Below the device name should be a caption reflecting this state: “This device is not working.”, “This device may work poorly without a proprietary driver.”, or “This device is using a proprietary driver.”, respectively.

The following radio buttons should be of the form “Do not use the device”, “Use {driver name} ({license type})”, or “Use {driver name} ({license}, tested)” — for example “Use Nvidia driver v165 (proprietary, tested)”.

Whenever no drivers are being installed or removed, or waiting for a restart, below the leading side of the listbox should be text of the form “No proprietary drivers in use” or “1 proprietary driver in use”, and at the trailing side “Revert” and “Apply Changes” buttons. Both buttons should be sensitive only if you have made no changes.

drivers-settings-applying.png

If you choose “Apply Changes”:

  1. You should be asked to authenticate if necessary (with the standard install text, i.e. “To install or remove software, you need to authenticate.”).
  2. If you are choosing to install any drivers that have end user license agreements, a dialog should appear sequentially for each, with the name of the driver as its title, the EULA in a scrolling text field, the text “Do you accept the license agreement?”, and “Decline” and “Accept” buttons (fixing bug 271288).

  3. The “proprietary drivers in use” text should change to “Applying changes…”, and the buttons should change to a progress bar and a “Cancel” button (insensitive once it’s too late to cancel).
  4. Once installation or removal is finished, the text and buttons should revert to their normal state (except as specified below).
  5. If the changes required a restart, and the “Hardware Drivers” tab is still focused, the window should request attention.
  6. If the changes required a restart, but you had since navigated away from the “Additional Drivers” tab or closed System Settings altogether, a parent-less alert box should appear with the title “Additional Drivers”, the “Software & Updates” icon, the text “You need to restart the computer to complete the driver installation.”, and “Restart Later” and “Restart Now” buttons (fixing bug 306708).

If there are changes waiting for a restart to complete, even if you close and reopen System Settings:

  • The text below the leading side of the listbox should be “Restart the computer to complete these changes.”
  • There should be an extra “Restart…” button before the “Revert” button (fixing bug 739242). (“Restart…” should open the standard Restart dialog.)

At the bottom of the tab should be this small print (fixing bug 660669): “Proprietary drivers have private code that Ubuntu developers can’t review or improve. Security and other updates are dependent on the driver vendor.”

Prompting to install additional drivers

drivers-prompt.png

Ubuntu should not try to use an indicator menu or notification bubble to prompt about hardware drivers (fixing bug 617392).

Instead it should open an alert box, to suggest that you install proprietary drivers, whenever all of these are true:

  • There are any devices for which proprietary drivers could be installed but currently are not.
  • Software Updater is not open.

  • You have never previously responded “Not Interested” or “Choose…” to the prompt.
  • You have not chosen “Ask Me Later” to the prompt in the past week.

“Choose…” should open System Settings to the “Additional Drivers” tab of the “Software & Updates” panel.