Jump to content

Steve Scrimpshire

OTW
  • Posts

    3587
  • Joined

  • Last visited

Posts posted by Steve Scrimpshire

  1. According to this, it looks like this device is supported by SANE (for scanning). You need to install a front-end package along with libsane. I would suggest Xsane and/or Gimp for scanning.

     

    As for printing in color, you really shouldn't have a problem with it. It should print in color by default, but I would check the configuration (or buttons) of the printer itself.

  2. Possibly...it could be your use of double quotes instead of single quotes, using the = instead of -eq, etc.

     

    Sorry, I forgot to look yesterday. Not sure you need the "" around the "$(wmctrl...". I think the case problem and the = sign did the trick...you might, though. What we really should do is grep -i gnumeric which makes the grep case-insensitive, in case they change it. Then I think you're good. Let me know if you do need the "" around "$(wmctrl..." and let me know if you need double instead of single quotes and all that. I guess my bash is rusty.

  3. Ack. It's not the same command any more. You can copy this text to a file:

     

    #!/usr/bin/perl -w
    # rename - Larry's filename fixer
    $op = shift or die "Usage: rename expr [files]\n";
    chomp(@ARGV = <STDIN>) unless @ARGV;
    for (@ARGV) {
    $was = $_;
    eval $op;
    die $@ if $@;
    rename($was,$_) unless $was eq $_;
    }

     

    And name it rename.pl, put it in your /usr/bin directory and chmod +x /usr/bin/rename.pl

    Then you can do:

    rename.pl 's/[0-9]+-//g' *

  4. There aren't a lot of examples, but I found one:

    http://tips.webdesign10.com/how-to-bulk-re...in-the-terminal

     

    Remove all underscores:

    rename -v 's/_/ /g' *.JPG

     

     

    Remove the numbers (and the dash):

    01-test_rename_a

    02-test_rename_b

    03-test_rename_c

     

    rename -v 's/[0-9]+-//g' *

     

    If you want to remove the test_ part, too:

     

    rename -v 's/[0-9]+-test_//g' *

     

    I've been studying regexes for years and I still have a very limited understanding of them:

    http://www.cs.tut.fi/~jkorpela/perl/regexp.html

  5. mandri,

     

    That's pretty close to being exactly correct. The * is telling it to do this for all files in the directory. The "%%20" is the string to replace and " " is what to replace it with. " " is not exactly nothing, though. It's a space. The command is renaming all files that contain %%20, by using what they're named already, but replacing %%20 with a space.

     

    like%%20this

     

    becomes

     

    like this

     

    and%%20like%%20this

     

    becomes

     

    and like this

  6. I voted Mix of Mandriva and non-Mandriva systems even though, at the moment, the only Linux I have installed is Mandriva on my desktop and I dual-boot Windows XP (work and school) and Mandriva. I go back and forth between Ubuntu, Knoppix, Kanotix and Mandriva, but you probably have an 80% chance of catching me with just Mandriva and XP installed.

  7. I would like to see tyme in a dress.

     

    No, for real...I know there's an HCL, but it would be nice if we had a user-contributable list of specific hardware and whether or not it works with Linux and what they had to do to get it to work with whatever distro.

  8. I don't know if you remember what a hard time we had getting this board started Steve. There was so much controversy and people were angry and thought we were being disloyal to Tom. It was only after the old board went away that some people came over but some people left for other places. It's always difficult getting something off the ground. All we can do is do our best and hope for the best.

     

    Who was angry? :P

  9. I like the concept, but you will probably run into the same problems tyme did. He didn't have regular enough contributors, which you must have at the beginning to attract more people to contribute, which keeps the fuel burning to attract more contributors until it is self-supporting.

     

    I attempted to contribute as much as I could to tyme's Geeklog, but I had some personal issues that needed my attention and he/we only had two or three other contributors that also were not that easily available (I miss LZ :sad: ).

×
×
  • Create New...