You are not logged in.

#1 2008-05-12 17:32:23

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Open urxvt in the current working thunar folder

I had a thunar custom action defined for opening a terminal in the current directory but it was opening xfce's terminal emulator called terminal big_smile

What would be the command for opening urxvt in a given directory ? sorry for the noobish question smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#2 2008-05-12 18:04:00

dawn
Member
Registered: 2008-01-15
Posts: 51

Re: Open urxvt in the current working thunar folder

I'm not sure this will help, but here's the custom action I have:

exo-open --working-directory %f --launch TerminalEmulator

It opens urxvt. But then I don't have Terminal installed. Isn't there some menu in xfce to configure the default applications (default browser, terminal emulator, ...)? I don't remember where you can find it as I haven't used xfce for a long time.

Offline

#3 2008-05-12 19:09:24

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Open urxvt in the current working thunar folder

I'm not using xfce, I'm using openbox, but thunar as file manager...

Thanks, I did it by running xfce-setting-show and setting the preferred terminal emulator to urxvt.

Last edited by moljac024 (2008-05-12 19:12:40)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2008-05-12 22:25:51

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: Open urxvt in the current working thunar folder

you can also use the "user-defined actions-button" in thunar and create a new entry in the right-click-menu.
i did it this way.
oh, i am running standalone-openbox with thunar exactly as you do.

Offline

#5 2008-05-12 23:25:41

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Open urxvt in the current working thunar folder

Yes, that's what I was doing, I just needed the right command for opening urxvt and setting it's working directory (that I didn't know how to do)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2008-05-13 00:17:19

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: Open urxvt in the current working thunar folder

To get graphical apps to use urxvt by default add the following line to your shells profile file (~/.bash_profile for bash, ~/.zprofile for zsh) and then re-login/reboot.

export XTERM='urxvt'

That should do the trick. wink

Offline

#7 2008-09-25 03:58:26

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: Open urxvt in the current working thunar folder

open ~/.config/xfce4/helpers.rc and change "TerminalEmulator=whateveritisnow" to "TerminalEmulator=whateveryouwantinstead". this has driven me nuts for two years. now, where's that #@$% whale?

Offline

#8 2008-09-25 14:27:11

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Open urxvt in the current working thunar folder

Solved long ago, but thanks anyway wink


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#9 2008-09-25 22:08:55

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: Open urxvt in the current working thunar folder

moljac024 wrote:

Solved long ago, but thanks anyway wink

i was also putting it here for the next time i forget.

Offline

#10 2008-09-25 23:54:55

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Open urxvt in the current working thunar folder

fuscia wrote:
moljac024 wrote:

Solved long ago, but thanks anyway wink

i was also putting it here for the next time i forget.

haha nice one big_smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#11 2008-09-26 04:34:31

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Open urxvt in the current working thunar folder

sh -c "cd %f && urxvt"


I am a gated community.

Offline

#12 2008-09-26 11:07:06

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: Open urxvt in the current working thunar folder

stonecrest wrote:

sh -c "cd %f && urxvt"

can't help being ignorant: what is that?

Offline

#13 2008-09-26 12:28:04

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Open urxvt in the current working thunar folder

fuscia wrote:
stonecrest wrote:

sh -c "cd %f && urxvt"

can't help being ignorant: what is that?

A shell script for entering the working directory and launching urxvt.
Try it and see if it actually works.
I think I tried something like that but wasn't successful...

Last edited by moljac024 (2008-09-26 12:28:43)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#14 2008-09-27 00:08:54

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Open urxvt in the current working thunar folder

I've been using it as a custom action in thunar for a while, it works fine.


I am a gated community.

Offline

Board footer

Powered by FluxBB