Thanks Sean, Hans, James, and everyone.
Actually, years ago I created a script named 'v' (code below) that
does more. However, gwenview threw me a curveball with all the error
messages that it generates.
I type: v filename.jpg <E> or just: v <E>
Here's my script:
# v -- open named image
cls;ls -ltr | tail -10;echo
if [ $# -gt 0 ]; then FILE=$1; else echo "Open what htm file? "
read file; FILE=$file; fi
nohup gwenview $FILE >/dev/null 2>&1 &
Now, I just need to have the script to automagically close terminal.
---------------------
> I would make a bash script that does what you want and add it to a
> directory your path, then just call it from a launcher and be done
> with it.
>
> ex.: make an executable called joeview and put it in /usr/local/bin
> or
> ~/bin (and make sure that's in your path!):
> $ cat joeview
> #!/bin/bash
> nohup gwenview filename.jpg >/dev/null 2>&1 &
> $
>
> Alt+F2 joeview enter
> You probably wouldn't even need nohup or the & at that point!
>
> sean
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss