Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 00:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
system information
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Thu 04 Aug 2011, 13:41    Post_subject:  system information
Sub_title: system information script for Puppy 4 and 5 versions (pet only)
 

This is a system information script that I modified for and on Lupu 520.
It requires zenity which is part of Lupu520. Edited to not part of Lucid 520. Evidently, zentiy was a forgotten install I did when making the script.
It might work with yad, but I have not tried it.
Some of the information coding is specific to Lupu 520 so if you try to use it on another version of Puppy results may vary.
If you are into coding, modify it as you wish.
The link to the original was found on http://code.google.com/p/gtkdialog/.

I did some minor modifications as including some files needed by the system_info script and created a pet package complete with a menu entry. The application should now work with Puppy 4 versions as well as Puppy 5 versions. But zenity or yad with a system link to it named zenity is required.
The Pet is attached.
I should mention that this is the second upload as I had to modify the Pet.
Look further down in this thread for an updated version posted by me.
It was sort of a test to me of using the button imaging position widget.
system_info1.tar.gz
Description  A version of system_info for smaller screens. Rename extracted file to "system_info.sh" and copy to /usr/bin
gz

 Download 
Filename  system_info1.tar.gz 
Filesize  2.14 KB 
Downloaded  442 Time(s) 
system_info.pet
Description  Requires zenity or yad with a system link to it named zenity.
Should work on Puppy 4 and 5 versions.
pet

 Download 
Filename  system_info.pet 
Filesize  146.3 KB 
Downloaded  509 Time(s) 
system_info.tar.gz
Description  Requires zenity may work with yad, modified for and on Lupu 520 and may only work there.
gz

 Download 
Filename  system_info.tar.gz 
Filesize  2.14 KB 
Downloaded  481 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Fri 05 Aug 2011, 16:05    Post_subject: Re: system information
Sub_title: system information script for Puppy 4 and 5 versions (pet only)
 

Hi 8bit,

downloaded tgz using wary511q
changing
# gtkdialog --program=MAIN_DIALOG
gtkdialog3 --program=MAIN_DIALOG

and running.
Very nice but it is a bit tall for resolution 1280*720

8-bit wrote:
The application should now work with Puppy 4 versions as well as Puppy 5 versions. But zenity or yad with a system link to it named zenity is required.


Is zenity running in puppy 4 ?
Yad is not running in puppy 431.(PuppyMaster is not interested)
Edited some hours later:
Yes, he is interested in all woof-builts
Laughing http://bkhome.org/blog/?viewDetailed=02387 Thank you, Barry Smile

cheers
system_tools.png
 Description   1280*720
 Filesize   23.88 KB
 Viewed   1544 Time(s)

system_tools.png


Edited_time_total
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Fri 05 Aug 2011, 18:22    Post_subject:  

Here's a link for yad compiled for pup431
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=38895
in case anyone would like it.

Cheers,
s
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Fri 05 Aug 2011, 19:13    Post_subject:  

Thank you seaside for that.
I went back and tried to redesign the script display to be wider and less tall. But it is proving to be a real pain.

But while I am here, I want to mention that all the features of the script will not work in Puppy 4 series unless one uses the Pet package.
The main one that will not work is the Sensors button as it needs files that do not exist in Puppy 4 series but are included in the PET..

The gui is open source, so anyone want to take a try at resizing it to get it to fit on a smaller screen?
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Fri 05 Aug 2011, 20:33    Post_subject:  

8-bit,

Perhaps you could cut out the last frame "System Tools" and put the info and quit icons underneath "/root/.bashrc".

That part is just extra decoration and will take off some height.

Regards,
s
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 06 Aug 2011, 10:44    Post_subject:  

seaside,
Thank you for the suggestion. I now have attached a version for smaller screens using your suggestion.
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sat 06 Aug 2011, 18:36    Post_subject:  

8-bit,

I downloaded the shorter "system_info1.tar.gz" and it erred out in gtkdialog.

Here's one that should work.

(Not really a tar)

Regards,
s
system-info-short.tar
Description  Shorter dialog for system information
tar

 Download 
Filename  system-info-short.tar 
Filesize  10.5 KB 
Downloaded  421 Time(s) 
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 06 Aug 2011, 21:38    Post_subject:  

From what I can see, the main differences between your mod and my short display script are
(1) The change of /boot/grub/menu.lst to /mnt/home/boot/grub/menu.lst
(2) The removal of the text line that displays System Tools in blue
(3) Changing gtkdialog to gtkdialog3

On my system, gtkdialog is a link that points to gtkdialog3, so the app works but is wider than your offering.
I found that the line that displays "System Tools" in blue was the cause of that.

Thank you for the modified script though as It does take up less screen room.

And since your mod works, I will leave mine alone and state that users with a smaller display use your offering.

As I said before, I am not that great a programmer and am more of a cut and paste guy.
Back to top
View user's profile Send_private_message 
Bruce_n_Duane

Joined: 01 Nov 2005
Posts: 68
Location: Washington State

PostPosted: Tue 09 Aug 2011, 19:53    Post_subject: Bug fixes and mods
Sub_title: Fixed some bugs and made some program mods
 

Great program 8-bit!!!!

installed the /usr/bin/system_info.sh version 8/1/2011 on Lucid 5.2.5
Had to add ln -s link for zenity to yad

Fixed some bugs: Line: original ===> change

12: "System Tools" ===> "/usr/bin/system_info.sh"

81: "Version" ===> "Whereis"

86: "Version" ===> "Which"

323: --info ===> --title="/usr/bin/system_info.sh"

338 gtkdialog ===> gtkdialog3

=======================================

Added comments to top of program and code to respond to --help and --version.
# System Info Program
# Original by 8-bit 8/5/2011
# Modified 8/6/2011 BQ add -version --help and fixes
PROGRAM=$0
ARGNUM=$#
ARGUMENTS="$*"
VERSION="1.0.1"
HELP="no help"


if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--version" ]
then echo $0 "Version=" $VERSION
exit 0
fi

if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--help" ]
then echo $0 "Help=" $HELP
exit 0
fi

=====================================================
I named my version for testing /usr/bin/system_info.b1

below is the output of # diff system_info.sh system_info.b1

1a2,21
> # System Info Program
> # Original by 8-bit 8/5/2011
> # Modified 8/6/2011 Bruce add -version --help and fixes
> PROGRAM=$0
> ARGNUM=$#
> ARGUMENTS="$*"
> VERSION="1.0.1"
> HELP="no help"
>
>
> if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--version" ]
> then echo $0 "Version=" $VERSION
> exit 0
> fi
>
> if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--help" ]
> then echo $0 "Help=" $HELP
> exit 0
> fi
>
12c32
< <window window_position="1" title="System Tools">
---
> <window window_position="1" title="/usr/bin/system_info.sh">
81c101
< <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Version" &</action>
---
> <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Whereis" &</action>
86c106
< <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Version" &</action>
---
> <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Which" &</action>
91c111
< <action>$VAR1 --version | zenity --text-info --width=200 --height=200 --title $"Version" &</action>
---
> <action>$VAR1 --version | zenity --text-info --width=400 --height=200 --title $"Version" &</action>
323c343
< <action>zenity --info --text="This utility was found at PCLinuxOS Magazine: \\n\\nand originally written by musonio.: \\n\\nI modified it somewhat to work with Puppy Linux: \\n\\n with Lupu 520 as my base.: \\n\\n Feel free to use it or modify it as you wish. \\n\\nLink is http://pclosmag.com/html/issues/200910/page21.html \\n\\n8-bit"</action>
---
> <action>zenity --title="/usr/bin/system_info.sh" --text="This utility was found at PCLinuxOS Magazine: \\n\\nand originally written by musonio.: \\n\\nI modified it somewhat to work with Puppy Linux: \\n\\n with Lupu 520 as my base.: \\n\\n Feel free to use it or modify it as you wish. \\n\\nLink is http://pclosmag.com/html/issues/200910/page21.html \\n\\n8-bit" &</action>
338c358
< gtkdialog --program=MAIN_DIALOG
---
> gtkdialog3 --program=MAIN_DIALOG
#
======================================================
Thank you for this great tool!!

Thank you for this chance to do some programming again!.
-Bruce.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Tue 09 Aug 2011, 23:02    Post_subject:  

Bruce,
Would you care to share your version if it adds additional features?
Also, in Programming, you can add a button after the button labeled "Loaded Modules" without messing up the window.
I tried adding "dmesg" piped to zenity and also tried a button to display the contents of /tmp/xerrs.log.
Both worked without a problem.
You can look at other buttons to see how it works with zenity for display purposes.
Back to top
View user's profile Send_private_message 
scsijon

Joined: 23 May 2007
Posts: 1047
Location: the australian mallee

PostPosted: Fri 12 Aug 2011, 19:25    Post_subject:  

8bit,

puppy525, stock standard full install with apps added, ethernet and satellite to internet.

Top & Htop buttons work.

Exit button works.

However !Problems

Kernal messages frame:
Nothing works

Commands Information Frame:
Manual button flashes, nothing happens
nothing works for the rest

Third frame down on the left:
Hardware Info works, nothing else does anything

Third frame down on the right:
nothing does anything

System Files frame:
Only thing that does anything is the "monitor" button, and that just shuts the program down

Frame to right of System Files:
Simmilar with "home" icon shutting it down

end of report

Very Happy Just something to get your teeth into.

regards
scsijon
Back to top
View user's profile Send_private_message Visit_website 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 13 Aug 2011, 00:15    Post_subject:  

scsijon,
It sounds like you need to install yad and make a system link to it called zenity.
The buttons you have that are working do not require it.
I have to agree that the monitor icon next to /etc/X11/xorg.conf when clicked on does kill system_info.
Thank you for that insight. I will check it out.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 13 Aug 2011, 00:37    Post_subject:  

First, I want to say that I did not write the original script and only made a few modifications to it. I evidently did not go far enough as the original maker of the script used the button to display some icons next to some of the text buttons.
When those icon buttons are clicked on, there is no action associated with them and either nothing will happen or the program will crash.
The solution is to copy the action from the text button to the area of the icon button right after the closing input tag.
For those of you that know a little about gtkdialog scripts, you will know what I am talking about.
But the creator of the script did not have the luxury of thunor's updated gtkdialog that lets one position icons.

If this is a really big problem, I can modify the script so that clicking on the icon does the same thing as clicking on the text button.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 13 Aug 2011, 02:18    Post_subject:
Sub_title: system_info.sh updated
 

The attached is a version of system_info2.sh and requires thunor's updated gtkdialog as well as zenity or yad with a system link to it called zenity.
The gtkdialog on my PC is thunor's gtkdialog renamed to gtkdialog3 and a system link to it called gtkdialog is made.
It uses some additions to gtkdialog and may not work with the original version that ships with Puppy.

The original script used some work arounds to place the icons for the buttons and that is why the icon buttons were separate from the text.
system_info2.tar.gz
Description  requires zenity or yad with system link to it called zenity and thunor's gtkdialog. The sensors button requires files from the PET in my first post.
gz

 Download 
Filename  system_info2.tar.gz 
Filesize  2.11 KB 
Downloaded  424 Time(s) 
Back to top
View user's profile Send_private_message 
Bruce_n_Duane

Joined: 01 Nov 2005
Posts: 68
Location: Washington State

PostPosted: Sun 14 Aug 2011, 17:42    Post_subject: modified 8/5/2011 version of system_info.sh  

Below is my modified version of system_info.sh
named: system_info.b1

Code:

#! /bin/bash
# System Info Program
#
#This program executes the following external applications:
#         zenity gtkdialog3 rxvt sensors hardinfo xdpyinfo glxinfo kdesu
#         top htop dmesg grep ifconfig iwconfig lspci uname fdisk blkid
#         mount df lsusb groups cat lsmod finduserinstalledpkgs.sh
#
# This utility was found at PCLinuxOS Magazine:
#           Link is http://pclosmag.com/html/issues/200910/page21.html
# Original written by musonio.
#
# Modified 08/05/2011 by 8-bit modified to work with Puppy Linux: Lupu 520
# Modified 08/06/2011 by Bruce added -version --help and bug fixes
# Modified 08/15/2011 by Bruce changed all zenity popup windows to have
#                        single "Close" button and have dialog seperator
#                        changed some zenity windows to be undecorated.
#                        added comments.
#
#--------------------------------------------------------------------------
PROGRAM=$0
ARGNUM=$#
ARGUMENTS="$*"
VERSION="1.0.2"
HELP="no help"

#  if single argument = --version then echo $VERSION and exit
if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--version" ]
   then  echo $0 "Version=" $VERSION
    exit 0
fi

#  if single argument = --help then echo $HELP and exit
if [ $ARGNUM -eq 1 ] && [ $ARGUMENTS = "--help" ]
   then  echo $0 "Help=" $HELP
    exit 0
fi

Encoding=UTF-8

FILE1=/etc/X11/xorg.conf
FILE2=/etc/fstab
FILE3=/mnt/home/boot/grub/menu.lst
FILE6=/etc/rc.d/rc.local
FILE8=/root/.bashrc
#FILE9=/root/.bashrc

export MAIN_DIALOG='
<window window_position="1" title="/usr/bin/system_info.sh">

<vbox>
  <hbox homogeneous="True">
    <frame>
    <hbox homogeneous="True">
      <hbox>
        <button>
          <input file>"/usr/share/midi-icons/console48.png"</input>
          <action>rxvt &</action>
        </button> 
      </hbox>

      <vbox homogeneous="True">
        <button>
          <label>TOP</label>
          <action>rxvt -e top &</action>
        </button>

        <button>
          <label>HTOP</label>
          <action>rxvt -e htop &</action>
        </button>
      </vbox>
    </hbox>
    </frame>

    <vbox>
      <frame Kernel messages>

        <button>
          <label>View messages</label>
          <action>dmesg | zenity --text-info --width=700 --height=500 --title $"View kernel messages" --button="Close:0" --dialog-sep &</action>
        </button>

        <entry><variable>VAR2</variable></entry>

        <hbox>
          <button>
            <label>search</label>
            <input file icon="gtk-find"></input>
            <action>dmesg | grep $VAR2 | zenity --text-info --width=700 --height=500 --title $"$VAR2 in kernel messages" --button="Close:0" --dialog-sep &</action>
          </button>

          <button>
            <label>search & save</label>
            <input file icon="gtk-find-and-replace"></input>
            <action>dmesg | grep $VAR2 > '$HOME'/dmesg_output_$VAR2.txt &</action>
            <action>'$HOME'/dmesg_output_$VAR2.txt</action>
          </button>
        </hbox>
        </frame>
      </vbox>
    </hbox>

    <frame Commands Information>
    <hbox>
      <text> <label>Command:</label> </text>
      <entry><variable>VAR1</variable></entry>
    </hbox>

    <hbox>
      <button>
        <label>Help</label>
        <action>$VAR1 --help | zenity --text-info --width=600 --height=600 --title $"Help" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

      <button>
        <label>Whereis</label>
        <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Whereis" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

      <button>
        <label>Which</label>
        <action>which $VAR1 | zenity --text-info --width=200 --height=200 --title $"Which" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

      <button>
        <label>Version</label>
        <action>$VAR1 --version | zenity --text-info --width=400 --height=200 --title $"Version" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

      <button>
        <label>Manual</label>
        <action>rxvt -e pman $VAR1 | zenity --text-info --width=400 --height=500 --title $"Manual" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

    </hbox>
    </frame>
    <hbox homogeneous="True">

    <frame>
      <vbox>
        <button>
          <input file icon="gtk-info"></input>
          <label>Sensors</label>
          <action>sensors | zenity --text-info --width=700 --height=500 --title $"Sensors" --button="Close:0" --undecorated --dialog-sep &</action>
        </button>

        <button>
          <input file icon="gtk-network"></input>
          <label>Ethernet Interfaces</label>
          <action>ifconfig | zenity --text-info --width=700 --height=500 --title $"View an ethernet network interface" --button="Close:0" --undecorated --dialog-sep &</action>
        </button>

        <button>
          <input file icon="gtk-network"></input>
          <label>Wireless Interfaces</label>
          <action>iwconfig | zenity --text-info --width=700 --height=500 --title $"Current wireless network interface" --button="Close:0" --undecorated --dialog-sep &</action>
        </button>

        <button>
          <input file>"/usr/share/midi-icons/word24.png"</input>
          <label>Bootkernel log</label>
          <action>zenity --title="Bootkernel Log" --text-info --width 500 --height 400 --filename='"/tmp/bootkernel.log"' --button="Close:0" --dialog-sep &</action>
        </button>

        <button>
          <input file>"/usr/share/midi-icons/utility24.png"</input>
          <label>Hardware information </label>
          <action>hardinfo &</action>
        </button>


        <button>
          <input file>"/usr/share/midi-icons/word24.png"</input>
          <label>PCI devices</label>
          <action>lspci | zenity --text-info --width=700 --height=500 --title $"PCI devices" --button="Close:0" --dialog-sep &</action>
        </button>
      </vbox>
    </frame>

    <frame>
      <vbox>
        <hbox>
          <pixmap>
            <input file>"/usr/share/midi-icons/pc24.png"</input>
          </pixmap>

          <menubar>
          <menu>
            <menuitem>
              <label>Running kernel</label>
              <action>uname -a | zenity --text-info --width=900 --height=20 --title $"Current running kernel" --button="Close:0" --dialog-sep &</action>
            </menuitem>


            <menuitem>
              <label>Show Path</label>
              <action>echo '$PATH' | zenity --text-info --width=900 --height=10 --title $"PATH" --button="Close:0" --undecorated --dialog-sep &</action>
            </menuitem>
          <label>System Information</label>
          </menu>
          </menubar>
        </hbox>

        <hbox>
          <pixmap>
            <input file>"/usr/share/midi-icons/puppy_menu_logo.png"</input>
          </pixmap>

          <menubar>
          <menu>
            <menuitem>
              <label>View Installed Applications</label>
           <action>/usr/local/petget/finduserinstalledpkgs.sh</action>
            <action>zenity --title="Installed Packages" --text-info --width 500 --height 400 --filename='"/tmp/installedpkgs.results"' --button="Close:0" --dialog-sep &</action>
            </menuitem>


          <label>Installed Applications</label>
          </menu>
          </menubar>
        </hbox>

        <hbox>
          <pixmap>
            <input file>"/usr/share/midi-icons/drives24.png"</input>
          </pixmap>

          <menubar>
          <menu>
            <menuitem>
              <label>Hard drive partitions</label>
              <action>kdesu "fdisk -l | zenity --text-info --width=700 --height=500 --title $"Hard drive partitions" --button="Close:0"  --dialog-sep " &</action>
            </menuitem>

            <menuitem>
              <label>Hard drive UUID</label>
              <action>blkid | zenity --text-info --width=700 --height=500 --title $"Hard Drive UUID" --button="Close:0" --dialog-sep &</action>
            </menuitem>

              <menuitem>
              <label>Current mount points</label>
              <action>mount | zenity --text-info --width=700 --height=500 --title $"Current mount points" --button="Close:0" --dialog-sep &</action>
            </menuitem>

            <menuitem>
              <label>Available disk space</label>
              <action>df -h | zenity --text-info --width=700 --height=500 --title $"Available disk space" --button="Close:0" --dialog-sep  &</action>
            </menuitem>

            <menuitem>
              <label>Connected USB devices</label>
              <action>lsusb | zenity --text-info --width=700 --height=500 --title $"Connected USB devices" --button="Close:0" --dialog-sep &</action>
            </menuitem>

          <label>Devices</label>
          </menu>
          </menubar>
        </hbox>

        <hbox>
          <pixmap>
            <input file>"/usr/share/midi-icons/console24.png"</input>
          </pixmap>

          <menubar>
          <menu>
            <menuitem>
              <label>X-Server information</label>
              <action>xdpyinfo | zenity --text-info --width=700 --height=500 --title $"Information about the X-server" --button="Close:0"  --dialog-sep &</action>
            </menuitem>

            <menuitem>
              <label>GLX/OpenGL Information</label>
              <action>glxinfo | zenity --text-info --width=700 --height=500 --title $"Information about glx and opengl" --button="Close:0"  --dialog-sep &</action>
            </menuitem>

          <label>X-Server</label>
          </menu>
          </menubar>
        </hbox>

        <hbox>
          <pixmap>
            <input file>"/usr/share/midi-icons/chat24.png"</input>
          </pixmap>

          <menubar>
          <menu>
            <menuitem>
              <label>Group memberships</label>
              <action>groups | zenity --text-info --width=700 --height=100 --title $"View group memberships" --button="Close:0" --dialog-sep &</action>
            </menuitem>

            <menuitem>
              <label>Groups</label>
              <action>cat /etc/group | zenity --text-info --width=700 --height=500 --title $"View Groups" --button="Close:0" --dialog-sep &</action>
            </menuitem>

          <label>Groups</label>
          </menu>
          </menubar>
        </hbox>

        <button>
          <label>Loaded modules</label>
          <action>lsmod | zenity --text-info --width=700 --height=500 --title $"View loaded modules" --button="Close:0" --dialog-sep &</action>
        </button>


      </vbox>
    </frame>
    </hbox>

    <hbox>
      <frame System Files>
        <hbox>
          <button><label>'"$FILE1"'</label><action>zenity --title='"$FILE1"' --text-info --width 500 --height 400 --filename='"$FILE1"' --button="Close:0" --dialog-sep &</action></button>
          <button><input file>"/usr/share/midi-icons/console24.png"</input></button>
        </hbox>

        <hbox>
          <button><label>'"$FILE2"'</label><action>zenity --title='"$FILE2"' --text-info --width 500 --height 400 --filename='"$FILE2"' --button="Close:0" --dialog-sep &</action></button>
          <button><input file>"/usr/share/midi-icons/word24.png"</input><action>kdesu "kate '"$FILE2"'" &</action></button>
        </hbox>

        <hbox>
          <button><label>'"$FILE3"'</label><action>zenity --title='"$FILE3"' --text-info --width 500 --height 400 --filename='"$FILE3"' --button="Close:0" --dialog-sep &</action></button>
          <button><input file>"/usr/share/midi-icons/word24.png"</input><action>kdesu "kate '"$FILE3"'" &</action></button>
        </hbox>

      </frame>

      <frame>

        <hbox>
          <button><label>'"$FILE6"'</label><action>zenity --title='"$FILE6"' --text-info --width 500 --height 400 --filename='"$FILE6"' --button="Close:0" --dialog-sep &</action></button>
          <button><input file>"/usr/share/midi-icons/word24.png"</input><action>kdesu "kate '"$FILE6"'" &</action></button>
        </hbox>


        <hbox>
          <button>
            <label>'"$FILE8"'</label>
            <action>zenity --title='"$FILE8"' --text-info --width 500 --height 400 --filename='"$FILE8"' --button="Close:0" --dialog-sep &</action>
          </button>

          <button>
            <input file>"/usr/share/midi-icons/home24.png"</input>
          </button>

        </hbox>
      </frame>
    </hbox>

    <frame>
    <hbox homogeneous="True">
      <button>
        <input file icon="gtk-info"></input>
        <action>zenity --title="/usr/bin/system_info.sh" --text="This utility was found at PCLinuxOS Magazine: \\n\\nand originally written by musonio.: \\n\\nI modified it somewhat to work with Puppy Linux: \\n\\n with Lupu 520 as my base.: \\n\\n  Feel free to use it or modify it as you wish. \\n\\nLink is http://pclosmag.com/html/issues/200910/page21.html \\n\\n8-bit" --button="Close:0" --undecorated --dialog-sep &</action>
      </button>

      <text use-markup="true"><label>"<span color='"'blue'"' font-family='"'purisa'"' weight='"'bold'"' size='"'large'"'><small>System Tools</small></span>"</label></text>

      <button>
   <input file icon="gtk-quit"></input>
        <action type="exit">exit 0</action>
      </button>
    </hbox>
    </frame>
  </vbox>
  </window>
  '

  gtkdialog3 --program=MAIN_DIALOG


-Bruce.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1616s ][ Queries: 12 (0.0043s) ][ GZIP on ]