Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]konqueror vs. cmdline weidness
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Tue Mar 07, 2006 10:53 am    Post subject: [solved]konqueror vs. cmdline weidness Reply with quote

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
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Tue Mar 07, 2006 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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