maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] The tramps treasure NOW with a .deb (https://talk.maemo.org/showthread.php?t=88415)

king Ralphred 2012-12-28 02:42

[Announce] The tramps treasure NOW with a .deb
 
1 Attachment(s)
Go to third post!

The tramps treasure is a little python script that gives you ml of alcohol per unit of currency. Essential for anyone wanting to spend their last fiver wisely. I've only just started looking at coding so it has to run in terminal.

I have it running on the n900 but you have to unzip the file and put it the right folder /home/user. I used filebox.

In xterm.
python trampstreasure.py

Feedback would be welcome, especialy advice on where to start putting a gui together

king Ralphred 2013-01-07 01:48

Re: [Announce] The tramps treasure
 
The best one so far is Devils Bit cider from Tipperary which comes in at 30 ml per euro. Can any one beat that?

king Ralphred 2013-02-27 12:31

Re: [Announce] The tramps treasure NOW with an icon.
 
1 Attachment(s)
I have attached 3 files. The python script, a .desktop script and an icon.

Place the "tt" file in /usr/bin/
Place the "ttx.desktop" file in /usr/share/applications/hildon/
Place the "beer,png" file in /usr/share/icons/hicolor/295x295/hildon/

I'm not sure if you need the chmod command so if someone could let me know if this works, that would be just splendid.

I tried to look into packaging a .deb but it made my brain hurt.

king Ralphred 2013-02-27 14:07

Re: [Announce] The tramps treasure NOW with a .deb
 
1 Attachment(s)
Many thanks to thedead1440 for putting a .deb together for me. It works a treat.

Save to /home/user/MyDocs

In Xterm-

dpkg -i /home/user/MyDocs/trampstreasure_0.0.1_all.deb

If you want, you can replace the "tt" file in /usr/bin/ with the one from the zip file in the 3rd post. The output is a bit tidier is all

biketool 2013-09-01 19:08

Re: [Announce] The tramps treasure NOW with a .deb
 
Ah yes, definitely coded in Ireland.

king Ralphred 2015-09-20 11:09

Re: [Announce] The tramps treasure NOW with a .deb
 
And now a basic version for Android using app inventor.

https://play.google.com/store/apps/d...ramps_treasure


All times are GMT. The time now is 08:39.

vBulletin® Version 3.8.8