Note, in ubuntu-drivers-common 0.2.61 I added a simple wrapper tool which pretends that you have an nvidia, fglrx, and broadcom wifi card. Run it like this in the s-p checkout:
PYTHONPATH=. /usr/share/ubuntu-drivers-common/fake-devices-wrapper ./software-properties-gtk --data-dir=data
For s-p to work with the wrapper you need a tiny patch to s-p:
--- softwareproperties/gtk/SoftwarePropertiesGtk.py 2012-07-06 20:21:44 +0000 +++ softwareproperties/gtk/SoftwarePropertiesGtk.py 2012-07-12 14:46:42 +0000 @@ -935,7 +935,7 @@
try: name = subprocess.check_output([db_command, - device_info['syspath'].replace('/sys', '') + device_info['syspath'].replace(os.getenv('SYSFS_PATH', '/sys'), '') ], universal_newlines=True) name = " ".join(name.split('\n'))
Note, in ubuntu- drivers- common 0.2.61 I added a simple wrapper tool which pretends that you have an nvidia, fglrx, and broadcom wifi card. Run it like this in the s-p checkout:
PYTHONPATH=. /usr/share/ ubuntu- drivers- common/ fake-devices- wrapper ./software- properties- gtk --data-dir=data
For s-p to work with the wrapper you need a tiny patch to s-p:
--- softwarepropert ies/gtk/ SoftwarePropert iesGtk. py 2012-07-06 20:21:44 +0000 ies/gtk/ SoftwarePropert iesGtk. py 2012-07-12 14:46:42 +0000
+++ softwarepropert
@@ -935,7 +935,7 @@
try: check_output( [db_command, info['syspath' ].replace( '/sys', '') info['syspath' ].replace( os.getenv( 'SYSFS_ PATH', '/sys'), '')
],
universal_ newlines= True) name.split( '\n'))
name = subprocess.
- device_
+ device_
name = " ".join(