You are not logged in.
For example ,if u download a zip with filefox,and select the file "open in folder" ,thunar will open but wont hilight the zip, i shold scan all files to find the zip
Last edited by FateRover (2018-12-22 11:22:35)
Offline
Hello, FateRover.
I did same question some time ago: https://forum.xfce.org/viewtopic.php?id=12421
It seems there is no way with thunar.
Nautilus does it, as I could try it on a gnome desktop, at least with firefox, but not thunar, AFAIK.
What helps me with this issue is to use the detailed list view and sort files by the "Date modified" column. That way the last downloaded file would be placed first (or last) in the list, so it is easier to find it.
Regards.
Offline
In addition to Laurentius' reply, here is a bug report and here is another thread about this with a bash script workaround.
I've re-worked this script to work more seamlessly with all types of files. To test it, create the file /usr/local/bin/thunar with the following content:
#!/bin/bash
if [ ! "$1" = "--select" ]; then
/usr/bin/thunar "$@"
else
if [ ! -z "$2" ]; then
BASE=$(basename "$2")
DIR=$(dirname "$2")
/usr/bin/thunar "$DIR" &
sleep 0.5
xdotool - <<EOF
key ctrl+f
type "$BASE"
EOF
xdotool key Escape
else
/usr/bin/thunar
fi
fi
...and make the file executable.
This is a wrapper script to thunar and will only process an incoming request in the format of thunar --select FILE where FILE is the full path to a filename. All other parameter calls will simply be passed on to the regular thunar.
If you call thunar with "--select FILE" it will open thunar in the directory location of the file and highlight the file using xdotool.
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
Try the script,works but not convinient for should add extra parameter ,I do not often use cl and someother soft can not custom "open in folder " with parameter ,qbittorent ,as example.
I install nautilus,thats works,but still wait the new feature in thunar
Offline
https://bugzilla.xfce.org/show_bug.cgi?id=12414
JUST wait the new release or use the .py file in the link
Last edited by FateRover (2019-01-04 11:11:47)
Offline
Good.
Sorry, which is the .py file? I couldn't find it.
Offline
Good.
Sorry, which is the .py file? I couldn't find it.
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 540.55 KiB (Peak: 541.84 KiB) ]