1 |
* Daniel Vrcic <daniel.vrcic@××××××××.hr> [07-04-28 12:12]: |
2 |
> * anhnmncb <anhnmncb@×××××.com> [07-04-28 11:39]: |
3 |
> > hi, list: |
4 |
> > I want to bound a key-binding to open a chdired rxvt. Say I'm in fvwm |
5 |
> > and the working dir is ~/, then I want to open a rxvt, which working |
6 |
> > dir is ~/doc, so I try: |
7 |
> > rxvt -hold -e bash -c "cd ~/doc" |
8 |
> |
9 |
> That should be: |
10 |
> |
11 |
> (cd ~doc/ && urxvt) |
12 |
> |
13 |
> [...] |
14 |
|
15 |
Sorry, correction... I'm also using fvwm and I have some entries in |
16 |
fvwm2rc regarding your issue. The command from the previous mail works |
17 |
if it's being executed from the shell/term_emul (discard the doc's slash |
18 |
:) but it would not if it's just pasted into fvwm2rc. There you should |
19 |
have something like: |
20 |
|
21 |
DestroyFunc FvwmTermDoc |
22 |
AddToFunc FvwmTermDoc |
23 |
+ I Exec exec $(cd ~/doc && rxvt) |
24 |
|
25 |
# Keybind |
26 |
Key C A MC FvwmTermDoc |
27 |
|
28 |
-- |
29 |
Daniel Vrcic |
30 |
-- |
31 |
gentoo-user@g.o mailing list |