Skip to content
jun7 edited this page Jan 24, 2019 · 54 revisions

Install:

For Arch linux, I’ve added PKGBUILD. Just use it. https://github.com/jun7/rox-filer/blob/master/PKGBUILD

Tips:

To use MIME Editor, Thumbs and VideoThumbnail, 0Install is not necessary. Just make `Apps' dir in `~/' and put them.
rox searches following dirs: ~/Apps:/usr/local/apps:/usr/apps
And dependencies are pygtk, rox-lib, shared-mime-info.

To use Thumbs and VideoThumbnail, `Look Inside' and open `AppRun' `Open As Text' and rename the `python' of the first line to `python2'.
Thumbs and Video Thumbnail are here: http://www.kerofin.demon.co.uk/rox/utils.html


The 'Send To' is not for directories. So if you went to send to a directory, put sh file like this:

foobar.sh
for arg in "$@"
do
  mv "${arg}" ~/foobar/ //(1)
done
  1. foobar is directory name

Copy and Paste

You can make your own copy and paste

MakeList.sh
for arg in "$@"
do
  echo "${arg}"
done > ~/Desktop/FileList
PasteFromList.sh
cat ~/Desktop/FileList | xargs cp -r -t "$1"

And put these to Sendto directory.

Also:

MoveListedFiles.sh
cat ~/Desktop/FileList | xargs mv -t "$1"
cat /dev/null > ~/Desktop/FileList
AddFiles
for arg in "$@"
do
  echo "${arg}"
done >> ~/Desktop/FileList

etc for .inode of the SendTo

tip: In the SendTo we can use directories.
tip: If you add '_' to file name, then the char after '_' will be an access key.

DU

_du.sh
exec roxterm -T "du -d 1 $@" -e bash -c "du -d 1 -h -a \"$@\"/ | sort -h ; bash"

Search Text

Shift + \ is usefull to use this

'.'search
read INPUT
find -type f -name "$1" | xargs grep -i "$INPUT" | less -i
_search
exec roxterm -T "find * $@" -e bash -c "cd \"$@\"; $(dirname $0)/.search \"*\""

Thumbnailer

~/.config/rox.sourcefoge.net/MIME-thumb

video
exec ffmpegthumbnailer -i "$1" -o "$2" -s $3 -c jpeg

ffmpegthumbnailer is really fast.

audio
inf=$1
outf=$2
size=$3

ffmpeg -i "$inf" \
	-vf scale=$size:$size:force_original_aspect_ratio=decrease \
	-f image2 "$outf"
Clone this wiki locally