Quirky fixes
May 01, 2010 —
BarryK
There were some absolute symlinks that cause trouble when building the live-CD in Woof, for example /usr/lib/xorg is a symlink to /usr/X11R7/lib/xorg. I have changed these to relative, in the 'zzt2_fixup_hack' PET package.
I have added a menu entry (in Setup menu) for the 'nvidia-settings' GUI setup tool, in my full Nvidia PET package.
Comments
What about ATI cards?Username: bigpup
Anything about ATI drivers?"1 May 2010, 12:23"01553"98.91.3.82'Re ATI"BarryK"The Xorg drivers are there, the latest, they should work. Username: 1 May 2010, 13:35
"01553"114.129.167.148'ATI-settings GUI setup tool"bigpup"What about an ATI-settings GUI setup tool? ATI cards have settings too!"1 May 2010, 21:05"01553"74.178.27.52'syminks"aarf"the problem that i have detailed in the [url=http://www.murga-linux.com/puppy/viewtopic.php?p=414801&sid=1fed2d161a89b9058c170c0a51f19012#414801]q21 bug reports occurs with both absolute and relative symlinks"2 May 2010, 4:06"01553"110.49.20.60'partview speedup"technosaurus"http://www.murga-linux.com/puppy/viewtopic.php?p=415135 I have posted a modification to the partview script that generates xpm images using ash/bash instead of gif images using ppmrough... ppmtogif I have my unmodified generic version of the genhbar (& genvbar) functions that will generate similar images of varying sizes and colors based on input for batter monitor etc... Here's the full code for genhbar [code]#!/bin/ash FILENAME=barimage FGCOLOR=\#000 BGCOLOR=None PERCENT=50 WIDTH=100 HEIGHT=24 BARSTRING="" q=0 #should have used for loops y=0 #not while loops - oops #get values from input for x in $@; do case $x in width*) WIDTH=`echo $x |cut -d = -f 2` ;; height*) HEIGHT=`echo $x |cut -d = -f 2` ;; fgcolor*) FGCOLOR=`echo $x |cut -d = -f 2` [ "$FGCOLOR" != "None" ] && FGCOLOR=\#$FGCOLOR ;; bgcolor*) BGCOLOR=`echo $x |cut -d = -f 2` [ "$BGCOLOR" != "None" ] && BGCOLOR=\#$BGCOLOR ;; name*) FILENAME=`echo $x |cut -d = -f 2` ;; *%) PERCENT=`echo $x |cut -d % -f 1` ;; *) echo "usage "$0" XX% name=filename fgcolor=XXX bgcolor=XXX height=XXX width=XXX colors can be 3 or 6 digit hexadecimal or None" && exit ;; esac done #write header to file echo '/* XPM */' >${FILENAME}.xpm echo 'static char *'$FILENAME'_xpm[] = {' >>${FILENAME}.xpm echo '"'$WIDTH $HEIGHT '2 1",' >>${FILENAME}.xpm echo '"0 c '$BGCOLOR'",' >>${FILENAME}.xpm echo '"1 c '$FGCOLOR'",' >>${FILENAME}.xpm #generate one line of the image BARMAX=$(($WIDTH*$PERCENT/100)) while [ "$q" -lt $BARMAX ]; do q=$(($q + 1)) BARSTRING=${BARSTRING}1 done while [ "$q" -le $WIDTH ]; do BARSTRING=${BARSTRING}0 q=$(($q + 1)) done #write a line for each pixel of height while [ "$y" -le $HEIGHT ]; do echo '"'$BARSTRING'"' >>${FILENAME}.xpm y=$(($y + 1)) done echo '};' >>${FILENAME}.xpm #defaultimageeditor ${FILENAME}.xpm[/code]"3 May 2010, 6:30"01553"96.13.123.113'Re Partview"BarryK"The latest Quirky has a Partview created by Ecube, which is a Perl script and has some other way of creating a bar graph. That's great what you've done, on-the-fly xpm bar graph, useful for future consideration. Username: 3 May 2010, 8:35
"01553"114.129.167.148'
Tags: quirky