gnome commander y la papelera
plcyma en gmail.com
plcyma en gmail.com
Mar Jun 19 18:59:38 BST 2007
Pues eso, que cuando borro algun archivo desde el gnome commander no lo
mueve a la papelera, y ademas de muy novato hoy estoy torpe, y perdi
informacion....
Con el terminal tenia el mismo problema, pero googleando encontre
libtrash y una guia sobre como instalarlo:
$ sudo aptitude install libtrash
Añadir al final de ~/.bashrc:
# Include this in your ~/.bashrc to enable libtrash every time you
# open a console
LIBTRASH=/usr/lib/libtrash/libtrash.so.2.4
LIBTRASH_dest=$LIBTRASH
if test -L $LIBTRASH ; then
LIBTRASH_dest="$(dirname $LIBTRASH)/$(ls -l "$LIBTRASH" | \
sed -e 's/^.\+ -> //')"
fi
if test x${LD_PRELOAD+set} = x -a -f "$LIBTRASH_dest" ; then
LD_PRELOAD="$LIBTRASH"
export LD_PRELOAD
if test x$0 = x-bash ; then
exec bash ${1+"$@"}
else
exec $0 ${1+"$@"}
fi
fi
Crear el fichero ~/.libtrash con lo siguiente:
TRASH_CAN = .Trash
y ahora cuando borro algo desde el terminar se va a la papelera, pero, y
en gnome commander, alguien sabe como??
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-es/attachments/20070619/0b56300f/attachment.htm
Más información sobre la lista de distribución ubuntu-es