Jump to content

Steve Scrimpshire

OTW
  • Posts

    3587
  • Joined

  • Last visited

Posts posted by Steve Scrimpshire

  1. In ark, after you click 'New' it is just asking you to continue with an already existing archive or create a new one. Just give it a name, then on the new window that pops up, click 'Add file' or 'Add directory' icon.

  2. I have a collection of images that are from my camera taken on a recent trip. Is there a command-line way (using ImageMagick perhaps)

    that i can force these images to be say 3.5" x 5" and then lay them out 3 to a 8.5" x 11" page for printing? Top two rotated to vertical orientation and next one horizontal below them.

  3. 'Hopelessly dated'? How about 'stable'?

     

    One would think that since this is a Mandriva help board, one would expect Mandriva users to be posting here.

    One would also expect that trying to assist a fellow Linux user would not be cause for another to ridicule one's choice of distro.

  4. Not to be a stick in the mud, but I don't see it:

    < root ~ > urpmq -y xastir
    no package named xastir
    < root ~ > urpmq -y Xastir
    no package named Xastir
    < root ~ > urpmq --list-url 
    Main1 ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586//media/main
    debug_main1 ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586//media/debug_main
    Contrib1 ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586//media/contrib
    debug_contrib1 ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/i586//media/debug_contrib
    plf-free http://ftp.club-internet.fr/pub/linux/plf/mandrake/free/cooker/i586
    plf-nonfree http://ftp.club-internet.fr/pub/linux/plf/mandrake/non-free/cooker/i586

  5. I would love to test it out for you, but I get this error:

     

    checking for wireless-tools >= 28pre9... no
    configure: error: wireless-tools >= 28pre9 not installed or not functional
    < root /home/omar/Download/NetworkManager-0.6.2 > rpm -qa | grep wireless
    wireless-tools-28-1.pre15.1mdk
    wireless-tools-debug-28-1.pre15.1mdk

     

    Trying to install a different wireless-tools from source gives me more errors.

  6. Even with this command,it reports my images as 400x300, when they are actually 800x600:

     

    < root /home/omar/natchez-copy > montage -verbose -label '%f\n%wx%h' -size 256x256 '*.JPG[360x270]' -strip -tile 5x -frame 5 -shadow -geometry 120x90+5+5! index.html

     

    This command:

     

    montage -verbose -label '%f\n%wx%h' -size 256x256 '*.JPG[120x90]' -strip -tile 5x -frame 5 -shadow -geometry 120x90+5+5! index.html

     

    shows my images as 200x150. Is there no way I can limit the amount of the image it reads in to lower CPU usage and still get an accurate image size?

  7. Still can't find the solution.

     

    Update:

     

    Running with the verbose switch I see this:

    < root /home/omar/natchez-copy > montage -verbose -label '%f\n%wx%h' -size 256x256 '*.JPG' -

    strip -tile 5x -frame 5 -shadow -geometry 120x90+5+5 index.html

    DSC00097.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00098.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00099.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00100.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00101.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 2e+02kb

    DSC00102.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00103.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00104.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00106.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00107.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00108.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00109.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 3e+02kb

    DSC00110.JPG JPEG 800x600=>400x300 400x300+0+0 DirectClass 2e+02kb

    <snip>

     

    Why is it doing this?

  8. I had browsed several mirrors that gave me errors and most of them were almost completely empty. Going with LiquidZoo's mirror, everything is cool, except for now, plf is broken and I have read a fix,but have not had the time to fix it.

     

    Basically, this problem is solved. Thanks, guys.

  9. Put all the files in one directory and run this command

     

    find . -name "*%%20*" -exec sh -c 'mv ${0} "${0//\%\%20/ }"' {} \;

     

    P.S. I don't have this problem with wget:

    < omar ~/rename/wget > wget "http://semperphi.com/res test"
    --22:55:07--  [url=http://semperphi.com/res%20test]http://semperphi.com/res%20test[/url]
    	   => `res test'
    Resolving semperphi.com... 66.98.142.2
    Connecting to semperphi.com|66.98.142.2|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 0 [text/plain]
    
    [ <=>								 ] 0			 --.--K/s			 
    
    22:55:07 (0.00 B/s) - `res test' saved [0/0]
    
    < omar ~/rename/wget > ls
    res test

  10. < root /home/omar > rpm -qa | grep ImageMagick
    ImageMagick-6.2.6.4-4mdk

     

    When I do a label for a montage image map, it shows the width and height of my images to be 400x300 (they did, at first, anyway...now they are showing the label as 200x150):

    < root /home/omar/natchez-trace > montage -label '%f\n%wx%h' -size 256x256 '*.JPG[120x90]' -strip -tile 5x -frame 5 -shadow -geometry 120x90+5+5 index.html

     

    When they are, in actuality, 800x600:

    < root /home/omar/natchez-trace > identify -format %wx%h DSC00100.JPG

    800x600

     

    Example: http://semperphi.com/natchez/

     

    What on earth am i doing wrong?

  11. A .1% decrease in memory and a 1.0% increase in cpu usage? Sounds pointless to me.

     

    Here's mine:

    swiftfox
    
    
     PID USER	  PR  NI  VIRT  RES  SHR S %CPU %MEM	TIME+  COMMAND		   
    4376 omar	  15   0  2276 1076  892 S  0.0  0.2   0:00.00 firefox			
    4379 omar	  19   0  2824 1368  888 S  0.0  0.3   0:00.00 run-mozilla.sh	 
    4384 omar	  15   0 91256  33m  16m S  0.0  7.1   0:04.26 firefox-bin		
    
    
    -------------------------------------------------------------------------
    
    firefox
    
     PID USER	  PR  NI  VIRT  RES  SHR S %CPU %MEM	TIME+  COMMAND		   
    4269 omar	  15   0  2788 1348  904 S  0.0  0.3   0:00.00 mozilla-firefox	
    4274 omar	  23   0  2816 1364  888 S  0.0  0.3   0:00.00 run-mozilla.sh	 
    4279 omar	  15   0 89080  38m  16m S  0.0  8.2   0:04.42 mozilla-firefox	
    
    -----------------------------------------------------------------------------
    
    swiftfox
    
     PID USER	  PR  NI  VIRT  RES  SHR S %CPU %MEM	TIME+  COMMAND		   
    4492 omar	  18   0  2272 1076  892 S  0.0  0.2   0:00.00 firefox			
    4495 omar	  18   0  2820 1368  888 S  0.0  0.3   0:00.00 run-mozilla.sh	 
    4500 omar	  16   0 83008  33m  16m S  0.0  7.2   0:03.50 firefox-bin		
    --------------------------------------------------------------------------------
    firefox
    
    
     PID USER	  PR  NI  VIRT  RES  SHR S %CPU %MEM	TIME+  COMMAND		   
    4582 omar	  15   0  2788 1348  904 S  0.0  0.3   0:00.00 mozilla-firefox	
    4587 omar	  24   0  2820 1364  888 S  0.0  0.3   0:00.00 run-mozilla.sh	 
    4592 omar	  16   0  112m  39m  16m S  0.0  8.4   0:06.47 mozilla-firefox

     

    1.2% on my 512MB system. 6.144 MB....not worth the hassle in my opinion.

  12. I keep trying to update urpmi and getting errors for hdlists not being found.

     

    main ftp://ftp.belnet.be/linux/mandrake/devel/cooker/i586/media/main {
     hdlist: hdlist.main.cz
     key-ids: 26752624
     with_hdlist: media_info/hdlist.cz
    }
    
    contrib ftp://ftp.belnet.be/linux/mandrake/devel/cooker/i586/media/contrib {
     hdlist: hdlist.contrib.cz
     key-ids: 26752624
     with_hdlist: media_info/hdlist.cz
    }
    
    jpackage ftp://ftp.belnet.be/linux/mandrake/devel/cooker/i586/media/jpackage {
     hdlist: hdlist.jpackage.cz
     key-ids: c431416d
     with_hdlist: media_info/hdlist.cz
    }
    
    plf-free http://ftp.club-internet.fr/pub/linux/plf/mandrake/free/cooker {
     hdlist: hdlist.plf-free.cz
     key-ids: caba22ae
     list: list.plf-free
     with_hdlist: hdlist.cz
    }
    
    plf-nonfree http://ftp.club-internet.fr/pub/linux/plf/mandrake/non-free/cooker {
     hdlist: hdlist.plf-nonfree.cz
     key-ids: caba22ae
     list: list.plf-nonfree
     with_hdlist: hdlist.cz
    }

     

    Are all the Cooker mirrors broken?

  13. Slax is a superb liveCD... you can customize it by just adding premade modules to the ISO image, and tune it the way you like. It doesn't get easier than that, IMO.

     

    For a newbie, I would say that adding premade modules to an ISO might be quite a step. :D

    For the record, I think MandrakeMove was an excellent choice, considering that is what this user was familiar with. For the more experienced, I still prefer Knoppix for older hardware and Kanotix for state of the art hardware.

  14. Try this. Open a console and type this command:

     

    xset r rate 500 35

     

    (that's what my repeat rate is set to and seems to work fine)

    The first number is the delay and the second number is the repeat rate. The delay is the number of milliseconds before autorepeat starts, and the rate is the number of repeats per second.

     

    If this works, you will have to put that command in a script somewhere to be run after X is started. If you tell me what desktop environment you are using, I can tell you how to initiate a script for the command, if this works.

  15. Everything's cool.

    To help you understand a little better, when urpmi or rpm runs, it checks for the existence of this hidden file. If it doesn't exist, it creates it, then runs. Right before the process exits, it deletes this file. This allows the rpm process to make sure that nothing is accessing any files or the rpm database that it is trying to alter. Sometimes, when the process dies badly (exits abnormally), it doesn't have time to delete this file, so it always thinks afterwards that the database is locked until you delete this file manually. You will rarely have to do this, so if you get the error again, before you manually delete this file, just make sure there are no rpm processes running.

    You can check in a console, as root:

     

    ps ax | grep rpm

     

    If you see an rpm process there, kill it like this:

     

    kill -s 9 PID

     

    (replacing 'PID' with the actual process id number you see from the first command (it's the first number you see on the left next to the process).

    Be careful that you really didn't already have urpmi running on purpose, because killing it in the middle of doing its job can (rarely) cause serious issues.

×
×
  • Create New...