You are not logged in.
Pages: 1
Hello,
in Ristretto sometimes I want to browse through all files in a folder. And sometimes I only want to browse through a selection, say *.jpg only or dsc03*.* or whatever filename-based selection.
It would really improve usability of Ristretto for me if there was a way to apply a filter pattern to the preview panel (on the left).
I am using Ristretto 0.8.0 on Xubunto 16.04.
Thanks and all the best,
Jörg
Offline
Hello and welcome.
It would really improve usability of Ristretto for me if there was a way to apply a filter pattern to the preview panel (on the left).
You can if you start Ristretto from the command line like this:
ristretto ~/Pictures/*.jpg
...or:
ristretto ~/Pictures/dsc03*
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Or, if you want a graphical solution, create a wrapper function using yad and a script like:
#!/bin/bash
cd ~/Pictures
if ANS=$(yad --center --width=350 --height=110 --form --title="Ristretto Wrapper" --field=Path:DIR "$DIR" --field="Search pattern:"); then
PATT=`echo $ANS | awk -F "|" '{print $1"/"$2}'`
echo "ANS = $ANS"
echo "PATT = $PATT"
exec ristretto $PATT
fi
You can run the script manually, add it to a keyboard shortcut, or create a .desktop file for it so it shows up in your menu.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 524.5 KiB (Peak: 531.05 KiB) ]