Forwarded your suggestion to the admins. inxi is mentioned in the "Before you post please read this" link in the newbie forums, but perhaps it is good to include this as the default command to run.
Not a bad idea. I've seen countless posts with very little information, requiring forum helpers to ask for further details. But I'd be concerned that getting a newbie to open a terminal and supply that detail might be beyond them. Having been asked to supply information from a terminal command output, the next question from the newbie OP is "What's a terminal?" Sadly, I bet few even read
Before you post please read this
And too many don't appear to edit the title as <Solved>. What can we do with them?
Nice one though I think we'd have very few forum members if we did that!
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
It shouldn't be to hard to write a small GUI wrapper for inxi if that is easier, though I think even newbies should be able to use the terminal. The next step in problem analysis usually includes some other commands to run from the terminal... The most basic of wrappers for inxi -Fc 0 is:
" >> $tempfile
zenity --text-info --filename=$tempfile --width=700 --height=500 --title="Please include this in your support request on the forum:"[/code]
It pop ups a window with the text that needs to be copied and pasted to the forum. But this is getting of topic for this suggestion...
xenopeek wrote:It shouldn't be to hard to write a small GUI wrapper for inxi
This has already been done in antix as it contains inxi-gui, though I believe the output is still in a terminal window. Unfortunately short of downloading antix there doesn't seem any way to get this that I can see at the moment.
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
xenopeek wrote:It shouldn't be to hard to write a small GUI wrapper for inxi
This has already been done in antix as it contains inxi-gui, though I believe the output is still in a terminal window. Unfortunately short of downloading antix there doesn't seem any way to get this that I can see at the moment.
xenopeek wrote:This post has at least the January 2011 version
Yeah I saw that Vincent but the download links are dead.
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Boy I sure did stir up the pot on this one.
Thanks you guys for all the responses and all of your help when I have needed it.
You guys are the ones that always are there to help. I for one appreciate what you do.
I will mark this post as solved.
Yes please, A bit too many "I have a problem in Mint" posts, and then your job is to guess which Mint it is and what desktop it is.
At least just a first-time reminder that all troubleshooting posts should mention which version of Mint you are using, and which login session if poss.
#!/bin/bash
# File Name: inxi-gui
# Version: 1.0.0
# Purpose: easy to use gui for the inxi script
# Authors: Dave and minor modifications by anticapitalista
# Matching inxi version: 1.4.23
# Acknowledgements: Scott Rogers, Harald Hope, aka trash80 & h2 for inxi version. Antix forum users for suggestions, testing, and input
# Special Acknowledgements: anticapitalista for testing, suggestions, input
# Copyright (C) Sunday, Feb. 5, 2011 by Dave / david.dejong02@gmail.com
# License: gplv2
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
################################################################################################################################################
# Help function - displays possible variables that can be used
function help {
echo " -a|--audio view sound card information"
echo " -c|--cpu view cpu information"
echo " -g|--graphics view graphics card information"
echo " -n|--nic view nic information"
echo " -l|--system view system information"
echo " -hd|--hard-drive view hard drive information"
echo " -r|--repository view repository"
echo " -s|--sensor view sensor information"
echo " --all view all (short) information"
echo " --help display this help"
echo
exit
}
# Main Function ( starts if functions below are not called by user )
function start {
A="Audio"
B="CPU"
C="Graphics"
D="NIC and IP address"
E="System"
F="Hard Drive"
G="Repository"
H="Sensor Output"
I="All Short"
ans=$(zenity --width 280 --height 400 --list --title "PC Information Options" --text "PC Information aquired by inxi script" --radiolist\
--column "" --column "PC INFO" \
FALSE "$A"\
FALSE "$B"\
FALSE "$C"\
FALSE "$D"\
FALSE "$E"\
FALSE "$F"\
FALSE "$G"\
FALSE "$H"\
TRUE "$I")
#echo $ans
case "$ans" in
$A)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -a ; bash'
inxi-gui
;;
$B)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -c ; bash'
inxi-gui
;;
$C)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -g ; bash'
inxi-gui
;;
$D)
roxterm -T 'PC Information' -e su -c 'inxi-gui -n ; bash'
inxi-gui
;;
$E)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -l ; bash'
inxi-gui
;;
$F)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -hd ; bash'
inxi-gui
;;
$G)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -r ; bash'
inxi-gui
;;
$H)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -s ; bash'
inxi-gui
;;
$I)
roxterm -T 'PC Information' -e bash -c 'inxi-gui -all ; bash'
inxi-gui i
;;
*)
esac
}
# Function for sound card information
function a {
echo ""
echo "############ PC INFORMATION - audio ##############"
echo "############ Press CTRL + C to exit ################"
echo ""
inxi -A
sleep 10000
inxi-gui
}
# Function for cpu
function b {
echo ""
echo "############ PC INFORMATION - cpu ##############"
echo "############ Press CTRL + C to exit ###############"
echo ""
inxi -C
sleep 10000
}
# Function for graphics
function c {
echo ""
echo "############ PC INFORMATION - graphics ############"
echo "############ Press CTRL + C to exit ################"
echo ""
inxi -G
sleep 10000
}
# Function for nic and ip
function d {
echo ""
echo "############ PC INFORMATION - nic + IP #############"
echo "############ Press CTRL + C to exit ################"
echo ""
inxi -i
echo ""
ifconfig
sleep 10000
}
# Function for system
function e {
echo ""
echo "############ PC INFORMATION - system ##############"
echo "############ Press CTRL + C to exit ################"
echo ""
inxi -S
echo ""
inxi -t c10
echo ""
inxi -I
sleep 10000
}
# Function for hard drive
function f {
echo ""
echo "############ PC INFORMATION - hard drive###########"
echo "############ Press CTRL + C to exit ###############"
echo ""
inxi -D
inxi -p
sleep 10000
}
# Function for repositories
function g {
echo ""
echo "############ PC INFORMATION - repositories###########"
echo "############ Press CTRL + C to exit #################"
echo ""
inxi -r
sleep 1 && zenity --question --title "Edit?" --text "Edit Repositories?"
if [ $? = 0 ] ; then
gksu "leafpad /etc/apt/sources.list " &
sleep 5
else
inxi-gui &
fi
killall roxterm
sleep 10000
}
# Function for sensors
function h {
echo ""
echo "############ PC INFORMATION - sensors #############"
echo "############ Press CTRL + C to exit #################"
echo ""
inxi -s
sleep 10000
}
# Function for all short
function i {
echo ""
echo "############# PC INFORMATION - all ###############"
echo "############# Press CTRL + C to exit ##############"
echo ""
inxi -F
sleep 10000
}
# Setting possible variable options
AA=false
BB=false
CC=false
DD=false
EE=false
FF=false
GG=false
HH=false
II=false
HELP=false
for args; do
case "$1" in
-a|--audio) AA=true;;
-c|--cpu) BB=true;;
-g|--graphics) CC=true;;
-n|--nic) DD=true;;
-l|--system) EE=true;;
-hd|--hard-drive) FF=true;;
-r|--repository) GG=true;;
-s|--sensor) HH=true;;
-all|--all) II=true;;
-h|--help) HELP=true;;
--) shift; break;;
-*) echo "Unrecognized option: $1"; ERROR=true;;
*) break;;
esac
shift
done
$AA && {
a
exit
}
$BB && {
b
exit
}
$CC && {
c
exit
}
$DD && {
d
exit
}
$EE && {
e
exit
}
$FF && {
f
exit
}
$GG && {
g
exit
}
$HH && {
h
exit
}
$II && {
i
exit
}
$HELP && {
help
exit
}
# Execute if script function is NOT called
start
You will need to install roxterm for the above to work.
If you use lxterminal the following change to lines 68 - 101 will work (tested on Archbang):