Please support VectorLinux!

Author Topic: Firefox/Seamonkey confused with space in directory name  (Read 1790 times)

carsten

  • Vectorite
  • ***
  • Posts: 137
  • I know why birds sing ...
Firefox/Seamonkey confused with space in directory name
« on: January 09, 2008, 01:15:42 pm »
Hy folks,
simple problem challenge:
on my box VL 5.8 I have my data nicely sorted in directories named "My ...", i.e. "My Documents", "My Pictures" etc
When I try to fire the browser from Thunar on a file somewhere in such a directory Firefox/Seamonkey tells me, that it cant find the file.
Example: "Firefox can't find the file at /home/falcon/My."  ???
Dillo is smarter in this respect  :D
Anybody can tell me how to cure this? (the Firefox dumpness, not the the Dillo behaviour)

Carsten
Tam exacte ut oportet, non ut licet!

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: Firefox/Seamonkey confused with space in directory name
« Reply #1 on: January 09, 2008, 01:57:47 pm »
I assume when you say "try to fire the browser from Thunar on a file" you means something along the lines of right-clicking the file and choosing 'Open with...' or some similar action.  If this is the case, then the problem sounds like the file name being passed to firefox/seamonkey is not properly escaped by either the backslash or quotes.

Example)
firefox /home/falcon/My Documents/file.jpg
should be passed something like
firefox /home/falcon/My\ Documents/file.jpg
or possibly
firefox "/home/falcon/My Documents/file.jpg" [the quotes may only be applicable in ms windows]

Fixing it is another matter of which I'm not familiar; xfce mime-types maybe???
« Last Edit: January 09, 2008, 01:59:28 pm by newtor »

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Firefox/Seamonkey confused with space in directory name
« Reply #2 on: January 09, 2008, 03:09:04 pm »
firefox "/home/falcon/My Documents/file.jpg" [the quotes may only be applicable in ms windows]

Fixing it is another matter of which I'm not familiar; xfce mime-types maybe???

Set Thunar to open 'firefox "$@"' (minus the single quotes of course).
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months