Xdg-open is part of the xdg-utils package. When invoked from the command-line it can open any file in the default application or an url in the default browser.

learn more… | top users | synonyms

4
votes
2answers
159 views

xdg-open stopped working since 16.04 upgrade

xdg-mime query default inode/directory correctly gives me: nemo.desktop like I expect, and want it to. But xdg-open $HOME Gives an error: xdg-mime: mimetype argument missing Try 'xdg-mime --...
4
votes
2answers
653 views

Launch Webapps in custom browser

I'm using Google Chrome as default web-browser because i need Flash ang i've installed Firefox back to use with Webapps, because Chromium, that i tried to use before, launched through script, taking ...
1
vote
1answer
352 views

Is there a way to open a page in the browser in the background, UNFOCUSED, from the command line?

For those familiar with OSX, the behavior I'm looking for is open -g http://google.com, which will open a google webpage in the default browser in the background, without switching focus to it at all. ...
0
votes
1answer
62 views

xdg-email can't find thunderbird

Clicking a mailto link in chromium-browser it executes xdg-email mailto:example@example.com (or maybe without "mailto:", which seems to be the same thing). In my case this opens kmail instead of ...
0
votes
1answer
106 views

emacs doesnot work with xdg-open

I use emacs 24.4.1 on ubuntu 15.04. Somehow xdg-open doesnot work if i run it from emacs. For example, if i run "xdg-open 1.pdf" or "gvfs-open 1.pdf" in eshell they do not work. At the same time, "...
0
votes
1answer
373 views

Chrome is not opening magnet links properly with deluge?

If I use firefox, and click a magnet link, everything runs smoothly. however, in google chrome, all I get is that the deluge icon shakes as if it is opening something, but when I look at the window I ...
0
votes
1answer
319 views

xdg-open doesn't work in emacs (org mode)

In emacs (emacs24/xfce/saucy), when I click a link to a local file or export-&-open a pdf or html file, xdg-open is called with the target file. On my laptop system (emacs24/xfce/saucy), it uses ...
3
votes
0answers
285 views

Force firefox to use xdg-open to open downloaded files

Firefox in Kubuntu is broken, as it don't follows the system default applications that I can configure using "file associations" in the KDE Control Module. For example, it wants to open folders with ...
2
votes
0answers
255 views

Why does Synapse use Nautilus for all file types instead of the default application?

No matter which file I find via Synapse, it just gets opened in Nautilus. May that be because I recently put Nautilus as my default file manager? Can I change that behavior to the normal action, i.e....
1
vote
0answers
63 views

Spotify xdg-open fails, while doing the same open directly works

When I execute spotify spotify:track:7u9Vkw4xWtGNjao5uz3fJV, I can freely listen to the linked track. But doing xdg-open spotify:track:7u9Vkw4xWtGNjao5uz3fJV, I get "Link not found" error in Spotify....
1
vote
0answers
173 views

xdg-open: chrome/chromium/opera

I have written an application that makes use of the pocket API. Currently the login is done inside a custom webframe of the application itself. But I want to use the default browser for this. ...
1
vote
0answers
135 views

Set the terminal title in a .desktop started application

I've an application that I want to start via an entry in the upper gnome panel using a .desktop file, it has to run inside a terminal. #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=...
0
votes
0answers
50 views

How to set the default application for all text MIME types text/XXX in mimeapps.list for xdg-open?

I want all MIME types of the form: text/XXX to be opened with gvim when I do: xdg-open myfile.ext Currently, the best I could find was to add one line for each text file to my ~/.config/mimeapps....
0
votes
0answers
15 views

xdg-utils backporting

There is xdg-open bug which seems to be fixed in xdg-utils 1.1.0 rc2 and newer - it seems that Ubuntu 15.10 will have rc3. Older Ubuntu versions do have still rc1 with that xdg-open bug. Could not ...
0
votes
0answers
85 views

xdg-open not obeying defaults

I'm running Cinnamon 2.6 with the Nemo file manager in Ubuntu 15.04. For some reason, I can't make Nemo automatically launch with the xdg-open command, which is probably why inserting removable media ...