site  contact  subhomenews

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.


What about ATI cards?
Username: bigpup
Anything about ATI drivers?"1 May 2010, 12:23"01553"'Re ATI"BarryK"The Xorg drivers are there, the latest, they should work. Username: 1 May 2010, 13:35
"01553"'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"'syminks"aarf"the problem that i have detailed in the [url=]q21 bug reports occurs with both absolute and relative symlinks"2 May 2010, 4:06"01553"'partview speedup"technosaurus" 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"'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

Tags: quirky