Page 2 of 2

Re: inxi .sh a gui info system

Posted: Tue Feb 02, 2016 11:25 am
by Jerry3904
BTW, I had no trouble making a launcher on the Panel. Right-click desktop > Create Launcher ... Fill in along the lines of my image below, where the command is just

Code: Select all

sh /location-of-script
and select an icon such as the free one I downloaded from the web.

Re: inxi .sh a gui info system

Posted: Tue Feb 02, 2016 3:07 pm
by KernSpy
@ Jerry .. Yes, I got that - error on line 22 and the "(". Thanks for the instructions.

@ Kent .. Thanks for script & fix

@ Rok .. Thanks for the post & theme info. Your pics of the launcher setup were fine.
It just wasn't working for me. I'll mess with it this evening. I think from Jerry's instructions,
I just need to add sh /script in the launcher.


Kern...

Re: inxi .sh a gui info system

Posted: Tue Feb 02, 2016 8:50 pm
by kmathern
kmathern wrote:
Jerry3904 wrote:2) It would be better IMO if the script did not close after displaying one item, but returned to the index screen again
Yeah, I would kind of like to have it do that too.

I wonder those items could be changed to functions, have the main script call a function and then return to the index screen when it's done.

Maybe also make the index a radiolist where you can only select one item at a time.
Played around with it some more to make the mods highlighted above: https://dl.dropboxusercontent.com/u/184 ... xi-gui-yad

Re: inxi .sh a gui info system

Posted: Tue Feb 02, 2016 8:57 pm
by Jerry3904
That makes more sense.

Re: inxi .sh a gui info system

Posted: Sat Jun 04, 2016 1:59 pm
by anticapitalista
Kent - thanks for the script - using on antiX-15 and antiX-16.
However when choosing Network Configuration
Running this opens its report window but does not display any info.

Running the underlying command "ifconfig -a" in a terminal works OK.

Re: inxi .sh a gui info system

Posted: Sat Jun 04, 2016 2:41 pm
by kmathern
anticapitalista wrote:Kent - thanks for the script - using on antiX-15 and antiX-16.
However when choosing Network Configuration
Running this opens its report window but does not display any info.

Running the underlying command "ifconfig -a" in a terminal works OK.
I can get it to work in antiX-16-b5 if I specify the full path of the ifconfig command, "/sbin/ifconfig".

line 233:

Code: Select all

   /sbin/ifconfig -a | tee /tmp/networkconfinfo | yad --center --title="Network info (ifconfig -a)" --text-info --width=850 --height=600 --button gtk-save:0 --button gtk-cancel:1
I didn't need to do that with MX-15 though, I'm not sure why, maybe something to do with setup of /etc/sudoers?

Re: inxi .sh a gui info system

Posted: Sat Jun 04, 2016 2:53 pm
by anticapitalista
Thanks - adding /sbin fixes it.