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.

Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

What is xdg-open?

I tried downloading roblox and it worked fine I double clicked it. It takes me to the website. But when I launch a game it doesn't say Open Roblox Launcher chrome just says xdg-open and nothing ...
2
votes
1answer
91 views

How to set up `xdg-open` to use Nautilus for `gvfs` paths?

xdg-open /run/user/1000/gvfs/ftp:host=smart,port=5555,user=u runs chrome. How to make it run nautilus instead?
1
vote
2answers
192 views

How to install latest stable dolphin file manager on Kubuntu via xdg-open(Discover)? [duplicate]

I am running latest Kubuntu 20.04 with dolphin file manager version 19.12.3. However the latest stable version is already available as 20.04.3 https://kde.org/applications/en/system/org.kde.dolphin ...
3
votes
1answer
219 views

Protocol handler setting to automatically open protocol with xdg-open

On Ubuntu 18.04 when I clicked a Zoom link it automatically opened Zoom for me without prompt. I think that the version of Chrome that I was using on Ubuntu 18.04 had had an option in the xdg-open ...
1
vote
2answers
346 views

Chromium is not open Zoom by xdg-open

I installed Ubuntu 20.04 LTS, Chromium 81.0.4044.138 and Zoom 5.0.403652.0509. When try to open link to Zoom conference appears window "Open xdg-open?". Unfortunately nothing happened. I used tip from ...
3
votes
1answer
556 views

Xdg-open doesn't work in Chromium

I have a fresh install of Ubuntu 20.04 LTS and I've got chromium-browser through apt(same problem persists with snap version). The problem is that xdg-open doesn't seem to do anything when called ...
0
votes
0answers
53 views

Ubuntu 19.10 do not open URL from external applications

After an upgrade applications do not open URLs but give error. Same in terminal with xdg-open. It is looking for a file? xdg-open http://stackoverflow.com Error: /home/user/http:/stackoverflow.com: ...
0
votes
0answers
49 views

xdg-open commands inheriting user directory

I've been having a fairly longstanding problem that is now preventing me from installing google-drive-ocamlfuse. When any CLI tries to run xdg-open URL it is not able to open the link in a webbrowser....
0
votes
0answers
125 views

Fix snap and ubuntu desktop store in 18.04

At some point during a purge I messed up my snap package on ubuntu 18.04. I can still install snap packages and use them perfectly from the command line, however, the software center does not know how ...
0
votes
0answers
40 views

xdg-open opened application not exiting cleanly

Ubuntu 18.04 Gnome desktop. I created a xdg-open (.desktop) script to start one of my applications: #!/usr/bin/env xdg-open [Desktop Entry] Type=Application Name=OVCC Comment=Open Virtual Color ...
0
votes
0answers
104 views

Chrome through xdg-open lose current session tabs and open new window

When I close google chrome with tabs and then open, I get all my tabs reopen(set this option in settings). But, when any app launch open any link(url_1), google chrome open new window with this link. ...
1
vote
0answers
115 views

16.04 problem uploading with Chrome, Ixdg-open open? doesn´t work

My Ubuntu 16.04 system can't upload from Chrome. It says: Please click Open xdg-open if you see the system dialog. If nothing prompts from browser, click here to launch the meeting, or download &...
0
votes
0answers
83 views

xdg-open command in terminal

when i use xdg-open with http it works fine But when i try opening it with https it says this Secure Connection Failed An error occurred during a connection to 10.0.2.15:22533. SSL received a ...
7
votes
1answer
4k 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'...
2
votes
0answers
69 views

Purge default-web-browser from xdg-settings

Is it possible to purge default-web-browser entry from xdg-settings for specific user? I.e. that if xdg-open with an url is called an error will be thrown instead of opening the url in the default ...
5
votes
1answer
7k views

xdg-open can't open applications from links

I'm using Kubuntu 19.10 and I have a problem with xdg-open. Every link that redirects to an application doesn't work. For example slack links: I am on their website, when the link of accessing a ...
0
votes
0answers
75 views

How to open all files that xdg-open opens in the terminal with gedit instead?

I've tried: xdg-mime default gedit.desktop text/plain But this doesn't work for .yaml files. It seems xdg-open does recognize those are text files, and thus tries to open them with some terminal ...
2
votes
2answers
266 views

How to open file browser with a specific file selected by default?

Let's assume a situation where I have a terminal emulator open on my GUI and I have changed my working directory to some specific directory. I know that current directory contains file xyz. Is it ...
0
votes
1answer
163 views

how to get links from chrome to open in firefox?

Firefox is my default browser but I have to run Chrome to be able to use PWAs (progressive web apps). when I click links in the PWA they always open a Chrome window. I've been playing with appending ...
0
votes
2answers
546 views

xdg-open: Open various tab at the same time

I am trying to open various tab at the same time using xdg-open my default browser is firefox. The following line works (for one tab): xdg-open https://stackoverflow.com But this one does not: xdg-...
1
vote
1answer
2k views

Any file download in Chrome keeps popping up Open xdg-open?

Recently I have installed Ubuntu 19.04 and all common required applications. However, in Chrome when I try to download a file (of any file extension), Chrome keeps popping up a message with text Open ...
9
votes
3answers
2k views

Opening Links from some applications takes a long time

When I click on links in some applications it can take up to a minute until the open in the browser. This is regardless if the default browser is chrome or firefox. Example applications where opening ...
5
votes
2answers
2k views

Trying to install a sw xdg-open: gnome-open: not found

I am trying to install this program and it gives me this error.
1
vote
0answers
401 views

Opening webdav ms-word:ofe|u| protocol links with LibreOffice

I use Ubuntu in my personal computer. Computers at work with Windows work with this link; it open the word file with microsoft office. ms-word:ofe|u|https://serveraddress/path/to/file.doc But in ...
3
votes
1answer
358 views

reveal file in default file manager with command line

I would like to open folder in default file manager an focus on specific file. I can do it with Notilus or Nemo (for example) notilus ~/folder/file.txt nemo ~/folder/file.txt but I want to use ...
4
votes
1answer
1k views

How do I close a pdf from Ubuntu command line?

Suppose I open a file (pdf) with a command line in Ubuntu by running xdg-open abc.pdf The pdf is shown in a pdf reader which is set as default. Now how can I close this pdf viewer from the command ...
2
votes
2answers
1k views

GitKraken Snap - Sign in with Github button not working

I installed the latest GitKraken snap (4.1.1) from Ubuntu Software on a fresh Ubuntu 18.04.01. When I run it and try to sign in with Github nothing happens, after some seconds a message appears in the ...
3
votes
1answer
172 views

Is there a way to extend xdg-open?

I hope the title is not misleading. I am using an note taking app that let's me open files from markdown notes: [read more](/path/to/file.pdf) I couldn't find a way to open it at a specific page. ...
12
votes
2answers
9k 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
0
votes
1answer
2k views

Open file with any application using xdg-open

How to open files without default application using xdg-open file_name? xdg-open file_name opens the file in default application. To play video files, it always opens with vlc which is set to default. ...
8
votes
2answers
913 views

How to locate and display a file

I want to locate and display an image. Is there any way to do so using pipe or ...? I wanna locate image X, i do locate X and the path is shown, but i can't send the output to xdg-open.
0
votes
0answers
380 views

Can I meddle with xdg-setting to open a popup asking me with which browser to open a link I just clicked?

I work on multiple browsers simultaneously. I wish that every time I open a link from outside a browser( let's say from a pfd) a window or a terminal pops up to ask me which browser to use. Is there ...
1
vote
1answer
433 views

Need an xdg-open tweak

I know that by running watch -n 10 xdg-open https://duckduckgo.com in the terminal, will open the specified site in a preferred browser at each 10 seconds. I am looking for a tweak which will close ...
1
vote
1answer
737 views

Why xdg-open should not be used as root?

**xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root.** Why does the manual page say the above ?
1
vote
1answer
323 views

`xdg-open .` opens file manager, but opens Audacious with sudo permissions

xdg-open . opens file manager, but opens Audacious with root permissions. It then proceeds to play all system sounds! I'm just trying to open the file manager with sudo. Is there a better way to do it?...
-2
votes
1answer
699 views

When I use the xdg-open command on a particular file it gives me > on the next line

I am opening a program with the command xdg-open file. I use this command a lot so I don't think this is a typing error. When I try to open this file it just gives me > on the next line and no ...
5
votes
1answer
2k 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 ...
0
votes
1answer
648 views

Open streaming video in Chrome

I am trying to stream baseball from the First Row Sports website running Chrome in Ubuntu 16.04 LTS. The URL is http://firstrowca.eu/watch/15570/1/watch-mlb-network.html. I followed a tutorial for ...
9
votes
1answer
13k 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 ...
8
votes
4answers
4k 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 --...
0
votes
1answer
795 views

Opening a file using xdg-open

I have a bash script which reads a file extension and list files of that extension using 'find' command. After that it reads name of the file. Now after this how can I open that file using name and ...
1
vote
1answer
233 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 ...
10
votes
1answer
34k views

In Ubuntu, xdg-open command is not working

I'm new with Ubuntu, and I read in another thread that to open a file in the default editor (gedit for me), I need to run xdg-open, but for some reason, when I run the command xdg-open app.js I'm ...
3
votes
1answer
1k views

How to make xdg-open to use kde-open instead of gvfs-open?

I have both gnome and KDE installed in my Ubuntu, but mostly I use KDE. When I execute: xdg-open <folder_name> it runs nautilus instead of dolphin (as gvfs-open also do). It seems to me ...
2
votes
1answer
786 views

Run script instead of opening Application (xdg-mime, gvfs-mime)

following this little hack, my goal is to upload any magnet link to my "remote" Desktop PC: https://blog.flo.cx/2011/02/how-to-open-magnet-links-on-a-remote-transmission-daemon-with-one-click/ ...
2
votes
0answers
365 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....
2
votes
3answers
621 views

Clicking link in PDF spawns thousands xdg-open processes

I have a PDF with a link to a web page, that used to work (it would open the link in firefox, via xdg-open). However, when I click it now, literally thousands of xdg-open processes are started and ...
0
votes
1answer
9k views

(chrome) Set default handler for magnet links ? [duplicate]

When I click on a magnet link Chrome/Chromium open Transmission ... I'm would like to change this to use Tixati
2
votes
0answers
1k 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. ...
3
votes
4answers
1k 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, "...