Chromium és sz alkalmazások

Fórumok

Üdv!

Ubuntu 10.10 x64, Openbox, Chromium 11
Ha leszedek bármilyen fájlt a böngészővel, alul jelzi, amikor leért. Ha rákattintok bal gombbal, egész egyszerűen letölti még egyszer...Ha rámegyek ,hogy mutassa mappában, akkor pedig nem nyitja meg a fájlkezelőmet, hanem nyit egy új tabot, és ott mutatja a könyvtárat.
Próbáltam újratenni a böngészőt, töröltem a felhasználói mappáját, de mindez sikertelen volt.

Hogyan tudnám megadni neki, mit mivel nyisson meg?

Üdv

Matyi

Hozzászólások

Nekem egyszerűen nem csinál semmit, ha megnyitni, vagy megjeleníteni akarom a letöltött fájlt. Szintén Openbox, szintén Chromium 11, de Arch alatt. Én is kíváncsi lennék rá. Mindez egy szóval: subscribe.

hacksagon is a hexaéder

Nem lehet, hogy a pár nappal ezelőtti chrome(chromium) törés miatti frissítés hozza ezt magával ideiglenesen mondjuk a hiba elhárításáig?
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -> Kérjük a humoros aláírást itt elhelyezni. <- - -

Lehet ez segit:

Chromium opens everything using xdg-open command. You can try to open a file from shell using xdg-open. It's default behaviour is to check what DE are you using by inspecting enviromental variable. If it doesn't find KDE, Gnome, or XFCE then it tries to open that file using your browser. Browsers are tried by names, if one of the default ones is found, then it is used to run this file.
In case that DE is found, xdg-open uses kde-open, gnome-open or exo-open. I don't like that behaviour, I'm using ION3 window manager, thus all my files are being open by firefox. I also don't want to set some strange environment variables. Fortunately xdg-open is a simple ~400 lines shell script. I simply hardcoded my chosen files launcher. I entered kde-open, but one could even write his own launcher detecting file type by name or content. In my case the change was something like:
sudo vi /usr/bin/xdg-open
few lines before end I changed the following code:
case "$DE" in
kde)
open_kde "$url"
;;
gnome)
open_gnome "$url"
;;
xfce)
open_xfce "$url"
;;
generic)
# open_generic "$url" # commented this line
open_kde "$url" # added this line
;;
*)
exit_failure_operation_impossible "no method available for opening '$url'"
;;
esac

Now I can use systemsettings KDE control panel to set my file associations and everything works fine.

--
FeZo