The time now is Fri 13 Dec 2019, 02:48
All times are UTC - 4 |
Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15556 Location: Paradox Realm
|
Posted: Fri 12 Aug 2005, 01:03 Post subject:
|
|
Nice program Dan for us Chubby Puppians
It integrates OO right into the desktop
I am trying to understand how you have done this
using the Rox manual
/usr/local/apps/ROX-Filer/Help/Manual.html
and your own shell program which seems very clear
Code: | #!/bin/sh
# August 10, 2005 - Dan Van Wormer - Puppy Linux
# If they chose to create a new text document.
if [ "$1" = "-text" ]
then
exec /usr/OpenOffice.org1.1.4/program/swriter
exit
# If they chose to create a new spreadsheet.
elif [ "$1" = "-spreadsheet" ]
then
exec /usr/OpenOffice.org1.1.4/program/scalc
exit
# If they chose to create a new presentation.
elif [ "$1" = "-presentation" ]
then
exec /usr/OpenOffice.org1.1.4/program/simpress
exit
# If they chose to create a new drawing.
elif [ "$1" = "-drawing" ]
then
exec /usr/OpenOffice.org1.1.4/program/sdraw
exit
else
# Check to see if they clicked on the application or sent a file to be opened.
test -sd "$@"
if [ "$?" = "0" ]
then
# If they just clicked on the icon.
exec /usr/OpenOffice.org1.1.4/program/swriter
else
# If they sent something to open.
exec /usr/OpenOffice.org1.1.4/program/soffice "$@"
exit
fi
fi
fi
fi
fi |
There seems to be a .DirIcon or other program that is running somehow that I am missing.
Can you tell us a little about the program (perhaps in a seperate thread) and how it is created?
I will make a wiki news item as soon as posting this
_________________ Puppy on Raspberry Pi Release Candidate
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
dvw86

Joined: 04 May 2005 Posts: 636 Location: Washington State
|
Posted: Fri 12 Aug 2005, 01:32 Post subject:
|
|
Lobster wrote: |
Can you tell us a little about the program (perhaps in a seperate thread) and how it is created? |
The Rox help file does a pretty good job of explaining things. That's how I learned anyways. Basically there are three main files. The first "AppRun" is the main script file that does all the work. The second "AppInfo.xml" defines the items that show up when you right click the icon. The third ".DirIcon" is just a image that becomes the icon for the app. If you add the ".jpg" extension to the file name you will see the image.
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Mon 15 Aug 2005, 00:34 Post subject:
libsigc-2.0.so.0 |
|
libsigc-2.0.so.0
libsigc++ implements a typesafe callback system for standard C++
http://libsigc.sourceforge.net/
License: GPL
NOTE: requires libstdc++.so.6
Description |
libsigc-2.0.so.0
|

Download |
Filename |
libsigc.pup |
Filesize |
9.35 KB |
Downloaded |
3075 Time(s) |
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Mon 15 Aug 2005, 19:03 Post subject:
libssl.so.4 and libcrypto.so.4 |
|
libssl.so.4 and libcrypto.so.4
Description |
libssl.so.4 and libcrypto.so.4
|

Download |
Filename |
libssl4.pup |
Filesize |
544 Bytes |
Downloaded |
3599 Time(s) |
|
Back to top
|
|
 |
postfs1
Joined: 27 Mar 2010 Posts: 820
|
Posted: Mon 28 Nov 2011, 11:25 Post subject:
Xtris in "Quirky Linux 1.40" ! only script to install Subject description: the way to install the game |
|
Quote: | http://www.murga-linux.com/puppy/viewtopic.php?p=5202#5202
|
Quote: |
Install_Xtris--sr0.sh
Code: |
#!/bin/bash
#
cd /room ;
#
curl -C - -O file:///mnt/sr0/_Files/Xtris--Game/PET_files/dotpuphandler-0.0.4-2.pet ;
if [ ! `echo -e "3f372b2c89914903643f3d968c6702c3 dotpuphandler-0.0.4-2.pet" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh dotpuphandler-0.0.4-2.pet 2>/dev/null ;
sleep 0.5s ;
rm /room/dotpuphandler-0.0.4-2.pet ;
rm /room/.md-5.sm ;
#pet1
curl -C - -O file:///mnt/sr0/_Files/Xtris--Game/PET_files/puppybasic-2.5b.pet ;
if [ ! `echo -e "eea7de2ddb882d1400fcd6cd72bda594 puppybasic-2.5b.pet" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh puppybasic-2.5b.pet 2>/dev/null ;
sleep 0.5s ;
rm /room/puppybasic-2.5b.pet ;
rm /room/.md-5.sm ;
#pet2
curl -C - -O file:///mnt/sr0/_Files/Xtris--Game/PUP_files/xtris.pup ;
if [ ! `echo -e "61222172a25acc3c107c2e384dd1f2a0 xtris.pup" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rox /room/xtris.pup ; xmessage "-=xtris.pup=- has been installed. `xmessage "Wait please. There will be 3 pop-ups."`" ;
sleep 0.5s ;
rm /room/xtris.pup ;
rm /room/.md-5.sm ;
#pup1
#
echo '[Desktop Entry]' > /usr/share/applications/Xtris.desktop ;
echo 'Name=Xtris' >> /usr/share/applications/Xtris.desktop ;
echo 'Comment=Xtris' >> /usr/share/applications/Xtris.desktop ;
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/games24.png' >> /usr/share/applications/Xtris.desktop ;
echo 'Exec=rox /root/my-roxapps/xtris' >> /usr/share/applications/Xtris.desktop ;
echo 'Terminal=false' >> /usr/share/applications/Xtris.desktop ;
echo 'Type=Application' >> /usr/share/applications/Xtris.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/Xtris.desktop ;
echo 'Categories=Game;' >> /usr/share/applications/Xtris.desktop ;
#
fixmenus ;
xmessage "-=Xtris=- has been installed." `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;
|
Edit: 2011, nov 28.
|
A script's content can be copied into text editor by means of <Quote> mode.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|