Package: lshw Version: 02.13-2 Priority: wishlist Tags: patch It would be nice if Lshw would use 'gksu' in order to run the hardware lister GTK version as root. Users which are not comfortable with the terminal might wonder why they can easily get away with the 'Please run this as root' message.
The attach patch changes the .desktop file so that it uses 'gksu'. Notice that if you use this patch then you should also update the Depends: to add 'gksu' there too or otherwise it will not work. Regards Javier
--- lshw-gtk.desktop.orig 2009-07-21 18:34:24.000000000 +0200 +++ lshw-gtk.desktop 2009-07-21 18:38:56.000000000 +0200 @@ -4,6 +4,6 @@ Comment=Provides information on hardware Comment[ca]=Proveeix informació sobre el maquinari Icon=lshw-gtk -Exec=lshw-gtk +Exec=gksu -u root lshw-gtk Terminal=false Categories=Settings;HardwareSettings;
signature.asc
Description: Digital signature