Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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
Forum Veteran
Forum Veteran
Posts: 21921
Joined: Wed Jul 19, 2006 6:13 am

Re: inxi .sh a gui info system

#11 Post by Jerry3904 » Tue Feb 02, 2016 11:25 am

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.
You do not have the required permissions to view the files attached to this post.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
KernSpy
Forum Regular
Forum Regular
Posts: 555
Joined: Wed Nov 05, 2014 10:09 pm

Re: inxi .sh a gui info system

#12 Post by KernSpy » Tue Feb 02, 2016 3:07 pm

@ 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...
Acer Aspire M3800, Intel Pentium dual-core E6600, Intel 4 Series Graphics, Intel Audio, 4 GB Ram, XFCE 4, MX15 Fusion. Lenovo G560 Laptop - 4G Ram, Dual-Pentium, MX15 Fusion.

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9290
Joined: Wed Jul 12, 2006 2:26 pm

Re: inxi .sh a gui info system

#13 Post by kmathern » Tue Feb 02, 2016 8:50 pm

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
Forum Veteran
Forum Veteran
Posts: 21921
Joined: Wed Jul 19, 2006 6:13 am

Re: inxi .sh a gui info system

#14 Post by Jerry3904 » Tue Feb 02, 2016 8:57 pm

That makes more sense.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 5651
Joined: Sat Jul 15, 2006 10:40 am

Re: inxi .sh a gui info system

#15 Post by anticapitalista » Sat Jun 04, 2016 1:59 pm

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-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9290
Joined: Wed Jul 12, 2006 2:26 pm

Re: inxi .sh a gui info system

#16 Post by kmathern » Sat Jun 04, 2016 2:41 pm

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
Forum Veteran
Forum Veteran
Posts: 5651
Joined: Sat Jul 15, 2006 10:40 am

Re: inxi .sh a gui info system

#17 Post by anticapitalista » Sat Jun 04, 2016 2:53 pm

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-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

Post Reply

Return to “Scripts”