inxi .sh a gui info system

Here you can exchange scripts that you created or have permission to share with other users.
Message
Author
User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: inxi .sh a gui info system

#11 Post 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.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
KernSpy
Posts: 144
Joined: Wed Nov 05, 2014 10:09 pm

Re: inxi .sh a gui info system

#12 Post 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...
MX-19.2_x64 | System76 Galago UltraPro / Clevo W740SU | Intel Core i7-4770HQ | Intel Iris Pro Graphics 5200 | 16 GB DDR3 | Intel 530 series mSATA SSD - 240-GB | WD7500BPKX - 750-GB | Intel HD Audio.

User avatar
kmathern
Developer
Posts: 2403
Joined: Wed Jul 12, 2006 2:26 pm

Re: inxi .sh a gui info system

#13 Post 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

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: inxi .sh a gui info system

#14 Post by Jerry3904 »

That makes more sense.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
anticapitalista
Developer
Posts: 4160
Joined: Sat Jul 15, 2006 10:40 am

Re: inxi .sh a gui info system

#15 Post 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.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
kmathern
Developer
Posts: 2403
Joined: Wed Jul 12, 2006 2:26 pm

Re: inxi .sh a gui info system

#16 Post 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?

User avatar
anticapitalista
Developer
Posts: 4160
Joined: Sat Jul 15, 2006 10:40 am

Re: inxi .sh a gui info system

#17 Post by anticapitalista »

Thanks - adding /sbin fixes it.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

Post Reply

Return to “Scripts”