You are not logged in.

#1 2011-06-03 21:39:43

chris427
Member
Registered: 2011-06-03
Posts: 18

[SOLVED] Jumanji will not download files using urxvt and wget

Hello,

I'm having some problems when I try to download a file in Jumanji.

I copied the example jumanjirc from the wiki and downloading worked fine a couple of times.
the relevant command is:

set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O %s";

I did some investigating and found that urxvt would not launch from within another terminal if a command is given.
Example:

urxvt -e sh -c "cd /etc/"

instead the screen flickers like it's trying to load a new terminal but fails.

If anyone has any info or any pointers on where I should look for a solution I would be very greatful smile

Wiki entry:
https://wiki.archlinux.org/index.php/Ju … figuration

P.S I'm new to the forums so go easy if I've made any mistakes or breached the etiquette smile

Last edited by chris427 (2011-06-03 23:37:33)


We are all watched over by machines of loving grace.

Offline

#2 2011-06-03 22:15:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Jumanji will not download files using urxvt and wget

Does 'urxvt -e top' work?

Offline

#3 2011-06-03 23:16:32

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [SOLVED] Jumanji will not download files using urxvt and wget

Your download command line is wrong. It should be:

set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'"

Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#4 2011-06-03 23:19:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Jumanji will not download files using urxvt and wget

lagagnon wrote:

Your download command line is wrong. It should be:

set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'"

If you're sure about this, can you please fix the wiki?

Offline

#5 2011-06-03 23:22:36

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [SOLVED] Jumanji will not download files using urxvt and wget

karol wrote:
lagagnon wrote:

Your download command line is wrong. It should be:

set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'"

If you're sure about this, can you please fix the wiki?

Done.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#6 2011-06-03 23:36:01

chris427
Member
Registered: 2011-06-03
Posts: 18

Re: [SOLVED] Jumanji will not download files using urxvt and wget

Thanks lagagnog your command worked like a charm smile

I'll mark the thread as solved.


We are all watched over by machines of loving grace.

Offline

#7 2011-06-03 23:36:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Jumanji will not download files using urxvt and wget

@lagagnon
Thanks :-)

@chris427
If you still want, you can try

urxvt -hold -e ls /etc

or use urxvtcd from the AUR http://aur.archlinux.org/packages.php?ID=9779

urxvtcd -hold -e ls /etc

- and you get the prompt back :-)

Last edited by karol (2011-06-03 23:41:46)

Offline

#8 2011-06-03 23:45:17

chris427
Member
Registered: 2011-06-03
Posts: 18

Re: [SOLVED] Jumanji will not download files using urxvt and wget

@karol
I only tried the "urxvt -e sh -c cd /etc/" to see if I had the right download command.
Turns out urxvt wont work if you type the command in wrong like I did tongue
I'll try out that urxvtcd, looks like the daemon-client thing could be cool.
Anyway thanks for the help guys smile


We are all watched over by machines of loving grace.

Offline

Board footer

Powered by FluxBB