Improvement

The above (bash) script doesn't work when clicking on "home" under "places", it seems that when you do it only calls nautilus with just the --no-desktop argument and no file path. In the script this simply calls nautilus.real

Here's a modified version which fixes the problem and simply calls thunar instead of nautilus.real in the aforementioned situation:
[code]
#!/bin/bash

#zenity --info --text="${1}/${@}" #DEBUG
if [ -z "${1}" ] || [ "${1:0:1}" == "/" ]; then
thunar "${1}"
elif [ "${1}" == "--no-desktop" ]; then
thunar
elif [ "${2:0:7}" == "file://" ]; then
thunar "${2}"
else
nautilus.real "${@}"
fi
[/code]

Rispondi

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente.
  • Linee e paragrafi vanno a capo automaticamente.
Maggiori informazioni sulle opzioni di formattazione.