Questions tagged [xdg]

The tag has no usage guidance.

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

XDG desktop/menu files and XFCE

I've been using XFCE for about a week now; I finally gave up on KDE on my desktop because of too many problems with the set-up there (switching between multiple users with multiple X servers running ...
5
votes
1answer
5k views

How to set an icon for custom mimetype in Linux Mint Mate?

I'm using Linux Mint 17.2 MATE I have a problem assigning an icon for custom (newly created) file type. My task: To set new double-click action and new icon for *.session files. My sequence of ...
9
votes
2answers
5k views

Who is creating Documents/Video/Pictures/etc. in home directory

I had Ubuntu-14.04 installed in a minimum configuration, i.e. with no X Windows support. Later I added x-server packages for my card, and a lightweight WindowManager (I don't want KDE or GNOME), so I ...
2
votes
0answers
51 views

Is there a single documentation page for all the XDG_* environment variables?

I can find documentation for some XDG_* here and there, but for many others I still don't know where to look. I have not been able to find a single document where the meaning of all these variables ...
8
votes
4answers
4k views

Installing files in ~/.local

When installing software compiled from source, I normally place them in /usr/local/, which is by far the most common default in my experience, and standard practice at least on Debian and its ...
3
votes
1answer
7k views

Autostarting .desktop application at startup not working

I have read that adding a .desktop file to /etc/xdg/autostart can start an application at startup. I did the same to execute my application. But nothing happens on startup. Following is the content of ...
3
votes
1answer
639 views

How can I change the order in which update-desktop-database puts the applications supporting a mimetype?

I am running manjaro linux which is built on top of Arch Linux. I use cinnamon desktop environment occasionally and Awesome for the rest. I am trying to figure out how I can get the system to choose ...
3
votes
1answer
797 views

What is xdg-icon-resource doing in addition to moving icons to destination?

Installing icons manually by copying files to /usr/share/icons/hicolor/256x256/apps/My256pxSquareIcon.png and using sudo xdg-icon-ressource install --theme hicolor --context apps --novendor --mode ...
3
votes
1answer
196 views

Emacs entry missing from window manager menus

Since some time ago I have no menu entry for Emacs anymore on my Debian system. The same happens on two different machines -- one running testing and one running unstable. I have tried switching ...
2
votes
1answer
588 views

How to have an /etc/xdg/autostart/app.desktop service wait for a (systemd) service?

TLDR: How to have an /etc/xdg/autostart/app.desktop service wait for a systemd service? Long: I have an app started by /etc/xdg/autostart/app.desktop that requires a systemd service to be started ...
1
vote
1answer
98 views

What is wrong with URI handling on Linux Mint?

I'm using Linux Mint 17.2 XFCE. I face very strange problem on my Linux Mint 17.2 XFCE. When I open files, that are located in paths with non-latin names (for example /home/yanpas/Загрузки) I see ...
1
vote
0answers
380 views

Generating xdg menu lua files on Debian

I'm trying to figure out how to generate a menu.lua for Awesome WM on Debian (actually Kali 2.0). In a nutshell it's a Lua file representing the structure of the Applications menu so it can be ...
2
votes
1answer
1k views

List mimetypes that default to a given .desktop file

I can list the mimetypes potentially handled by a .desktop file doing something like this: $ grep 'MimeType' /usr/share/applications/eog.desktop | tr ';' '\n' MimeType=image/bmp image/gif image/jpeg ...
1
vote
1answer
618 views

desktop agnostic icon theme lookup

How can you determine the user's icon theme without using neither GNOME nor KDE nor any other desktop specific programs/libraries/files? I could not find anything about how to determine users icon ...
6
votes
2answers
4k views

user-dirs.dirs reset at start-up

I wanted to have some of the sub-folders of my home directory (like Music, Downloads,Videos) on my hard-disk-raid instead of my SSD. Therefore I deleted those folders in my home directory, recreated ...
0
votes
1answer
572 views

System-wide desktop file installation for unpackaged software

I want to configure a locally installed unpackaged application to be started via applications menu in Debian. It should be independent of desktop environment and visible to all users. I don't want to ...
6
votes
2answers
1k views

Where should an app save working files?

I'm designing a GUI application that works with scanned documents. It allows the scans to be manipulated before they are saved/exported, so it needs to store the data for each scanned page ...
1
vote
1answer
65 views

Is there an xdg comliant DE independant “default-aplication-setter application”?

Topic is the question. Requirements: FOSS of course Independant of desktop environments is compliant with the Association between MIME types and applications standard Has optionally a neat GUI (my ...
3
votes
1answer
477 views

Why do desktop environments make custom xdg-open replacements?

Related to this answer on my previous question. So, XDG can handle it on its own: It can manage default applications - xdg-mime It can open file with associated application - xdg-open. Why do ...
2
votes
0answers
960 views

Autostart with AutostartCondition [closed]

I want to run some program at the certain condition. So I have created .desktop file and put it int /etc/xdg/autostart. Here desktop file is: [Desktop Entry] Type=Application Name=System Tray ...
2
votes
1answer
413 views

How to change my file/url association across all my DM/WM without using the GUI?

I have installed several Desktop Managers and Window Managers, and changing the file association can become a mess. I need some foolproof method which can allow me to change my user or system file ...
12
votes
2answers
3k views

How can I make IDLE the default editor for Python files?

If I double click on a Python file on my Gnome Classic desktop, it is not opened in IDLE. How can I make IDLE the default editor for Python files? I have tried to delete all the other programs that ...
3
votes
0answers
2k views

xdg user dirs: not relocating although set?

I relocated my home directories using XDG user dirs as mentioned here: how to make gnome use my home folder as Desktop folder? However, this does not work for me so far. I have set the Downloads ...
14
votes
1answer
6k views

How to validate/verify .desktop files?

I have a couple of .desktop files that aren't working as expected or not at all. I can't see any error anywhere and asking for help on each one seems unproductive. Is there a way I can verify that I'm ...

1
2