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.
33
questions with no upvoted or accepted answers
6
votes
1
answer
3k
views
Force Firefox to use xdg-open to open downloaded files
Firefox in Kubuntu is broken, as it doesn't follow the system default applications that I can configure using "file associations" in the KDE Control Module. For example, it wants to open ...
4
votes
0
answers
3k
views
xdg-document is keeping my files open
I use Master PDf editor installed through flathub to edit some PDf files.
When I close it, I can sse by lsof | grep /media/<MYUSER>/<DEVICE> that xdg-document is keeping my file open.
What ...
4
votes
2
answers
844
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 ...
3
votes
1
answer
1k
views
mimetype not identifying pdf files: mime hell
I have never had issues with opening pdf files until recently. Then, I wanted to readup on the xcolor package for TeX and entered the following command:
texdoc xcolor
This has always worked, opening ...
3
votes
1
answer
2k
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 ...
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....
2
votes
1
answer
3k
views
Why does xdg-open use wslview?
Using Ubuntu 22.04 LTS, KDE Plasma 5, with wine 7.8 installed.
When I try to use the command xdg-open . the expected mime type (for inode/directory is Dolphin) is not invoked. Instead wslview is ...
2
votes
1
answer
804
views
snap: xdg-open does nohing
I am running Ubuntu 20.04. I installed only ubuntu-standard without GUI and then added awesome window manager without gdm. I use only startx.
Recently, I started using spapd. For instance, I have ...
2
votes
0
answers
546
views
Slow Image Opening with xdg-open/ eog in Folder of many Files
I am using Ubuntu 20.04 and I have a folder with many .png and .json files (+100k in total, no sub-folder within the folder).
When I tried to open one of its .png images with xdg-open abc.png or eog ...
2
votes
0
answers
281
views
Severe lag when opening "Files", xdg-open: "timeout was reached"
After a recent update "Files" either times out, or takes a significantly long time to open a file manager window.
When attempting to open window via 'xdg-open .', I encounter "gio: file:...
2
votes
0
answers
235
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 ...
2
votes
2
answers
2k
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 ...
2
votes
0
answers
675
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
0
answers
2k
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.
...
2
votes
1
answer
387
views
xdg-email can't find thunderbird
Clicking a mailto link in chromium-browser it executes
xdg-email mailto:[email protected]
(or maybe without "mailto:", which seems to be the same thing). In my case this opens kmail instead of ...
1
vote
0
answers
208
views
Ubuntu 22.04: xdg-open opening Text Editor instead of browser when called from C++ program
I'm a currently running on Ubuntu 22.04 and calling the following xdg-open system call from a C++ program:
QString cmd = "xdg-open /home/user/foo.html &";
int ret = system(cmd....
1
vote
1
answer
564
views
xdg-open not working via ssh terminal session
I have performed file association for my custom extension(.vwxy), I have created the mime specification file and the desktop entry file for that.
I m able to launch my application via xdg-open <...
1
vote
1
answer
99
views
cannot identify xdg-open behaviour for console application
I have created file association for a console application which accepts inputs from stdin and gives output at the stdout. It works normally when I run the application from the terminal using ./myExe. ...
1
vote
1
answer
128
views
Permissions makes libreoffice go in a crash-loop when opening from terminal
I am having some permission issues with libreoffice that I just don't have the technical provess to understand.
ISSUE
when I run localc directly from terminal, it goes into a loop: the program crashes ...
1
vote
0
answers
442
views
Can xdg-open open a different browser for specific URLs?
I'd like xdg-open to use a non-default browser when I click a work related link.
Maybe I could configure xdg-open to call a script when opening URLs. The script could open a different browser based on ...
1
vote
0
answers
158
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 &...
1
vote
1
answer
1k
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
2
answers
56
views
Open Microsoft Edge in Ubuntu
I run Ubuntu on my Windows laptop, and I only use the Microsoft Edge browser. I tried to used the 'xdg-open' to open the desire website, but Microsoft Edge is not listed in the supported browser.
Can ...
0
votes
0
answers
128
views
Prevent xdg-open to open mistyped files as URLs
I am often inadvertently trying to open incomplete filenames with xdg-open, because of the presence of several files with the same basename but different extensions, e.g. very-long-filename.tex, very-...
0
votes
0
answers
213
views
Discord app won't open through Brave browser. xdg-open
Whenever I want to join a new server I receive the pop-up for Open-xdg-open but this does nothing. This is only happening in Brave browser for Discord specifically, other apps and browsers are working ...
0
votes
0
answers
52
views
Snap browsers don't open pdf
I use chromium and firefox on kinetic, both don't open PDFs with system handler properly. If chromium is allowed to show PDFs, then firefox opens PDFs i a chromium window. If chromium is not allowed ...
0
votes
1
answer
289
views
How to start xdg-open shortcut within conda environment (Using app installed with conda as xdg-open app)
I installed QGIS using conda. If I start qgis from the terminal it works well as it has everything it needs to use in the PATH as defined by the conda base environment.
However I cannot pin that app ...
0
votes
0
answers
256
views
chromium+xdg-open Wireshark from an URL scheme handler: Couldn't run /usr/bin/dumpcap in child process: Permission denied
I need to start the local Wireshark from the web user interface of a web service to immediately start a capture session, using some external capture plugin to connect to the web service. When using ...
0
votes
0
answers
194
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
0
answers
341
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 ...
0
votes
0
answers
538
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 ...
0
votes
1
answer
934
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 ...
0
votes
1
answer
824
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 ...