9 Nov
2006
9 Nov
'06
22:59
On Thursday 09 November 2006 12:40, Randall R Schulz wrote:
On Thursday 09 November 2006 13:28, Kai Ponte wrote:
I cobbled together a simple hack that works for most files. It requires KDE, but presumably there's an equivalent that will work under Gnome and probably other desktop environments.
I call it "open" and I use it very frequently:
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc
for doc; do if [[ "$doc" = file://* ]]; then kfmclient exec "$doc" >>"$HOME/.xsession-errors" 2>&1
I submit that kfmclient exec <filename> is sufficient for most purposes. Try it. -- _____________________________________ John Andersen