lshw-gtk menu entry is inoperative
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lshw (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lshw
I installed lshw-gtk ("Hardware Lister") from the Ubuntu Software Center, but the resulting menu entry in the System -> Preferences menu does not work. When you select it you get an Error dialog with the message "Could not launch 'Hardware Lister' Failed to execute child process "su-to-root" (No such file or directory)".
Looks to me like it is missing a dependency.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lshw-gtk 02.15-1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri May 20 12:39:15 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: lshw
UpgradeStatus: Upgraded to natty on 2011-04-30 (19 days ago)
Changed in lshw (Ubuntu): | |
status: | New → Confirmed |
I have the same problem in Ubuntu 11.04 (x86). Launching the application from the dash accomplishes nothing.
I went to /usr/share/ applications/ lshw-gtk. desktop and looked at what command the launcher executes:
su-to-root -X -c lshw-gtk
Now, I have never seen "su-to-root" (I am a newbie) so I changed it to "gksudo lshw-gtk", which is what I wanted it to do, and now it works.