lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
774 stars 130 forks source link

Building from source in Fedora 35 results in GTK-2.0/1.0 GUI #641

Closed maxreuben closed 2 years ago

maxreuben commented 2 years ago

I built the app from source for Fedora 35, and it displays in gtk-1.0/2.0. I had used the app on fedora 34 and it used GTK-3. So I might be doing something wrong while building. How to make it switch to GTK3 on Fedora 35? Here's what it looks like in Fedora 35(built from source): image

lpereira commented 2 years ago

Right now, you need to pass -DHARDINFO_GTK3=ON to build with GTK+3. It should eventually be the default if it's installed, though.

On Sun, Jan 23, 2022, 21:26 Reuben S Varghese @.***> wrote:

I built the app from source for Fedora 35, and it displays in gtk-1.0/2.0. I had used the app on fedora 34 and it used GTK-3. So I might be doing something wrong while building. How to make it switch to GTK3 on Fedora 35? Here's what it looks like in Fedora 35(built from source): [image: image] https://user-images.githubusercontent.com/28548154/150726817-056ad708-b8f5-4949-9943-faa3b7c9e629.png

— Reply to this email directly, view it on GitHub https://github.com/lpereira/hardinfo/issues/641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGMCDNAW3CCKC5L43RTUXTPJVANCNFSM5MUM2BWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

maxreuben commented 2 years ago

I tried using that flag to build it but the UI has not changed. Here's what I ran:

  1. cmake .. -DHARDINFO_GTK3=ON
  2. make When I launch it, i get the error Gtk-Message: 22:27:20.558: Failed to load module "pk-gtk-module". Does that have anything to do with it?
lpereira commented 2 years ago

You have to install (with "sudo make install" or equivalent). If you have installed HardInfo through a package manager, might be a good idea to uninstall the package first.

On Mon, Jan 24, 2022, 19:30 Reuben S Varghese @.***> wrote:

I tried using that flag to build it but the UI has not changed. Here's what I ran:

  1. cmake .. -DHARDINFO_GTK3=ON
  2. make When I launch it, i get the error Gtk-Message: 22:27:20.558: Failed to load module "pk-gtk-module". Does that have anything to do with it?

— Reply to this email directly, view it on GitHub https://github.com/lpereira/hardinfo/issues/641#issuecomment-1020775932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGLRXNOKIFAVYS76KHTUXYKMDANCNFSM5MUM2BWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

maxreuben commented 2 years ago

I installed it using sudo make install and it worked. Thank you.