Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I type

gnome-open foo.pdf

it shows an error for me: Error showing url: Operation not supported. But if I give absolute path

gnome-open ~/what/ever/foo.pdf

it works fine.

Is this a known limitation or a bug?

share|improve this question
    
I may be wrong, but I think the command xdg-open can open relative URLs. Opening my Linux virtual machine right now. –  Piccolo Jun 20 '13 at 2:39
1  
Odd, something must be wrong with your system as gnome-open should work as it is used in your first example and does do so on my system. –  Dan D. Jun 20 '13 at 3:24

1 Answer 1

My comment was correct. If Ubuntu supports xdg-open (most distros do, but I haven't tested it), you can just do the following:

xdg-open foo.pdf

It also won't complain if you give it the full path.

xdg-open ~/what/ever/foo.pdf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.