Questions tagged [xdg-open]
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.
17
questions
31
votes
5
answers
92k
views
How can I set which application is launched by 'xdg-open'?
I have run update-alternatives as well as the GNOME Preferred apps selection thing. And all point to have the Chromium browser as the default. Yet, when I run xdg-open http://askubuntu.com, Firefox is ...
39
votes
3
answers
55k
views
How do I set a new xdg-open setting?
I want to use xdg-open to open irc:// links, how can I make the required parameter?
10
votes
5
answers
2k
views
Files lens and xdg-open only open nautilus but not the correct applicatiion
since some days my Files lens opens only nautilus but not the correct application which is associated with the file extension.
For example, if I choose a PDF file, Nautilus is openend, pointing to ...
5
votes
2
answers
48k
views
Open file from terminal in specific application
I use xdg-open a lot in the terminal; this opens a file in the default application. However, sometimes I'd like to open a file in a different (non-default) application. Is there a way to achieve this ...
11
votes
2
answers
10k
views
Xdg-open doesn't do anything, Zoom in Chromium,
I'm running Ubuntu 18.04.4 LTS.
As the title says, when prompt to "xdg open" on Zoom (chromium browser), nothing happens and I can't do a conference call.
Does anyone know what might be the issue?
I'...
7
votes
1
answer
3k
views
How to change default program for http(s):// links in Xubuntu/XFCE
I am using XFCE on Xubuntu. I want my default browser to be Chromium.
In Settings Manager > Preferred Applications web browser is set to Chromium.
In gconf-editor: /desktop/gnome/url-handlers/http ...
4
votes
1
answer
3k
views
How can I open irc:// links in Pidgin from Chromium?
I want to open irc:// links in pidgin from chromium.
When i am logged-in to a irc server(irc.freenode.net) running purple-url-handler irc://irc.freenode.net/#ubuntu in terminal works fine.
But when ...
1
vote
1
answer
350
views
How to set image open-with via terminal?
I am running openbox and so do not have access to standard Ubuntu control panel, but must set everything from the terminal. When I download an image in chrome and click open, it launches xdg-open ...
22
votes
2
answers
46k
views
How to reset external protocol handler in Chrome?
A while back I selected "Do nothing" when Chrome asked me how to handle a specific url. Now I want Chrome to launch xdg-open, which again can launch the correct application, but I can't figure out how ...
15
votes
7
answers
19k
views
how to open multiple files with the default program from terminal?
I tried to open all my .mp3 files from a folder using xdg-open but I found out it opens just one! So I searched a little but there was not such a question! I found "evince" but apparently it open ...
13
votes
1
answer
24k
views
Where to change how xdg-open opens urls? sync with kde-open?
kde-open "http://askubuntu.com/" is nice, and opens the URL in my webbrowser
but xdg-open "http://askubuntu.com/" opens the link in my texteditor :-(
I know where I find the file-association in ...
12
votes
2
answers
14k
views
What do these symbols "$@">/dev/null 2>&1" after a command mean? [duplicate]
I've recently found here a solution to my problem, but I can't completely understand what everything in this command means:
xdg-open "$@">/dev/null 2>&1
11
votes
1
answer
8k
views
How to change file association for files opened in Dolphin from command line in GNOME?
I would like to change several default applications for files opened in Dolphin. I know I could do it manually with kcmshell4 filetypes, keditfiletype or however else but is there a way how to change ...
9
votes
4
answers
5k
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 --...
3
votes
2
answers
6k
views
`xdg-open` does not open files in the preferred applicaton
xdg-open does not work as expected. It opens most my files in browser, directories in my code editor(VS code) and plain text files using less. It also throws this error message,
$ xdg-open $HOME
xdg-...
3
votes
3
answers
13k
views
How can I start Nautilus on Xubuntu / XFCE via the shortcuts in the XFCE panels?
I am on Xubuntu 13.10 and just installed and activated Nautilus as the default file manager.
I'd like to use the current default file manager (whichever that might be) when I click on my panel ...
3
votes
0
answers
407
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....