cancel
Showing results for 
Search instead for 
Did you mean: 

How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

SOLVED
Highlighted
New Contributor

How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

Typing: firefox "/home/user/document.htm#bookmark" places file:///home/user/document%23bookmark in the path. Yet the error message says "Firefox can't find the file at /home/user/document#bookmark." So it gets the path right for the error message but wrong for the path. If I go to the path in firefox window and replace the "%23" with the "#" the file loads correctly at the expected bookmark.

1 ACCEPTED SOLUTION

Accepted Solutions
Legendary Contributor

Re: How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

Does it make any difference if you include the file:// protocol, i.e., use a fully formed URL?

2 REPLIES
Legendary Contributor

Re: How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

Does it make any difference if you include the file:// protocol, i.e., use a fully formed URL?

New Contributor

Re: How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

Yes, that made all the difference! Thank you very much.