#ubuntu Q and A Vol.1 – Hardware
Posted by ushimitsudoki on September 7, 2008
From time to time I like to hang out in #ubuntu and try to answer some questions. It’s a small way to contribute to the community, and it is fun and rewarding learning new things.
Sometimes I know the answer, more often I Google for it. Here are some interesting (?) questions I answered from a few different days and edited to read better. Maybe there is something in there for you!
smee: I have a question myself, related to making gtk/metacity themes: what is the name of the program that lets me mouse over a gui element and retrieve its gtk widget name?
ushimitsudoki: sudo apt-get install wininfo
CostaRicanQuaker: What command can i enter into the terminal to get my motherboard’s model name?
ushimitsudoki: dmidecode will show you mb and model info
On my system:
Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: P35-DS4 Version: Serial Number: UUID: 00000000-0000-0000-0000-001A4D572BFC Wake-up Type: Power Switch SKU Number: Family: Handle 0x0002, DMI type 2, 8 bytes Base Board Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: P35-DS4 Version: x.x Serial Number:
This didn’t actually work for CostaRicanQuaker, because his system showed:
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: To Be Filled By O.E.M.
Product Name: To Be Filled By O.E.M.
Version: To Be Filled By O.E.M.
Serial Number: To Be Filled By O.E.M.
UUID: 00020003-0004-0005-0006-000700080009
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.
He later went on to ask how much memory he could add, to which someone told him to try “sudo lshw -C memory”. In this case it was my system that was less informative, the suggestor’s system showed:
*-memory
description: System Memory
physical id: 19
slot: System board or motherboard
size: 1GiB
capacity: 2GiB
But mine does not show capacity:
*-memory
description: System Memory
physical id: 19
slot: System board or motherboard
size: 4GiB
flyer: anyone, how do i list my cores id (bitmasks)
ushimitsudoki: flyer: did you try cat /proc/cpuinfo?
