494 reputation
311
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years, 3 months
seen Dec 17 at 5:16

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)


Jul
18
comment Is it possible to define a command in bash?
Not an expert at this, but shouldn't something like this (hopefully, something more useful) be put in /usr/local/bin?
Jun
14
comment How is file owner and group remembered for an external drive?
+1 for the chmod technique I hadn't thought of - in addition to being correct otherwise.
Jun
1
comment “tree” command output with “pure” (7-bit) ASCII output
Thanks for the question. I needed this so I could pipe the output of tree into enscript to get contol of the print formatting (using dprint/dprintm from my duplexpr package sourceforge.net/projects/duplexpr/.)
May
25
comment An alternative to `xdotool type`
Since you were using xdotool, you are in a gui, but it would help to know what distro and desktop environments you are using.
May
24
comment Why does selecting text only “copy” it (as in copy and paste) circumstantially?
Not an answer, but using Ctrl-C and Ctrl-V will do as a workaround in many situations (except in a terminal like konsole where Ctrl-Shift-C and Ctrl-Shift-V are used.)
May
16
comment Is it OK to use “.” to run files instead of source - in .bashrc in Ubuntu and OS X?
Although this answer explains why using . is usually "better" than using source, as @abonet says, source is a lot easier to search for. Since periods are punctuation in many languages, it's easy for the eye to just skip over them. That's why I prefer to use source.
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.