Jump to content

kde-head

Members
  • Posts

    191
  • Joined

  • Last visited

Posts posted by kde-head

  1. Requirements: ImageMagick

    (urpmi imagemagick should install it for you)

     

    If you have a directory of large jpg images that you want to mass thumbnail down to say , 120 pixel wide thumbs, just issue to the following command from the konsole:

     

    ls -1 *.jpg | sed "s/\(.*\)\.jpg/\1.jpg \1_thumb.jpg/" |xargs -n 2 convert -resize 120 -quality 100 -compress JPEG

     

     

     

    This creates 120 pixel wide thumbs of your images , all with the extension "_thumb.jpg"

  2. You probably already know that if you want to grep your messages log for messages on a certain date, you would cd to /var/log and do

    grep "Mar 17" messages

     

     

    But say you wanted to automate this, maybe looking for specific message types everyday (which could be either mailed to you or outputted to a report)?

     

    Enter command substitution:

     

    grep "$(date +"%b %d")" /var/log/messages

     

    the bit between the quotes executes the date command and returns the date in the format "Mar 17" say - this is then passed into the grep.

  3. Note: if you dont have nano, but you have URPMI set up , issueing

     

    urpmi nano

     

    should install it.

     

    Now edit your system wide bashrc file (i'm assuming that you use bash as your default shell)

     

    nano /etc/bashrc

     

     

    Add the following lines:

     

    EDITOR=nano

    export EDITOR

     

     

    now type (as root)

     

    crontab -e

     

    Nano should open up, with your root crontab file.

  4. successfully installed the nvidia drivers , booted into KDE just fine.

     

    same problem occurs as before when i start Enemy Territory - screen changes res to 800x600, screen goes blank and then KDE restarts itself.

     

    hmmmm..... i do have texstar KDE 3.1.4 rpms installed. wonder if its anything to do with that.

  5. my glxinfo output says "direct rendering:no"

     

    but isn't that what i should expect , as the 3d rendering should be done by my nvidia card , rather than software rendering?

     

    and if i need to set it to "yes" , what tool do i use to configure my opengl setup, as you suggest?

     

    interestingly enough, i came across this article on getting nvidia 3d hardware acceleration going on mandrake 9.1

    nvidia 3d hardware accelaration on mandrake 9.1

  6. downloaded Castle Wolfenstein: Enemy Territory, but it refuses to start on my Mandrake 9.1 system. It initially blanks out my KDE and then KDE comes back in roughly 800x600 mode.

     

    I've got an NVidia GeForce4 MX 420.

    I downloaded the mesa-demos package to check if my 3d accelaration was working -and the demo binaries all displayed fine. No problems.

     

    Has anyone else managed to get Enemy Terriritory working on Mandrake 9.1?

  7. I use Mandrake exclusively on my desktops. I really like the whole "urpmi" and cooker thing. I've not tried SuSe yet , but then main reason for that is that you never see a full Suse version on the front cover DVD of a Linux magazine - in comparson Mandrake appear to get everywhere in the UK computer magazines, not just Linux oriented ones.

     

    I've played with Xandros 2.0 , but i really didn't like it - it wasn't my cup of tea.

     

    At work i use Mandrake 9.1 on the desktop , with the 2.6 kernel - and the boxes i administer are mixture of Debian & Redhat.

     

    I've got an instance of Win98 on a dual boot machine at home , but that's only for gaming.

  8. no wonder you are confused - the INSTALL file in that bz2 file is the height of unfriendliness. It's a definitive example in how NOT to do documentation....

     

    > more INSTALL

    "With GNU/Linux see doc-linux/Speedtouch-HOWTO-[en-fr].[txt-html]

    With *BSD see doc-bsd/INSTALL"

     

    errr. that's it - thats the INSTALL file. incredible isnt it?

     

    the file you downloaded is the source code for the speedtouch drivers, so you'll need to compile it by doing this:

    ./configure

    make

    make install

     

    but you shouldnt need to do any of that - i'm pretty certain that the Mandrake CD actually comes with the mgmt.o file you are after - i recall coming across a speedtouch directory in mandrake.

     

    i did a lookup of "speedtouch" on rpmfind.net, and sure enough - i get 8 mandrake hits. it's definitely an rpm with the mandrake distro.

     

    So, you should be able to do this from the konsole (as root):

     

    urpmi speedtouch

     

    this should prompt you for a mandrake cd - stick the cd in and you're done. you should have the speedtouch drivers installed.

  9. " On my workstation I /sbin/mount.smbfs the share (since only root can mount!!)."

     

    that's strange - i can mount windows shares using my own non-root account via LinNeighbourhood.

     

    And the mount points appear in my home/mnt folder

     

    /home/kde-head/mnt/WINDOWS-PC/myshare_on_windows

  10. not sure if mandrake can do clustering , but you might want to google on the beowulf linux clustering project.

     

    There's also an xbox clustering project kicking about , which is currently being developed.

  11. have you tried doing this in the konsole?

     

    urpmi wine

     

     

    i was going to say do a google for "easy urpmi" , but it appears that the easy urpmi site is down (anyone know of any mirrors for that site - it's darn useful...)

  12. my extreme apologies.

     

    i'm a duffus.

     

    earlier in the thread i'm inferred that ATI had better Linux support than Nvidia. I got the two mixed up.

     

    Nvidia has the better track record - doing a google for "ati linux support" reveals a petition to get a certain ATI card supported. Whilst doing a "nvidia linux support" reveals a ton of info on Nvidia linux drivers and stories about Nvidia's full support for Linux.

     

     

    Nvidia steps up linux support

    :wall::wall::wall:

     

     

    but i'm still confused about this - which one releases the drivers as open source? I'm sure I heard it was ATI - but maybe Nvidia are faster with releasing closed source Linux drivers? Maybe thats where I got confused.

  13. to be fair, mandrake 10 IS a beta, so its to be expected that it will fail to boot on some systems.

     

    noticed that you have an nvidia card - here's a rule of thumb to use in future - dont EVER install a linux beta distro on a system with an nvidia card. ATI have been far more collaborative with Linux than Nvidia has , and usually ATI cards have no problems in beta distros.

     

    My advice is to swap out that Nvidia and get yourself an ATI.

  14. "so much work to do, and so little time, and I cant even start because stupid linux isnt workin!"

     

    linux is NOT easy to get into - if you want that, get a Mac.

     

    but if you want to actually explore and understand Unix, and make your braincells work a bit, then Linux is for you. It's getting way easier than what it used to be.

     

    Just remember that in the days of Slackware 1.0 , way back in the mid 90s, you had to compile your entire kernel first with a c compiler.

     

    Nowadays you stick a CD in , press a few buttons and it installs. Now considering that there isnt a multi-billion dollar company behind Linux, i find that rate of progess pretty amazing and utterly astounding.

  15. yes - you can - use urpmi - you can either urpmi software from the CDs , or you can do it over the internet.

     

    Easy URPMI

     

    do a google on "urpmi".

     

    you could also try looking for the Package Installation menu option in KDE or maybe try "rpmdrake" from the KDE run menu option.

     

    Then again, i'm on 9.1 and i installed 9.2 on a test box and i didnt like it - there was a heck of lot of stuff NOT added to the KDE menu. It sucked.

     

    9.1 is far better - if you have a copy,install it.

  16. during the mandrake install there's a software install screen. You need to delve deeper into that and start selecting the particular software packages you want installed.

    It's quite possible that you just accepted the higher level defaults.

     

    Re-run the install again and watch out for the software selection screen - spend some time on that, explore it and start selecting the stuff you want.

     

    if you have another computer available, use it to find out WHAT the software is (maybe via google).

     

    once installed , check out URPMI - just google for it. And then do a google for "Easy URPMI".

     

    urpmi is your friend when it comes to software installation and updating your mdk.

     

    have fun!

    :D

  17. i noticed that you never used CPAN in order to add modules to your perl install.

     

    try this from Konsole:

     

    perl -MCPAN -e shell

     

    at the prompt do (for example):

    install Time::Parsedate

     

    This will install the Time::Parsedate module - it will be downloaded ,compiled and put into your perl library. Easy peasy.

     

    The CPAN network is awesome, in that , you've just downloaded some perl app, and it complains about a module not being loaded.

     

    just use CPAN and your problems are solved.

  18. hopefully the admin people are watching this-but it might be a good idea to make certain threads "sticky" - or put the contents of certain threads in a big FAQ. that would be very useful - i'm noticing that same kind of questions are being posted again and again.

     

    just my 2 euros.

×
×
  • Create New...