494 reputation
310
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years, 3 months
seen 2 days ago

Long time Linux user (currently kubuntu). Use Windows 98, and 7 when I have to. Programmed in many languages, currently using bash and awk for most things. Learning Python.

Have one project on sourceforge:

Duplex printing emulator for non-duplex printers (Linux)


May
16
comment Automatically printing images with added captions
That doesn't help me with my current task, but it's lovely as a quick viewer in a directory. I'm not sure how I would use the saved arguments from history though.
May
14
comment Automatically printing images with added captions
Never saw that one before (as usual!). It's kind of awkward to use, but it does work without any scripting. I can tell it to generate an index print jpeg with file name captions and then print that. It has a lot of options, so it may take awhile to figure out the best ones. My distro had an old version. The new one was easy to compile and install. Thanks for answering such an old question!
May
6
comment How can force my screen to unblank?
No idea, but I assume you've gone into your power management setup and turned off the scenarios that turn the screen off after a period of time of inactivity to save power.
Mar
9
comment Quoting within $(command substitution) in Bash
Yes. What are we going to do with those "other people"? <G>
Mar
8
comment Quoting within $(command substitution) in Bash
This is a good question, but given all the issues with embedded blanks, why would you make life hard on yourself by using them on purpose?
Feb
3
comment How to access Win7 on a dual boot machine?
You might want to consider trying grub-customizer. It's a gui app that does most of this for you. grub2 is a bit harder to hand edit than grub was. It constructs a bunch of entries on the fly when you configure it. launchpad.net/~danielrichter2007/+archive/grub-customizer
Jan
20
comment What are the legitimate uses of the `touch` command?
+1 for all the stuff I learned from reading all the answers.
Jan
20
comment What are the legitimate uses of the `touch` command?
1) If I see touch in a script, I don't have to think about shell redirection, etc.. It expresses intent more clearly IMHO. 2) touch only updates the time stamp if a file already exists. This could be used as a quick way to record an event time while leaving the contents of the file available for other uses.
Dec
20
comment Root access that can't change root password?
How did you do that cool reference to a comment? I looked at the source for your answer and saw () surrounding it. Cool secret hat!
Dec
3
comment Redirect output from all commands to file, not just last
Thanks. I have not seen that before. I think it will be very useful.
Nov
30
comment Redirect output from all commands to file, not just last
Could someone elaborate on this solution? I can see what it's doing, but I don't understand 'exec' in this context. Also, it looks like something you have to turn off again if the rest of your script needs normal stdout.
Nov
30
comment find and remove duplicates in a directory
Why can't you use external tools like fdupes? @terdon 's answer is amazing, but it really highlights why using a good tool is the way to go if possible. If it's some kind of dedicated hardware or server, you may still be able to access it over a network, etc. from a machine that does have tools like fdupes available.
Nov
28
comment GConf equivalent for KDE
The display manager itself is kdm, but that doesn't help you talk to it. Although this doesn't address your question directly, you may want to check out kstart. It's very hard to find good documentation on it, Basically, it allows you to start an application like you would do normally, but also tell KDE what to do with it such as where and how large it's window should be and on what virtual desktop. It might satisfy a few of your needs.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
That works, but I'll have to learn Inkscape before I can use it effectively. So far, I got a 20% size increase without blowing everything outside of the print margins and that improved it up to barely readable - a big improvement.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
@Patrick I just tried that, but I have no idea what to tell it. I tried convert in.pdf -resize 300x300^ out.pdf , but it just totally blurred everything.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
@jthill I know I've done that in the past, but I can't figure out how to load/import it into LibreOffice at the moment. I think there used to be a Sun extension for that.
Nov
27
comment Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display
Wow! Something that might actually work. I'll try it and then get back here. I've spent a few minutes with Inkscape, but I really don't know much about it yet.
Nov
26
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
kscreen totally rocks! Thank you. Now I just have to get used to or fix everything else that ppa updated. I went into System Settings->Multimedia->Audio And Video Settings and moved Built-in Audio Digital Stereo (HDMI) above Built-In Audio Analog Stereo, but no audio switching occurs when I plug/unplug my HDMI cable. What else am I missing?
Nov
26
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
Holy moley! That ppa got me 347 updates! I don't know why I didn't have it installed before. And, that's before installing kscreen. Now if it would just switch the sound (phonon) to and from HDMI as well ... I'll get back here once the upgrade is done and I can test kscreen.
Oct
27
comment How to get multiple lines out of a file by a regex?
I'm no whiz with sed, but it has a modifier N which adds a newline to the pattern space and then appends the next line of input to the pattern space. I think this will also allow you to search for things across more than one line. It's documented in info sed.