Questions tagged [xdg]

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

"XDG" stands for X Desktop Group. It is now freedesktop.org, but the XDG abbreviation continues to be used in association with the project and its standards.

freedesktop.org is a project to work on interoperability and shared technology for free software desktop environments for the X Window System (X11) on Linux and other Unix-like operating systems. The widely used X-based desktop projects, such as GNOME, KDE, and Xfce, collaborate with the project and incorporate the standards and specifications.

The elements of the freedesktop.org base platform, which includes software and specifications, have become the backend for higher-level application-visible APIs such as Qt, GTK+, XUL, VCL, WINE, GNOME, and KDE.

The freedesktop.org specification most familiar to users may be the one used for the desktop menu system. freedesktop.org also provides hosting for a number of other projects, including Wayland, a protocol to replace X11.

See:
- https://www.freedesktop.org/wiki/
- https://en.wikipedia.org/wiki/Freedesktop.org

54 questions
104
votes
7 answers

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 that needs to define this? I tried declaring it in…
NOLFXceptMe
  • 1,342
41
votes
1 answer

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?
31
votes
4 answers

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 use this directories as much as possible.
31
votes
3 answers

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 the following behaviour : In chromium, the "Launch…
julien
  • 1,596
13
votes
2 answers

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 Yet, when I try xdg-open /local I still get a firefox…
13
votes
5 answers

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://zoom.us/j/1234567890 But none of the URLs I tried…
13
votes
2 answers

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 files in the XDG Specificiations. Where should they be…
buhtz
  • 349
10
votes
2 answers

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 open these types of links... and then press open…
Azriel
  • 221
7
votes
2 answers

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 of my CPU and memory. It seems to be a rare…
6
votes
2 answers

!xdg-open 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 terminal vim How can I make it work in gvim too?
Maxim Kim
  • 163
6
votes
2 answers

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 compliant with it?
JeromeB
  • 63
5
votes
4 answers

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 choose to open it with /usr/bin/picasa and it…
raphink
  • 3,871
5
votes
3 answers

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.
chenge
  • 353
4
votes
3 answers

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 failsafe session name. Possible causes xconfd isn't…
4
votes
3 answers

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 name of current theme, so i can find appropriate…
roslav
  • 151
1
2 3 4