If you're interested in another way to grab the X cut buffer check out sselp:
<http://www.suckless.org/programs/sselp.html> You could probably craft something that ran this in a loop and watched for url-ish strings and then did the rest of what's described in this thread without depending on any gnome/kde stuff. -Deke On Wed, 13 Aug 2008, Wade Curry wrote: > Legatus([EMAIL PROTECTED])@Wed, Aug 13, 2008 at 01:28:04AM -0500: > > On Tue, Aug 12, 2008 at 16:57, Ralph Shumaker <[EMAIL PROTECTED]> wrote: > > > <snip> > > > > > > I've been trying to think of how I might be able to do something like that > > > in linux. wget is just as tenacious as File Hound for files whose > > > download > > > keeps breaking. I think there's a way to tell wget not to bother fetching > > > duplicates. What I'm not sure about is how to get wget to run like a > > > daemon, and listen for copied links. Any ideas? > > > > > > Sure seems a lot of over thinking is going on in this thread. KDE has kget > > in the kdenetwork package, and there is gwget for gnome at > > http://www.gnome.org/projects/gwget/. They both handle scenarios like this. > > Nice little gui apps that run in your notification area. > > I don't usually give this topic *any* thought.. I just abuse FF's > tabs :-) > > The solutions given do seem to overlook existing kde and gnome > tools, though. I tend to see that in a positive light, though. > Writing a small script that listens to a pipe and does what I want > is much more likely to fit my requirements. It actually seems to > me that Gnome and KDE tools are often the ones that are > over-thought and over-wrought. The environments and dependencies > certainly are. > > As time passes, increasing numbers of Windows "refugees" are > starting to use, and write programs for Linux. My own perception > is that they tend to focus on GUI desktop apps. Unfortunately, > their only frame of reference is too often the MS paradigm. They > want to write a "killer app" that does all kinds of things. Even > when they write small ones, they often ignore the conventions that > make Unix/Linux an excellent environment. > > Gnome in particular has bothered me in this way for quite a while. > I tried to start gnumeric from the command line with a filename > argument (quite a while ago now), but it threw away the argument. > No error, no file opened in the spreadsheet, no manpage to explain > how to call it... This isn't the end of life, of course, but it > *does* rub me the wrong way. I do use Gnome or KDE apps when I > need to. I just find that when apps are written "the unix way" > they make my system more flexible so I can do what I want, the > *way* I want. > > I may just be jaded, but I have a strong suspicion that kdenetwork > and gwget introduce a lot of complexity, but wouldn't really make > the environment work /my/ way. Can they read from $STDIN? Do they > do lots of stuff? Or do they do one thing well? I honestly don't > know because I stopped looking to those projects for simple, > flexible solutions. > > A 5-6 line script and a named pipe that /any/ app can write to, > that seems far more simple and flexible to me. > > Wade Curry > syntaxman > > > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list > -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
