Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xdg]

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

0
votes
0answers
12 views

xdg-open gives “malformed url” when i try to open a magnet

Even from command "xdg-open [magnet-url]" it opens ktorrent and a pop up says "malformed url". From Firefox it works as it doesn't seem to use xdg-open, but i use Brave, not Firefox. I couldn't find ...
0
votes
0answers
10 views

Remove or deproritize default application binding

I've recently installed qtcreator which get bounded as default app for many mimetypes. How can I revert those changes to make all the cpp, hpp, ..., etc be openned by my default editor kate?
0
votes
1answer
59 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 ...
0
votes
2answers
202 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://...
1
vote
1answer
60 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 ...
0
votes
0answers
63 views

How to create .Xclients file on first login on linux via xrdp on xfce4 with xdg

I use a centos7 with Xfce4. Users that have an ldap account can login to this machine and their home directory is automatically created. If they first connect via xrdp the home directory and the xdg ...
1
vote
1answer
162 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 ...
1
vote
1answer
4k 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 ...
0
votes
1answer
464 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 ...
2
votes
1answer
935 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 ...
0
votes
1answer
658 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 ...
1
vote
0answers
587 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 "...
1
vote
1answer
238 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 ...
2
votes
1answer
786 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 ~/....
1
vote
2answers
444 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 ...
1
vote
1answer
1k 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-...
6
votes
1answer
822 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 ...
2
votes
1answer
64 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 ...
0
votes
1answer
140 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 ...
3
votes
1answer
908 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 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
751 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 ...
1
vote
3answers
6k 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 ...
14
votes
3answers
5k 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 ...
2
votes
4answers
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 ...
2
votes
1answer
447 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 ...
1
vote
1answer
194 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 ...
4
votes
0answers
464 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 ...
2
votes
1answer
490 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 ...
6
votes
2answers
851 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 ...
34
votes
3answers
33k 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 ...
3
votes
2answers
4k 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, ...
21
votes
3answers
13k 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 ...
4
votes
3answers
3k 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.
4
votes
4answers
4k 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 ...