Posts: 1,445
skidoo
Joined: 09 Feb 2012
#1
skidoo wrote:
anticapitalista wrote:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?f=15&t=6953"
linktext was:"antix.freeforu ms.org/viewtopic.php?f=15&t=6953"
====================================

anyone like env-info (in a terminal)?
A while back we had discussed the prospect of finding/creating a non-terminal"helper" utility to gather sysinfo that
folks would be instructed (in docs) to paste when opening help request topics.

Although `env-info>>/tmp/ev.output.txt; leafpad"/tmp/ev.output.txt" &` could be linked to aControlCenter button, it really doesn't supply enough detail(s) to fit that purpose. (btw: Why is its"wm" line blank? It can't correctly detect fluxbox?)

Last night I waded through the 4700+ lines of neofetch script (plus 1000+ lines of its"config") to see whatall system calls it employs. I also grabbed 6--10 similar sysinfo harvesting scripts (some are bash, some are python) for reference. One uses pastebin API & although I admire that functionality (vs instructing user to paste walls of text into forum posts), the freeforums topics are already stuffed with search-cluttering sysinfo walls-o-text, so... nevermind.

Toward obviating the practice of instructing seekers to"post yer inxi -pDzqr14" (make sure it's a capital"D" or your head will explode?)
my intent is to release a pygtk app having a GUI similar to what we discussed in the"defaults resetter utiltity"
(
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post50481.html?hilit=reset#p50490"
linktext was:"antix.freeforu ms.org/post50481.h ... set#p50490"
====================================
back burner, but I haven't forgotten it )

I'll make a guess as to which command outputs (lspci, uname -a, lsmod, et al) would typically be useful, and will checkmark-by-default their corresponding line items... or will follow your feedback as to what line items to include in the utility (pre-checkmarked, or not).

When user clicks"Go", the utility will simply open a window containing the concatenated result of
bbcodeCODEtag + commandoutput1 + ======separator====== + commandoutput2 + ... bbcodeCODEendtag
and user would be instructed to"SelectAll, and paste this when opening your forum help request"

The utility will (must) scrub personally-identifying-info from the output of some commands, but beyond masking non-private
( other than 192.*, 127.*, et al) IP addresses, nothing comes to mind as representing"personally-identifying-info".
If the command output contains"/home/ikillbabyseals/path/to/configfile" ...shrug.
Last edited by skidoo on 28 Apr 2017, 21:17, edited 1 time in total.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
Instead of undue attention to deciding, in advance, the most-commonly-wanted line items to be checkmarked by default,
and coaching users to"click Go, and paste the (predetermined set of line items) output into your help request"...

The flow I'm envisioning (proposing) is:

When responding to a help request, Helpful Person launches"system info report generator",
ticks the line items deemed to be useful/relevant, and clicks button labeled something like"Picklist".
The app displays dialog containing copy/pasteable boilerplate instructions to seeker along with the textlabels for each item in the picklist.

Code: Select all

Toward effective troubleshooting, additional information is requested.
Please launch"system info report generator" from your antiX ControlPanel,
checkmark the following items and click the"Generate Report" button.

* basic system info (kernel, OS details)
* desktop session details
* blahblah

then click the"Copy to clipboard" button in the report window, and paste the report content into your followup reply.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#3
Gee, wouldn't it be nice if the user could right-click and add custom line items to the report?
Howabout, pressing up/down arrows could move the selected line upward or down, within the generated output?

No. If something in the backend gets changed, necessitating distribution an updated version of the app...
...let's not introduce worries regarding"updated versions must be 'backward compatible' and/or must avoid overwriting custom config".
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
.
What is the max length (character count) for a forum post?

For overly long"reports", should the Picklist boilerplate instructions
also (or, instead) coach the user to"saveAs textfile and upload as an attachment to your followup post" ?
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#5
noted while searching existing utilities:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/gui-for-inxi-script-t2884.html"
linktext was:"antix.freeforu ms.org/gui-for-inx ... t2884.html"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://download.tuxfamily.org/antix/docs-antiX-13/FAQ/smxi.html"
linktext was:"https://download.tuxfamily.org/antix/do ... /smxi.html"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://raw.githubusercontent.com/dylanaraps/neofetch/master/config/config"
linktext was:"https://raw.githubusercontent.com/dylan ... fig/config"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/djmasde/dotfiles/blob/master/env-info"
linktext was:"https://github.com/djmasde/dotfiles/blo ... r/env-info"
====================================
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
Played for a second with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/djmasde/dotfiles/blob/master/env-info#L1"
linktext was:"https://github.com/djmasde/dotfiles/blo ... nv-info#L1"
====================================


My result < I named the text file uhhuh and made it executable >

Code: Select all

harry@biker:~
$ ./uhhuh

harry@biker

OS: Debian GNU/Linux 8 (jessie)
Shell: /bin/bash
WM: icewm
Disk: 4.1G / 7.6G
Mem: 403M / 8026M
Kernel: Linux 4.10.1-antix.1-686-smp-pae i686
CPU: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz

 black  red  green  yellow  blue  magenta  cyan  white 
 black  red  green  yellow  blue  magenta  cyan  white 

harry@biker:~
I don't remember the
What is the max length (character count) for a forum post?
But I have exceeded the post limit of words my self in certain threads I have started dealing with breakage in apt on my boxes.

So I learned <snip> to cut out un-needed repetitive or un-needed info .

Code: Select all

harry@biker:~
$ locate python
/etc/python
<snip>
/usr/bin/python3.4
<snip>
/var/lib/python/python3.4_installed
But to be honest. Most of our new users have no clue what we are talking about.
So I just grin and bear it. __{{emoticon}}__
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#7
env-info is already included on antiX (since antiX-16 possibly antiX-15)
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#8
env-info is already included on antiX
Yep, noted in the second topic linked, above.

h t t p s : //github.com/djmasde
The version rok tested is slightly revised / enhanced, compared to the original (machinebacon?) script.

It's interesting to me that"wm: icewm" was correctly reported in rok's test.
The env-info version shipped in antiX17a3 reported a blank for that line when I tested.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#9
Not in my tests.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#10
I have had inxi pick up icewm as both icewm and blackbox. this was a2. I haven't noticed on a3 (but I haven't looked either).
Posts: 521
Shay
Joined: 20 Apr 2015
#11
Shows for me

Code: Select all

antix17a3:~
$ env-info

OS: antiX-17 keerfa
Kernel: Linux 4.10.5-antix.1-486-smp i686
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
Uptime: 0d 0h 12m
Packages: 1459
Shell: /bin/bash
WM: rox-icewm
Init: sysvinit
GTK Theme: Arc
GTK Icons: Faenza-Cupertino-mini
Font: Sans 10
Disk: 2.8G / 106G
Mem: 195M / 3.4G

 black  red  green  yellow  blue  magenta  cyan  white 
 black  red  green  yellow  blue  magenta  cyan  white