{"id":566,"date":"2009-05-31T18:17:55","date_gmt":"2009-05-31T15:17:55","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=566"},"modified":"2009-05-31T18:28:19","modified_gmt":"2009-05-31T15:28:19","slug":"lifesaving-rox-tip-open-file-urls","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2009\/05\/31\/lifesaving-rox-tip-open-file-urls\/","title":{"rendered":"lifesaving ROX tip, open file:\/\/ urls"},"content":{"rendered":"<p>Firefox has the feature of keeping links to downloaded files as urls using the <em>file:\/\/<\/em> pattern. For example: <em>file:\/\/\/home\/user\/downloads\/test.zip<\/em>. If you choose ROX-Filer (\/usr\/bin\/rox) to open these files you will get an error: <\/p>\n<blockquote><p>File doesn&#8217;t exist, or I can&#8217;t access it: file:\/\/\/home\/user\/downloads\/test.zip<\/p><\/blockquote>\n<p>One way to correct the error is to follow the instructions of <a href=\"http:\/\/lovingthepenguin.blogspot.com\/2008\/08\/use-rox-filer-to-open-containing.html\">http:\/\/lovingthepenguin.blogspot.com\/2008\/08\/use-rox-filer-to-open-containing.html<\/a><\/p>\n<p>Another way for Gentoo users, and much proper I guess, is to use <strong>\/usr\/bin\/roxuri<\/strong>. roxuri is actually a shell script that uses the &#8220;-U&#8221; option for ROX:<\/p>\n<blockquote><p>-U, &#8211;url=URL\t\topen file or directory in URI form<\/p><\/blockquote>\n<p>For the non-Gentoo users, \/usr\/bin\/roxuri is:<br \/>\n<code>#!\/bin\/sh<br \/>\nexec \"\/usr\/lib\/rox\/ROX-Filer\/AppRun\" -U \"$@\"<\/code><\/p>\n<p>Create it and make it executable.<\/p>\n<p>Go to Firefox Preferences\/Applications\/Content Type -> file and select \/usr\/bin\/roxuri as the default application.<\/p>\n<p>Now files from firefox downloads are handled correctly by rox which uses the proper applications to open them and containing folders open up with <a href=\"http:\/\/roscidus.com\/desktop\/ROX-Filer\">ROX-Filer<\/a>. That means that while &#8220;file&#8221; is handled by <em>roxuri<\/em>, a .pdf will be opened by <a href=\"http:\/\/trac.emma-soft.com\/epdfview\/\">epdfview<\/a> or whatever else you have chosen ROX to open pdf files with.<\/p>\n<p>Both solutions work on ROX version 2.8.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox has the feature of keeping links to downloaded files as urls using the file:\/\/ pattern. For example: file:\/\/\/home\/user\/downloads\/test.zip. If you choose ROX-Filer (\/usr\/bin\/rox) to open these files you will get an error: File doesn&#8217;t exist, or I can&#8217;t access it: file:\/\/\/home\/user\/downloads\/test.zip One way to correct the error is to follow the instructions of http:\/\/lovingthepenguin.blogspot.com\/2008\/08\/use-rox-filer-to-open-containing.html [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[12,3],"tags":[37,115,114,601,595,103,116],"class_list":["post-566","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-linux","tag-bug","tag-file","tag-firefox","tag-gentoo","tag-linux","tag-rox","tag-tip"],"aioseo_notices":[],"views":7771,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=566"}],"version-history":[{"count":13,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/566\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/566\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}