Jump to content

qnr

Members
  • Posts

    477
  • Joined

  • Last visited

Posts posted by qnr

  1. This is what my CPU looks like, it has 1.5G PC 2100 DDR RAM. It's an MSI KT4 Ultra (VIA Apollo KT400).

    CPU     
    
    processor	0  
    
    vendor_id	AuthenticAMD  
    
    cpufamily   6  
    
    model     8  
    
    modelname	AMD Athlon(tm) XP 2600+  
    
    stepping     1  
    
    cpuMHz    2131.528  
    
    cachesize	256 KB  
    
    fdiv_bug  no  
    
    hlt_bug 	 no  
    
    f00f_bug  no  
    
    coma_bug  no  
    
    fpu       yes  
    
    fpu_exception	yes  
    
    cpuidlevel  1  
    
    wp        yes  
    
    flags     fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow  
    
    bogomips  4246.73  
    
    
    
    Memory    
    
        total      used      free       shared	buffers	cached
    
    Mem:	1587941376	178872320	1409069056	0      7393280	78733312
    
    Swap:  2006958080	0         2006958080

     

    It took me a while to get my BIOS settings right too, but this is what I use:

     

     

    [*] Spread Spectrum >> Disabled

     

    [*] CPU FSB Clock >> 170MHz

     

    [*] CPU Ratio >> x12.5/x13.0

     

    [*] Everything else is auto

     

    so, 170 x 13.0 = something in the range of 2.2GHz

    170 x 12.5 = something in the range of 2.1GHz

     

    From dmesg:

    Initializing CPU#0
    
    Detected 2131.528 MHz processor.
    
    Console: colour VGA+ 80x25
    
    Calibrating delay loop... 4246.73 BogoMIPS
    
    Memory: 1032280k/1048512k available (2091k kernel code, 15844k reserved, 550k data, 328k init, 131008k highmem)
    
    
    
    ..... CPU clock speed is 2131.5849 MHz.
    
    ..... host bus clock speed is 341.0534 MHz.

  2. and from another direction:

     

    You can create a boot floppy with just enough info to boot with mkbootdisk

     

    so, for exzample: # mkbootdisk 2.4.21

     

    I use yard, so I don't have mkbootdisk installed - but I think it is standard with Mandrake

     

    --- since we typed at the same time. It's there in the Install - I guess you probably have to select "Expert" to get it.

  3. terry@timestorm: /home/terry

    10:53:01 $ gaze what pysol

    pysol:

     

    PySol is an exciting collection of Solitaire card games. Its features

    include support for lots of distinct games, very nice look and feel,

    multiple cardsets and table tiles, sound and background music, unlimited

    undo & redo, load & save games, player statistics and log files, hint

    system, demo games, support for user written plug-ins, integrated HTML

    help browser and lots of documentation.

     

    Among the supported games are classics like Aces Up, Baker's Game, Canfield,

    FreeCell, Forty Thieves, Golf, Klondike, Pyramid, Scorpion, Spider, Yukon,

    and many more...

     

    PySol is written in 100% pure Python.

     

    In a terminal, su, it should be there and will install after asking for the appropriate CD.

     

    P.S.: don't let that "gaze what" confuse you, I'm using another distro. You'd use urpmf pysol, if I remember correctly.

  4. I agree, replace is a perfectly good way of doing it, except that mp3s might have twenty or thirty spaces (%20) in them. As far as writing the script, xaff just had to copy and paste it :) then, with the script, you just modify:

     

    n=`echo $fname | sed -e "s/ /_/g"` # Substitute underscore for blank.

     

    to replace whatever strings you want.

     

    Or get more ambitious, and add 2 args so you can specify what to replace anytime you run it. Then save it in your path and chmod +x it, go to the directory where the files are and run it.

  5. you could also modify this script I use to rename "Some file or other" to "Some_file_or_other" - should be pretty easy to see what's going on and how to change it:

     

    #!/bin/bash
    
    # blank-rename.sh
    
    #
    
    # Substitutes underscores for blanks in all the filenames in a directory.
    
    
    
    ONE=1                           # For getting singular/plural right (see below)
    
    number=0                        # Keeps track of how many files actually renamed.
    
    FOUND=0                         # Successful return value.
    
    
    
    for filename in *               # Traverse all files in directory
    
    do
    
           echo "$filename" | grep -q " "                  #  Check whether filename
    
           if [ $? -eq $FOUND ]                            #+ contains space(s).
    
           then
    
             fname=$filename                               #  Strip off path.
    
             n=`echo $fname | sed -e "s/ /_/g"`            #  Substitute underscore for blank.
    
             mv "$fname" "$n"                              #  Do the actual renaming.
    
             let "number += 1"
    
           fi
    
    done
    
    
    
    if [ "$number" -eq "$ONE" ]                             #  For correct grammar.
    
    then
    
     echo "$number file renamed."
    
    else
    
     echo "$number files renamed."
    
    fi
    
    
    
    exit 0

  6. As to what binutils is:

     

    terry@timestorm: /home/terry
    
    21:05:40 $ gaze what binutils
    
    binutils:
    
    binutils - Collection of binary utilities
    
    ld
    
    -the GNU linker
    
    as
    
    -the portable GNU assembler
    
    ar
    
    -creates, modifies, and extracts from archives
    
    nm
    
    -lists symbols from object files
    
    objcopy
    
    -copies and translates object files
    
    objdump
    
    -displays information from object files
    
    ranlib
    
    -indexes the contents of an archive
    
    size
    
    -lists the section sizes of an object or archive file
    
    strings
    
    -lists printable strings from files
    
    strip
    
    -discards symbols
    
    c++filt
    
    -filter to demangle encoded C++ symbols
    
    addr2line
    
    -converts addresses to file and line
    
    nlmconv
    
    -converts object code into an NLM
    
     

  7. You should probably start a new thread on this, as it will get lost in the middle of this one. Although I don't use either at the moment, I've always found Gnome to be slower than KDE, which appears to go against what most users of this board experience. However, I can't think of any reason it would be "Tremendously slow" in relation to your experiences with KDE. The last time I experienced something like that was when I was using a 100MHz PII, and there was a significant difference (still, that was with much older versions of Gnome and KDE too, in addition to the processor).

  8. If you want a midnight commander style file browser in KDE (or any Window Manager/Desktop Environment, if you have the KDE libs installed) you might want to install krusader.

     

    I do about 30% of my work in virtual consoles, without X. In X, I jump around between different window managers, but primarily use Fluxbox. I don't even have the Gnome or KDE libs installed - but if I did, I'd be able to run most Gnome or KDE applications, utilities, or applets from most of the other window managers.

     

    Now, I don't need Evolution, I have mutt, or squirralmail, or sylpheed-claws or other MUAs (mail clients). I don't need Konqueror or Nautilus, I have Mozilla, Firebird, Opera, Lynx, W3, Links-Twibright, Dillo, Worker, Rox, emelFM, dfm, Endeavor Mark-2, midnight commander, FOX Pathfinder, and so on. Don't need KOffice, I can use SIAG Office, for example, or I can do without a suite and just use individual apps.

     

    Here's a place where you can look over other Window Manager/Desktop Environment options:

     

    Window Managers for X

  9. I feel so dumb!  I haven't figured out how to do a thing myself yet in Linux!  :(  On that note, how do I switch so that my machine starts with Gnome?

     

    Well, first, we've seen in this and other threads that you've figured some stuff out on your own, and second, you've found out how to use resources :) that's something.

  10. Not offhand. However, it shouldn't be that difficult to write a script to read the ID3 tags in mp3 files and randomly play the appropriate ones. I don't use xmms, so I really don't know anything about its plugins.

     

    It's not hard to read, here's an example (just from my temporary mp3 holding area):

     

    terry@timestorm: /home/terry/mp3

    10:18:33 $ grep -i rock *

    Binary file 08-Ten_Years_After_-_As_The_Sun_Still_Burns_Away.mp3 matches

    Binary file 09_-_Ten_Years_After_-_I'm_Going_Home.mp3 matches

    Binary file Chris1_Isaak_-_San_Francisco_Days.mp3 matches

    Binary file Crosby, Stills & Nash - CSN, 07-Dark Star.mp3 matches

    Binary file Elton_John-_Daniel_My_Brother.mp3 matches

    Binary file Musicals_-_Hair_-_Let_The_Sunshine_In.mp3 matches

    Binary file Ozzy_Osbourne_-_Dreamer_(The_Osbournes_Remix_-_128_kbps).mp3 matches

    Binary file Ten_Years_After_-_I'd_Love_To_Change_The_World.mp3.01 matches

  11. Ok, I'll give a little demo here:

     

    First, I'll add the user "rob":

    root@timestorm:/home/terry# adduser rob
    
    Enter new UNIX password: 
    
    Retype new UNIX password:

     

    Next, I'll add terry (myself) to the rob group, ensuring that I include all the groups I'm already a member of, or I'll be taken out of them:

    root@timestorm:/home/terry# usermod -G video,exim,lp,sys,audio,rob terry

     

    Next, I'll ensure that members of group rob can write to /home/rob (normally, only the owner can):

    root@timestorm:/home/terry# chmod g+w /home/rob/

     

    OK, now I'll drop back to terry, and attempt to write a file to /home/rob, before I do the newgrp:

    root@timestorm:/home/terry# exit
    
    exit
    
    terry@timestorm: /home/terry
    
    15:47:19 $ touch /home/rob/testing.txt
    
    touch: creating `/home/rob/testing.txt': Permission denied

     

    OK, that didn't work, I'll switch to rob (note that I don't give a password, since I'm a member of the rob group):

    terry@timestorm: /home/terry
    
    15:47:34 $ newgrp - rob
    
    terry@timestorm: /home/terry
    
    15:54:21 $ touch /home/rob/testing.txt

     

    Well, that seemed to have worked. No errors... let's check and see:

    terry@timestorm: /home/terry
    
    15:54:36 $ ls -l /home/rob/
    
    total 0
    
    -rw-r--r--    1 terry    rob             0 Jul  4 15:54 testing.txt

     

    Yup! It worked. Now, to get back to the terry group:

    terry@timestorm: /home/terry
    
    16:06:38 $ exit
    
    You have new mail in /var/spool/mail/terry
    
    terry@timestorm: /home/terry
    
    16:06:39 $

     

    Now, in the future, all I have to do is $ newgrp - rob

    whenever I want to write something to /home/rob

     

    Note that this will also allow you to copy files from terry (wrc1944) to rob, since earlier, the permissions were changed on /home/rob to allow group members to write files, and after the newgrp, you'll will be wrc1944:rob so you'll have access to both directories.

  12. All actions performed by a user are performed under one user ID and group ID. So, even if wrc1944 belongs to the group rob, wrc1944 can only act as a member of one group at a time. So, if you need to create files that belong to the group rob, you'll need to assume that ID (although you can also change the ownership after the fact with chown is symbolically linked to newgroup). You'd switch to rob with:

    $ newgrp - rob

    after you've done that and written a file to the /user/home/rob, a long listing will look like this:

    -rw-r--r--    1 wrc1944    rob        2376 Jun 27 18:25 some_file.txt

     

    You probably shouldn't use passwords with newgrp, as it doesn't work correctly in some distros, like RH

     

     

    Note that you only need to use the newgrp is better, overall.

  13. I don't use Gnome or KDE, so I'm just guessing here. Fortune is used by a number of the xscreensaver modules (and for random signatures for mail or news clients). If the Gnome control panel controls xscreensaver (or Gnome variants) and was installed while you had fortune support, maybe it has to be reinstalled/reconfigured when you remove fortune. Just a thought though, and it sounds like a pretty inefficient way of doing things.

  14. Yeah. The profiles can be a pain. I'm playing around with the process now. I just started last night, because of comments ezroller made. It has annoyed me in the past, but not sufficiently for me to try to change it. I can open a particular page, or a blank page, but I haven't tried to get it to to open an arg yet.

     

    Here is basically what you can use, it's all in one line, you'll probably want to do a bash script up for it or something:

    if `mozilla -remote "ping()"`; then mozilla -remote "xfeDoCommand(openBrowser)"; else mozilla; fi

    That's a ` enclosing mozilla -remote "ping()"

     

    if you wanted to have it open up a particular page, i.e., Google, you could replace "xfeDoCommand(openBrowser)" (you could also replace the current page by just putting in the URL (no new-window), or open a new tab with new-tab

×
×
  • Create New...