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 | `----------------------------------------------------------------'
pgpXKgmzZDMsP.pgp
Description: PGP signature