View previous topic :: View next topic |
Author |
Message |
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Tue Mar 07, 2006 10:53 am Post subject: [solved]konqueror vs. cmdline weidness |
|
|
hi,
I'm using konqueror-3.5.1 and i have a weird problem running a cmdline program:
When i run "/usr/bin/kmldonkey_submit http://...." it does what itr should, but if try to open the URL in konqueror, and point it to "Open With" it does nothing at all...
Could it be a problem in how konqueror handles this? What exactly does konqueror do with such a file.. first download it, and then open the program, or just open the external program with the url? _________________ --
Linux & such ...
http://blog.hasnoname.de
Last edited by Strowi on Tue Mar 07, 2006 11:31 am; edited 1 time in total |
|
Back to top |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Tue Mar 07, 2006 11:31 am Post subject: |
|
|
ok, forget this one!
the problem was indeed that konqueror downloaded the file first.
solved it by writing a small bash-script.
in case anyone as the same problem: its a permission issue..
Code: |
#!/bin/bash
TORRENT=`basename $1`
mv $1 ~p2p/$TORRENT.torrent
/usr/bin/kmldonkey_submit ~p2p/$TORRENT.torrent &&
rm ~p2p/$TORRENT.torrent
|
_________________ --
Linux & such ...
http://blog.hasnoname.de |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|