Page 1 of 1

Ventana descargas de Firefox no abre directorio

Posted: Wed 06 Nov 2013, 01:11
by Rope
Hola, cómo puedo hacer para que en la ventana de descargas de Firefox si le doy click derecho open me abra el archivo y open folder me abra el directorio de descarga? me pide un aplicación.

Posted: Wed 13 Nov 2013, 00:11
by Rope
mama me dio este link
http://208.109.22.214/puppy/viewtopic.p ... 1bdf7bd253

Code: Select all

#!/bin/bash
#Made by Disciple 30/4/07.
#Script to make firefox use ROX Filer to "open containing folder" of downloaded files, and use ROX file associations to open files with whatever program they open with if you click on them in ROX.
#Is probably useful for other browsers and maybe some other program.
#Should work with other file managers too if you just replace the 'rox' command.
#If it doesn't work for something, please post the full path to the downloaded file at http://murga-linux.com/puppy/viewtopic.php?p=113779#113779 as browsers may change path characters other than spaces, that I am not aware of.

#Put this script in /usr/bin and call it firefoxhandler
#Put the following lines in prefs.js, or in Firefox type about:config in the address bar, right-click>new>string for the first one and boolean for the other two, using what is in the first set of quotation marks for the name, and what is in the second set for the value.
#user_pref("network.protocol-handler.app.file", "firefoxhandler");
#user_pref("network.protocol-handler.expose.file", true);
#user_pref("network.protocol-handler.external.file", true);   

location=`echo ${1#file://} | sed 's/%20/ /g'`
rox "$location" 
Lo instalé pero no me anda, sigue pidiendo aplicación.

Qué será?

Posted: Sat 16 Nov 2013, 13:40
by mama21mama
paso 1 en terminal

Code: Select all

geany /usr/bin/firefoxhandler
pegamos el script alli

paso 2 en terminal

Code: Select all

chmod a+x /usr/bin/firefoxhandler
paso 3 en el firefox

tipiamos esto en donde van las direcciones

Code: Select all

about:config
si las 3 anteriores valores los cargaste masl simplemenmte vas a uno por uno y boton derecho restableser/reset y cierras la solapa about:config se abran borrados los valores.

cargando valores:

boton derecho del mouse, Nueva, Cadena, alli agregaremos

Code: Select all

network.protocol-handler.app.file
luego

Code: Select all

firefoxhandler
los otros dos valores son logicos

boton derecho del mouse, Nuevo, Logico

Code: Select all

network.protocol-handler.expose.file
luego escogemos true

Code: Select all

network.protocol-handler.external.file
luego escogemos true


ahora reiniciamos firefox


Ahora al intentar descargar algo, lo hacemos del modo normal, la vamos a la seccion descargas, seria en el menu, herramientas, descargas

le damos click a la carpetita, y nos indicara firefox con que aplicacion queremos hacer eso.


le indicamos la direccion del comando

Code: Select all

 /usr/bin/firefoxhandler 

y tildamos que lo haga siempre con el. :shock:

Posted: Mon 18 Nov 2013, 15:01
by Rope
Gracias mama, parece que anda, estoy probando :)
Habaáia hecho todo, creo que lo que faltaba es cómo asociar /usr/bin/firefoxhandler
Np sé por qué en Puppy no es más fácil asociar con qué abrir qué.

Posted: Mon 18 Nov 2013, 15:24
by Rope
Un .deb ni lo abre ni abre el directorio de download.