VectorLinux
August 30, 2014, 08:16:20 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Firefox/Seamonkey confused with space in directory name  (Read 1589 times)
carsten
Vectorite
***
Posts: 137


I know why birds sing ...


« 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."  Huh
Dillo is smarter in this respect  Cheesy
Anybody can tell me how to cure this? (the Firefox dumpness, not the the Dillo behaviour)

Carsten
Logged

Tam exacte ut oportet, non ut licet!
newt
Vectorian
****
Posts: 1132



« 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 » Logged
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« 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).
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!