xfrun enhancement

James Tappin james at tappin.me.uk
Thu Feb 13 22:46:35 CET 2003


Attached is a patch to xfrun that allows the user to pass it a directory
name instead of a command name. If "Run in terminal" is checked then it
starts an xterm in that directory, if not then it starts xffm at that
directory.

The implementation of the terminal version isn't very pretty as I couldn't
find a way of saying start an xterm here other than using chdir to get to
"here" and then starting the terminal.

I can't say it's that well tested -- it still gives a sensible error when
the target's not found at all and it seems to still work for real
commands.

If it looks useful, please incorporate it.

	James

-- 
James Tappin,             O__      "I forget the punishment for using
james at tappin.me.uk       --  \/`    Microsoft --- Something lingering
http://www.tappin.me.uk/            with data loss in it I fancy"  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfrun.pat
Type: text/x-diff
Size: 1625 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20030213/9fe07d17/attachment.diff>


More information about the Xfce4-dev mailing list