summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/apps/switchboard-plugs/about/lspci-path.patch
blob: 352d84c42624bd244b8ead8ebd87313b107a1ce7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/Views/HardwareView.vala b/src/Views/HardwareView.vala
index a3e449c..a95fe93 100644
--- a/src/Views/HardwareView.vala
+++ b/src/Views/HardwareView.vala
@@ -179,7 +179,7 @@ public class About.HardwareView : Gtk.Grid {
 
         // Graphics
         try {
-            Process.spawn_command_line_sync ("lspci", out graphics);
+            Process.spawn_command_line_sync ("@pciutils@/bin/lspci", out graphics);
 
             if ("VGA" in graphics) { //VGA-keyword indicates graphics-line
                 string[] lines = graphics.split("\n");