2022 Developer Survey is open! Take survey.

Questions tagged [xdg]

For questions concerning the desktop environment utilities or standards and specifications of freedesktop.org (previously X Desktop Group, or XDG).

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

ChromeOS linux show in folder

When I click 'show in folder' in a Linux app running on Chrome OS, Visual Studio Code will be launched. I would much prefer the Chrome OS built in file manager to display the folder. I have found the ...
user avatar
  • 1
2 votes
1 answer
92 views

Why can't gio load info for my handler?

I'm trying to set up zoom and having a bit of trouble. At the top level, I would like to be able to open zoommtg: links with xdg-open. I get this right now: % xdg-open zoommtg: gio: zoommtg:: The ...
user avatar
0 votes
0 answers
34 views

Register xdg-open handler in order to redirect What's App to Chrome

When clicking a link, in the Chrome browser, e.g. https://api.whatsapp.com/send?phone=34690778198&text=Hola%20quiero%20informacion I get: Could not find any application or handler for whatsapp://...
user avatar
  • 121
2 votes
1 answer
161 views

OpenSSH modify location of user's specific files to comply with XDG specification

Is it possible to modify the default location of the user's specific files of OpenSSH (~/.ssh)? I've found the XDG base directory specification and I was wondering if it was possible to make OpenSSH ...
user avatar
  • 23
0 votes
1 answer
248 views

KDE: Unknown protocol 'unityhub' even though unityhub does exist

I'm using KDE Neon and have installed Unity Hub via it's AppImage and integrated it with my system. The problem is when I tried to install Unity Editor via UnityHub button on this Download Archive ...
user avatar
10 votes
1 answer
2k views

What does XDG stand for?

The XDG Base Directory Specification standardizes best practices for which folders a user-scoped programs may write to. What does XDG stand for, what's the story behind the name?
user avatar
0 votes
1 answer
28 views

xdg-mime query default http://google.com hangs

running a normal query xdg-mime query default http://google.com hangs until I move/remove ~/.local/share/applications/Steam output from running fbrokendesktop to try to find errors: $ ...
user avatar
0 votes
1 answer
126 views

Where does systemd actually search for units?

Today I spent too many hours figuring out what is wrong with my systemd which was refusing to find units in .config/systemd/user. The symptoms were: systemd-analyze --user verify <unit> worked ...
user avatar
3 votes
0 answers
337 views

How to configure xdg-open to open links in VMware Horizon Client

I had to reinstall Ubuntu for the first time today after it stopped booting. The last thing on my list I need to fix is setting up VMware Horizon Client. I have installed version 4.8. I need to log ...
user avatar
  • 131
1 vote
2 answers
741 views

How to set default variable for a single command with env variables?

I need to override default browser for single process. This process starts manually from npm scripts. To achieve this programmatically, I decided to override BROWSER environment variable right before ...
user avatar
0 votes
2 answers
344 views

How to avoid Firefox re-using a Firefox instance on another machine when sharing the same X11 DISPLAY?

With two Linux servers I experience over X11 some very surprising behaviour. Here the details about the situation: I have two remote Linux machines, Paula (RHEL6) and Marie (CentOS7). I connect to ...
user avatar
  • 173
0 votes
1 answer
119 views

Links from Discord is stuck

My default browser set correctly: XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default x-scheme-handler/https Checking /home/user/.config/mimeapps.list userapp-Nightly-T8BWRZ.desktop &BROWSER is unset ...
user avatar
  • 1
12 votes
4 answers
15k views

How to configure Firefox open Zoom URLs using Zoom application

I'm using a conference application called Zoom. There are URLs that can be clicked to open the application and let jump in right away to the meeting that ID existed in the URL. For example: https://...
user avatar
1 vote
1 answer
209 views

Is there any implementation of xdg-utils on MSYS2 or Cygwin?

Recently I have a project which need to to use tools in xdg-utils. However in order to make it compatible with windows, is there any implementation of this project on Windows? If there is not, is ...
user avatar
  • 725
5 votes
2 answers
1k views

Where should userspecific application log files be stored in GNU Linux?

This question is about log files produced by simple user applications. The files are specific to the user. Because of that /var/log is not a solution here. I can not find informations about such ...
user avatar
  • 250
9 votes
2 answers
16k views

google chrome. linux. XDG-OPEN keep asking me (forever) what to do with magnet links

(i'm on latest chrome beta (64) but it is happening in all the previous version of chrome i used.) when i press magnet links in google chrome, i get this card: Open xdg-open? so i mark to always ...
user avatar
  • 211
1 vote
2 answers
1k views

KDE recent documents

In KUbuntu in "Application Menu", there is the "Recent Documents" container-item: I suppose other DEs also have something similar. What is the way to add there some document manually? (E.g. to put a ...
user avatar
  • 78
4 votes
1 answer
4k views

Why is ~/.local/share a two-level directory?

I've never seen anything under ~/.local other than share, and the XDG Spec doesn't mention any other directories under .local. What is the motivation for having two levels of directories here as ...
user avatar
  • 205
0 votes
1 answer
2k views

xdg-user-dirs won't update in linux applications

I'm using Archlinux and I have two users in it. I created the first user when I was starting out with the system and this second is failry recent. The problem is, I can't access my xdg-user-dirs ...
user avatar
  • 111
2 votes
0 answers
1k views

Why does "xdg-open" with an URL open two extra empty tabs in Opera?

My xdg html default looks like this: $ xdg-mime query default text/html opera.desktop The Exec line in opera.desktop looks like this: Exec=opera %U Now, opening a tab in Opera like this: opera "...
user avatar
  • 5,317
1 vote
1 answer
1k views

How to remove unwanted menu shortcuts in KDE so they don't come back after an update?

Is there a recommended way to remove unwanted menu shortcuts from the application menu (XDG standards compliant). I've got a few packages that tend to install multiple shortcuts even though I only ...
user avatar
2 votes
1 answer
2k views

Downloads folder keeps coming back after I delete it

My downloads folder keeps coming back after I delete it. I want to have my home directory setup so that it looks like the following: desktop documents loads Per this answer I have changed my ~/....
user avatar
  • 2,957
1 vote
2 answers
1k views

Using a shell script: How to get the icon name (or path) of an open window in X-based window manager?

I am able to get window ids and window titles using wmctrl, but so far I haven't been able to get the path to the icon used by the window. I've tried looking at xdg utilities, but the closest was ...
user avatar
  • 761
2 votes
1 answer
2k views

Unable to switch to greeter

I'm using LightDM 1.16.5 along with the Awesome window manager on NixOS. After logging in, I am unable to switch users without first logging out of my current session. The command dm-tool switch-to-...
user avatar
7 votes
2 answers
1k views

xdg-open hogging the CPU by forking itself endlessly

Whenever xdg-open encounters a file it does not have a default application associated with it forks itself. This process repeats recursively until killed. While doing this, it of course takes up all ...
user avatar
2 votes
1 answer
90 views

Markdown files starting with '##' confuse KDE

I have an unusual problem with KDE in Arch Linux. In particular, Dolphin detects files with the .md file extension as MATLAB rather than Markdown files, but only when the file's first two characters ...
user avatar
0 votes
1 answer
170 views

deluge "open folder" uses wrong application

while xdg-mime query default inode/directory returns enlightenment_filemanager.desktop I'd want deluge open folder to use enlightenment file manager. is there a way to "reverse" the xdg-mine query ...
user avatar
  • 351
12 votes
2 answers
4k views

Problems with using xdg-mime default. The default was successfully set but it is not used via xdg-open

Directories keep opening in Firefox when I use xdg-open. I do not want this. I did: xdg-mime default dolphin.desktop application/x-directory and xdg-mime default dolphin.desktop inode/directory ...
user avatar
3 votes
1 answer
3k views

KDE launcher opens .desktop files in kate

Opening programs via the 'Application Launcher' menu, then selecting the program works. Using the launcher generated on the panel, eg by right-clicking on an open program, then selecting 'Show A ...
user avatar
0 votes
2 answers
994 views

Configure which program to use as terminal

I have created a neovim.desktop file for a (terminal) application that looks like this: [Desktop Entry] Name=Neovim MimeType=text/english;text/plain;... Exec=nvim -f %F Type=Application Terminal=true ...
user avatar
  • 1,638
3 votes
3 answers
16k views

XFCE Login Error: Unable to Load Failsafe Session

I'm having a problem logging into xfce under Arch Linux. Problem: After logging in (with Slim like I usually do), I get this error message: Unable to load a failsafe session Unable to determine ...
user avatar
26 votes
3 answers
15k views

What are the step to move all your dotfiles into XDG directories?

The XDG Base Directory Specification provide a set of directory one may used to store data that used to go in so called dot files/directory in the user folder. This post aims to help users who desire ...
user avatar
2 votes
4 answers
2k views

Mimetype not known on KDE (open-xdg, kde-open)

My system Archlinux with KDE, all upgrades done. I have libreoffice installed. The problem Every time I open a file from the terminal (for ex: open-xdg mypdf.pdf) I have a buch of warnings (see ...
user avatar
  • 165
3 votes
1 answer
2k views

Redirecting xdg-open to another system?

I frequently ssh into a linux system offsite and love to use tools like 'hub' and others that offer commandline tools that open X-apps (most commonly web-browsers). However, it always fails because ...
user avatar
  • 577
1 vote
1 answer
228 views

right-click (xdg-open) opened up some opaque windows covering my screen; xkill won't kill them

I right-clicked on something in chromium with relatively low memory. Chromium opened up some opaque right-click boxes and never filled them in and won't kill them. These are now covering part of all ...
user avatar
4 votes
2 answers
869 views

How do I get current icon theme name in linux?

Im writing small TODO applet for conky in lua. Id like to display small icon next to task, which matches current icon theme. I have already read which icon to look for on freedesktop.rg. How to get ...
user avatar
  • 151
2 votes
1 answer
869 views

Dissappearing those pesky .x* config files

I'm trying to force as many of my dotfiles as possible to honor $XDG_CONFIG_HOME (and friends) instead of crapping all over my home directory. This involves some minor tweaks to some common apps, but ...
user avatar
  • 1,451
6 votes
2 answers
1k views

!xdg-open <URL> doesn't open the website in my default browser

I am using gvim 7.3.401 on archlinux. The shell command :!xdg-open http://www.vim.org doesn't open my default browser with that link. In fact, it appears to do nothing. This works as expected within ...
user avatar
  • 163
66 votes
5 answers
83k views

Where should the XDG_CONFIG_HOME variable be defined?

The XDG specification talks about the XDG_CONFIG_HOME variable, but does not specify where it should be defined. Should we define it in /etc/X11/Xsession, or is it the window manager's config file ...
user avatar
3 votes
3 answers
6k views

Rename Linux home folder structure to system language

I have installed the Ubuntu distro first in Portuguese. Then, I decided I wanted the English language. I would like that the default folders like "Desktop" and "Documents" were renamed to this names, ...
user avatar
  • 631
27 votes
3 answers
24k views

How can I register a custom protocol with xdg?

I've been struggling this morning trying to associate an application with a custom protocol, namely emacsclient and org-protocol. I'm calling this protocol from a webbrowser bookmarklet, and I get ...
user avatar
  • 1,416
5 votes
3 answers
5k views

How to change the PDF reader of Chrome on Linux

It seems Chromium uses xdg-open to open PDF files. How do I change it to another PDF reader? I'm using Linux Mint 8 LXDE.
user avatar
  • 333
5 votes
4 answers
5k views

Picasa:// links in Google Chrome (Linux)

When I go to Picasa Web to see another user's album, I can download pictures using Picasa with it. This launched a URL like picasa://downloadfeed/?url=http%3A... In Firefox, when I click this, I can ...
user avatar
  • 3,721