Re: [dwm] how can I start such a urxvt?

From: Antoni Grzymala <antoni_AT_chopin.edu.pl>
Date: Thu, 17 May 2007 15:19:59 +0200

Tako rzecze wuyue1982 (w e-mailu datowanym 2007-05-17, 18:28):

> hello, for some reason, I want to start a special urxvt. urxvt starts at
> ~/ by default as you know, but I want to start a urxvt which starts at
> ~/doc/, in fvwm, I can achieve it by edit .fvwm2rc:
> Key F2 A 4 Exec exec $(cd ~/doc && urxvtc)
> So I have try write:
> { MODKEY, XK_F2, spawn, "exec $(cd ~/doc && urxvtc)
> but seems not work.
> Any advises? Thank you, maybe you can understand me, my English is very
> poor as you see ^_^

You could try:

urxvt -e bash -c 'cd Desktop; bash'

I know, it's ugly, but seems to work.

[a]

-- 
. Antoni Grzymala - antoni (at) chopin.edu.pl -------------------.
| OpenPGP KeyID EB315583 available now from a keyserver near you |
| Fingerprint A819 6D2E D5EB D9E0 D2D9  7AF6 2FAF 4A11 EB31 5583 |
`----------------------------------------------------------------'

Received on Thu May 17 2007 - 15:20:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:41:51 UTC