Pversionum-1.4

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

Pversionum-1.4

#1 Post by Wolf Pup »

Pversionum displays Puppy Linux Version.

pversionum-1.4.pet
md5sum
Attachments
puppy_version_number2.jpg
Pversionum display version
(8.36 KiB) Downloaded 471 times
Last edited by Wolf Pup on Wed 04 Feb 2009, 02:09, edited 10 times in total.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

Easier solution

#2 Post by vovchik »

Dear Wolf Pup,

There is no need to write any files to /tmp. Just do the following (and it provides more info):

Code: Select all

#!/bin/sh
#
# This script calls pupver to show the puppy version 
# in a GTK2 window
# It invokes gxmessage to display the results.

# --------------- Initialize variables
title="OS version"
pupver=`cat /etc/issue`

# ------------------ Display results

gxmessage -bg "#FFFFDD" -wrap -center -title "$title" "$pupver" &

exit 0
With kind regards,
vovchik

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#3 Post by Wolf Pup »

Updated Pversionum to 1.2

Thanks vovchik for the improved script. :)
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#4 Post by vovchik »

Dear Wolf Pup,

Your version now does both things ... kernel and pupver, which is better than mine. We could actually use this little thing to show some sysinfo. What do you think? And, incidentally, all those lovely paudioscripts could be GUIfied, if you (and, maybe, me) are up to it. Any thoughts?

With kind regards,
vovchik

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#5 Post by Lobster »

from the command line
/usr/bin/pupversionNUM

but is not added to the menu in Dingo Beta2 ?
very useful to have kernel version :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#6 Post by Wolf Pup »

Updated Pversionum to 1.3
Fixed the script looking odd in dingo.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#7 Post by Wolf Pup »

Updated Pversionum to 1.4
Checks to see if /etc/puppyversion exists.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

Post Reply