Search found 128 matches

by linuph
Thu 25 Jul 2013, 15:20
Forum: Users ( For the regulars )
Topic: GtkDialog1-1.3 configure error: can't find gdk_pixbuf_config
Replies: 0
Views: 482

GtkDialog1-1.3 configure error: can't find gdk_pixbuf_config

./configure can't find gdk_pixbuf_config The only conf file I see is usr/lib/gdk_pixbuf_xlibConf.sh. I'm trying to install GtkDialog on an XBOX with XDSL (DSL 4.4, Linux 2.4.31, gtk/gdk/gdk-x11 2.10.9). Can someone hint how to solve this? Note: XDSL comes standard with gtk/gdk 1.2 and after a standa...
by linuph
Tue 19 Feb 2013, 15:24
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

I believe that $(....) is preferred in stead of back ticks `....`. Am I correct?
by linuph
Tue 19 Feb 2013, 11:50
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

These scripts have a name (not shown here). So, if you type the script name in a terminal it will output to screen.

To save the output as a variable, follow L18L's suggestion. If you want to see that variable, you have to type 'echo <variable name>' in a terminal.
by linuph
Tue 19 Feb 2013, 06:41
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

Nice and good programming exercise! Seaside, no output, but without eval it works: #!/bin/sh xwininfo -root | while read LINE; do case $LINE in Width*) echo ${LINE/: /=};; Height*) echo ${LINE/: /=};; esac; done real user sys 0.037s 0.010s 0.007s technosaurus's awk : real user sys 0.036s 0.007s 0.00...
by linuph
Fri 15 Feb 2013, 14:22
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

Icon programming. I've been digging lately to find a graphics programming language without bloating dependencies. I think I found one: Icon. You may never have heard of it. See here: http://www.cs.arizona.edu/icon/index.htm It's ancient in software/computer terms (1998). The earliest mention of it t...
by linuph
Sun 03 Feb 2013, 05:52
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Hi greengeek, thanks for looking up Puppies with RTkernel. I will to try out either of them as soon as I have stabilized my program. These Puppies are anyway very interesting if I ever pick up again on a neglected hobby: composing electronic music. I have some synthesizers, keyboards and other midi ...
by linuph
Sat 02 Feb 2013, 08:31
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Mmm...I didn't know that there is such a thing as a 'RealTime kernel', let alone a Puppy with that. Which Puppy would that be?
by linuph
Sat 02 Feb 2013, 05:28
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Thanks for the tip! It started me thinking. I apologize for the somewhat lengthy post below but it helped me my thoughts organized. Please bear with me. I indeed think that counting the amount of GPS sentences with invalid or no information is a way to detect an error. However, error checking outsid...
by linuph
Fri 01 Feb 2013, 13:09
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Thanks, technosaurus.

I'm woking on improving the awk parsing routine. One of the problems is handling errors when the GPS data stream is killed or interrupted. I'll find a way...

I do believe that svg and gtk/C are the way to go. I will pick up on that soon. Your input is very valuable.
by linuph
Tue 29 Jan 2013, 01:56
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Yes, the process can be done entirely in Python. However, I stay away from it because such Python applications generally require large libraries. That doesn't do well on my old laptop with limited resources. It's a hobby and challenge to do things off the beaten paths of Python, Java, Ruby, Lua, Mat...
by linuph
Sun 27 Jan 2013, 07:43
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

It's streamed packages, sort of. Every second a comma separated string is sent. In each string are headers like $GPGGA or $GPRMC or $GPGSA (and more, depends on the GPS module). After the header follows particular data, ending with a \n. So, yes, you have to separate the packages from the stream and...
by linuph
Sun 27 Jan 2013, 02:44
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Yes, dzen2 does what I need but in some respects it's a bit cumbersome in the way I use it. And yes, I'm looking for something that is simpeler, programming wise. In the mean time I looked into Cairo and Pango. A dedicated application can be written with it, but I quickly got lost in C programming :...
by linuph
Sat 26 Jan 2013, 03:47
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Seaside, thanks. The image you see is dedicated and fully "handmade". There's no window manager involved. I did look into a tiled wm (like i3, I posted about that) but I found that it doesn't fit to my purpose. There's a substantial difference in what my program and applications like Conky...
by linuph
Fri 25 Jan 2013, 06:26
Forum: Programming
Topic: Looking for a simple, fast routine to display text, images
Replies: 22
Views: 7120

Looking for a simple, fast routine to display text, images

Attached a snapshot of a car GPS program that I'm working on. It runs on an old laptop with Dpup Exprimo 5.X.3.6 installed. The program is a Bash (sh) script that makes extensive use of awk to read and process GPS text strings. Update of most of the white text and the GPS quality indicators (mode, s...
by linuph
Mon 14 Jan 2013, 10:56
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

Seaside, thanks!
by linuph
Sat 12 Jan 2013, 15:02
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

@technosaurus A bit off topic... I have mutilated your original C script just to enable a windowless svg image. I don't need a watch (inotify) or anything else, except that it is there in the background until my program decides to kill it. I run it from BASH with 'runbgrpic3' (after compilation) and...
by linuph
Fri 04 Jan 2013, 01:12
Forum: Puppy Derivatives
Topic: dzen2 - use of fonts
Replies: 8
Views: 4754

@SFR
Yes, compiles without problems.

@Keef
I do use a script. Since I call dzen2 from within an awk command, variable substitution is not as straightforward.

Thanks!
by linuph
Thu 03 Jan 2013, 16:15
Forum: Puppy Derivatives
Topic: dzen2 - use of fonts
Replies: 8
Views: 4754

I found a solution to use 'DejaVu Sans' in stead of 'fixed' font. Well, sort of. It's a coincidence on the one hand and a classic 'escape' issue with awk on the other. This program line now works: #awk .....{ print x | "dzen2 -fn \"-*-DejaVu Sans-*-r-*-*-22-*-*-*-*-*-*\" -bg black -fg...
by linuph
Thu 03 Jan 2013, 11:05
Forum: Puppy Derivatives
Topic: dzen2 - use of fonts
Replies: 8
Views: 4754

dzen2 - use of fonts

Using Dpup Exprimo 5.X.3.4.12 dzen is a configurable, flexible utility to show text on screen or even menu's. I can't choose other fonts than 'fixed' in dzen2, though fc-list and xfontsel show fonts like courier, dejavu sans, nimbus etc. I have not been able to find a solution. There's Archlinux inf...
by linuph
Tue 25 Dec 2012, 00:39
Forum: Programming
Topic: simple game framework for scripting languages
Replies: 63
Views: 31253

Thanks Keef. Being not quoted was the problem. I had a thorough misunderstanding of how the svgame program works. Solved.