You are not logged in.

#1 2010-07-26 09:49:53

crabmeat
Member
Registered: 2009-08-11
Posts: 16

urxvte -e is not working

Hi there, i have a problem with urxvte

i want a desktop shortcut which launches a urxvte terminal an starts vim with some settings.

iam using xfce, so i create a new shortcut and for command i enter:

urxvt -e "vim -c ':colorscheme ir_black'"

so this is not working, the windows is instantly closed, then i tried

urxvt -hold -e "vim -c ':colorscheme ir_black'"

the window is keeping there, but it says

urxvt: unable to exec child.

the funny thing is, that

urxvt -e "vim"

is working, but any vim call with parameter ( i tried "vim --version" etc) is not.

can anybody help?

Offline

#2 2010-07-26 10:09:48

ablepharus
Member
From: Berlin
Registered: 2010-05-23
Posts: 129

Re: urxvte -e is not working

Remove the "

Offline

#3 2010-07-26 10:09:57

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: urxvte -e is not working

I don't have vim installed, but I've tried some options with nano. Try doing urxvt -e vim options. So, without any quotation marks.

Offline

#4 2010-07-26 10:16:38

crabmeat
Member
Registered: 2009-08-11
Posts: 16

Re: urxvte -e is not working

this is working, very nice.

thanks smile

Offline

#5 2010-07-26 10:52:30

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: urxvte -e is not working

Btw, you know that you can define your colorscheme in a ~/.vimrc ? Just that line

colorscheme ir_black

(If you knew that and have good reasons to start vim like you did above then just ignore me tongue)

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

Board footer

Powered by FluxBB