Skip to content

Commit

Permalink
Update cs_info.py - increase inxi verbosity
Browse files Browse the repository at this point in the history
Add a third 'x' option to the inxi command so it will also provide the
partitioning scheme for drives. It is useful for people helping with
installation or boot issues to know upfront whether GPT or MBR is used.

Also adds the 'J' option to make inxi provide information about USB
devices, to put it on par with the information mintreport provides.
  • Loading branch information
xenopeek authored Dec 17, 2023
1 parent 0d9a16f commit b1e1d85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _run_inxi(spinner):
inxiOutput = None

try:
inxiOutput = subprocess.run(['inxi', '-Fxxrzc0'], check=True, stdout=subprocess.PIPE).stdout
inxiOutput = subprocess.run(['inxi', '-FJxxxrzc0'], check=True, stdout=subprocess.PIPE).stdout
except Exception as e:
print("An error occurred while copying the system information to clipboard")
print(e)
Expand Down

0 comments on commit b1e1d85

Please sign in to comment.