Jump to content

Cannonfodder

Members
  • Posts

    2898
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Cannonfodder

  1. Here's what I did to get xmatrix going

     

    I have the standard xscreensaver installed by Mandrake 9.1.

     

    1. Downloaded xscreensaver tar.gz from http://www.jwz.org/xscreensaver/ and uncompressed. Cd to that directory.

     

    2. Did a ./configure.

     

    3. Did a make. This step craps out on me. I haven't figured it out yet (duplicate message definitions), so I figured, why not just copy the xmatrix files to my existing xscreensaver.

     

    4. cp ./hacks/xmatrix /usr/X11R6/lib/xscreensaver/xmatrix

     

    This is the executable..

     

    5. cp ./hacks/config/xmatrix.xml /usr/share/control-center/screensavers/xmatrix.xml

     

    6. The man page is located at ./hacks/xmatrix.man. Converted this to a bz2 file with

     

    bzip2 -z xmatrix.man

     

    This gave me xmatrix.man.bz2 (removing xmatrix.man)

     

    Then..

     

    cp xmatrix.man.bz2 /usr/X11R6/man/man1/xmatrix.1x.bz2

     

    7. As my regular user, ran xscreensaver-command -exit

     

    8. Ran xscreensaver-demo and restarted the server.

  2. Finally got xmatrix running in xscreensaver. I ended up downloading the latest xscreensaver and extracting the xmatrix files to the correct locations. Basically I just added xmatrix to the existing xscreensaver running on my computer. I did try compiling the latest but it would crap on make with errors having to do with "duplicate message definitions"...

  3. Have you tried linux cfdisk or fdisk? Also, are you working with the latest Mandrake updates? They made a bunch of updates to low level system stuff including drake packages..

     

    Ok, just read your original message again.. something about dma timeout..

     

    Try doing a google search on the terms

     

    linux mandrake "dma timeout"

     

    There's lot so stuff. Some hints to trying to swap your drives around, making sure your bios is updated, so on.. might be a motherboard issue.

     

    Also, try booting off of CD1, hit F1, type rescue. Can you mount the fat partition? Go to console and

     

    mount -t vfat /dev/hdb /mnt

  4. Somehow I can't get myself to use anything other than this ultra-cool Matrix screensaver (when I actually run a screensaver)...... werd up!

     

    How did you get the matrix screensaver? I haven't been so lucky :(

  5. It's funny, when I'm in Europe where everyone smokes, I know I just have to deal with it. But when I'm at home, I hate it. Weirdly enough, they are passing a law to ban smoking in public places period. And now a bunch of polititions are trying to amend the law to allow smoking in bars and what not. The old argument, no smoking in bars will kill business is bullshit. People who like to party will party smoking or not. Drinking is what they are really after :)

  6. Try getting a boot floppy from www.bootdisk.com. Get a dos boot floppy and set your bios to boot to the second drive or unconnect your first drive so it defaults to the second. Then see if you can see C:

     

    Eventually you will need to get fdisk and clear the partition table. Ranish partition manager might do the job too..

  7. I had the same problem when I tried to run it initially. I ended up uninstalling it and then installing from the webmin site with a tar.gz. That includes a setup program and all worked like a charm..

  8. Here's a potential fix published by a fellow on alt.opera.linux (Helmar Wieland)

     

    How i solved the small fonts problem:

     

    * Traditionally X assumes that your monitor has 75dpi.

    * Windows standard, and thus most monitors follow it, is 96dpi.

    * Find out your settings with: "xdpyinfo|grep dots"

    * If your settings are around 75x75, XFree 4.x offers a nice

      way to correct this:

    * Add (or change) the following entry in "/etc/X11/XF86Config-4",

      Section Monitor: "DisplaySize 365 272"

    * The values are your physical screen size in millimeters (xxx 

    yyy), the

      above are for my 19inch monitor.

    * Save and restart X.

    * If you want you can check the new dpi setting of X

      ("xdpyinfo|grep dots")

     

    Since i added this option my fonts look perfect.

     

    Helmar++

  9. Hmmm, I can try some things like swapping the usb ports to see if its a difference... I can try messing with the kernel usb modules. I think there are a few different ones I can try.. Have to check my old 8.2 errata page for that fix :)

  10. Ok, my scanner problems continue. Regardless of whether I use xsane or kooka, it looks like this..

     

    scanner.jpg

     

    Anyone have an idea why? See the blue streaking? If I do this in Adobe PhotoDeluxe, its a clean image.. :( My GOD! I'm trying to avoid windows!

  11. This is probably the longest script I've ever written. It's purpose is to generate a thumbnail directory for each directory in a tree. So if I call it with a parameter

     

    /dev/photos

     

    It will check each directory and

     

    1. If a prior thumbnail directory is present, it is deleted. directory name is /thumbs.

     

    2. Make sure all jpg files in the directory have the same extension JPG, JPEG and jpeg all get renamed to jpg.

     

    3. Check to make sure there is a jpg file to thumbnail and then generates thumbnails using imagemagick.

     

    As it stands, it works and does everything I need. My purpose for posting this is to run it by the experts. I'm fairly new to scripting in linux so I am wondering how it can be improved.

     

    What are the obvious things I'm missing? Using the tree command for example? Was that a good idea? Having to check for the thumbs directory so it won't be processed was a surprise. Apparently the tree command is re-run each loop.

     

    Checking for a jpg file was a deal for me too. Doing a

    [ -f $i/*.jpg ] would generate an error if a *.jpg file was preseent. Apparently the command only works for specific instances. Or do I have that wrong? :)

     

    Here's the code..

     

    #!/bin/bash
    
    # Loop through directories and
    
    # 1. Check for thumbs folder, delete if found
    
    # 2. run thumb command if jpg files found
    
    echo Start directory is `pwd`
    
    myTree=$(tree -dfin --noreport $1)
    
    
    
    for i in $myTree; do
    
    isThumb=$(basename $i)
    
    
    
    if [ ! "${isThumb}" = "thumbs" ]
    
    then
    
       renameJPG=0
    
       renameJPEG=0
    
       renamejpeg=0
    
    
    
       # check for thumbs directory. Remove if found
    
    
    
       if [ -d $i/thumbs ]
    
       then
    
         echo removing $i/thumbs
    
         rm -fR $i/thumbs
    
       fi
    
    
    
       # check all files in directory for possible renames
    
       for x in $i/*
    
       do
    
    
    
         case "${x##*.}" in
    
         JPG)
    
             renameJPG=1
    
            ;;
    
         JPEG)
    
             renameJPEG=1
    
            ;;
    
         jpeg)
    
             renamejpeg=1
    
            ;;
    
         esac
    
    
    
       done
    
    
    
       # do renames
    
       [ $renameJPG -eq 1 ] && rename JPG jpg $i/*.JPG
    
       [ $renameJPEG -eq 1 ] && rename JPEG jpg $i/*.JPEG
    
       [ $renamejpeg -eq 1 ] && rename jpeg jpg $i/*.jpeg
    
    
    
       # check to see if we now have any .jpg files
    
       hasjpg=0
    
    
    
       for x in $i/*
    
       do
    
    
    
         case "${x##*.}" in
    
         jpg)
    
             hasjpg=1
    
            ;;
    
         esac
    
    
    
       done
    
    
    
       # make thumbnails of all jpg files. Results will be .jpeg files
    
       thisDir=`pwd`
    
    
    
       if [ $hasjpg -eq 1 ]
    
       then
    
         echo "processing $i"
    
         cd $i
    
         mogrify -format jpeg -geometry '100x100' -quality '50%' *.jpg
    
    
    
         # copy all thumbnails to thumbs directory
    
         mkdir thumbs
    
         cd thumbs
    
         mv ../*.jpeg .
    
         rename jpeg jpg *.jpeg
    
         cd $thisDir
    
       fi
    
    
    
     fi
    
    
    
    done

  12. Also one other thing, not related to this thread, I have Mplayer installed along with the usual libdvdread, libdvdcss etc and can watch dvd's ok but whenever I try to install an Ogle rpm, any Ogle rpm, I get the error message that Ogle needs libdvdcss and the install aborts. As I say, libdvdcss is installed cos mplayer can see it and also it's reported if I type locate libdvd in a shell. Another strange one  :? 

     

    Thanks for replying

     

    BTW, its probably better to start your own thread even if your problem is related to someone else's problem, call it by ear :)

     

    Ogle doesn't work on my system either. I've been meaning to install it manually by downloading it and compiling it.. probably missing some library that it needs. Read the ogle page and make sure you have everything installed..

  13. When I installed 9.1 I wanted to get rid of the Windows partition so I selected the 'use entire drive' option but was suprised when I was only offered hda. I went along with this anyway and recreated the partitions above' date=' however when I finally booted into 9.1 hdb was nowhere to be found, not even in MCC under mount points.

    [/quote

     

    Daveleh, you should of selected custom partitioning. This would have allowed you to "clear" the entire drive if you wanted to or setup/select where each linux partition woudl go. Otherwise, you are asking a piece of software to read your mind and figure out your issue..

     

    So I tried the install again, this time choosing the 'use existing partitions' option and this time both hda and hdb were identified. I chose hda and selected all the partitions for reformatting and then carried on with the install. Now once it had finished I could see both drives as normal, unfortunately when I went to copy back the files from /data/backup not only could I not find /data/backup but I couldn.t find any data on the drive at all. As far as I could tell the entire drive was empty.

     

    First confirm that your /data partition still exists. Open a console, su to root, and type diskdrake and look at your second drive.

     

    Next, attempt to manually mount your /data partition

     

    mount -t auto /dev/hdb /mnt/data

     

    I'm not sure of the file system which is why I said -t auto. if it is a fat32, then use -t vfat or ext2 or ext3 based on what it is.

     

    Remember that if a mount is not successful, then the folder is still there but is simply left empty. If the mount works, then the partition is attached to the folder and will show the files/folders on the partition from that point on.

     

    Eventually, you will need to edit your /etc/fstab file and check the entry for the /data partition. Is it correct and the correct mount point and file system type?

  14. Have you updated your uprpmi sources?

     

    urpmi.update -a;rpmdrake

     

    Also, what sources are you using? You can copy the contents of the file /etc/urpmi/urpmi.cfg here to answer that question..

×
×
  • Create New...