Page 13 of 13

Posted: Fri 12 Aug 2005, 05:03
by Lobster
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: Select all

#!/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

Posted: Fri 12 Aug 2005, 05:32
by dvw86
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.

libsigc-2.0.so.0

Posted: Mon 15 Aug 2005, 04:34
by GuestToo
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

libssl.so.4 and libcrypto.so.4

Posted: Mon 15 Aug 2005, 23:03
by GuestToo
libssl.so.4 and libcrypto.so.4

Xtris in "Quirky Linux 1.40" ! only script to install

Posted: Mon 28 Nov 2011, 15:25
by postfs1
Install_Xtris--sr0.sh

Code: Select all

#!/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.