Stack Exchange Network

Stack Exchange network consists of 175 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 [freedesktop]

FreeDesktop is an informal standards body mostly (but not entirely) focused on graphical technologies of UNIX operating systems. The FreeDesktop website hosts both specifications and software.

0
votes
0answers
21 views

How to list system tray icons and their processes?

I am writting a BASH script to monitor a program's status. That program is close source and I have no control over it. It can create an icon in system tray. What I need is knowing if currently there ...
0
votes
0answers
69 views

What is the correct way to associate MIME type with applications that have multiple desktop entries?

Description Applications in GUI environments represented by desktop entries (files with the desktop extension) can include a key called MimeType for supported MIME types for that application. Some ...
0
votes
1answer
55 views

Forwarding tcp to d-bus via socat failed

I'm trying to build a tcp proxy to my local session dbus daemon. I did socat TCP-LISTEN:55556,reuseaddr,fork,range=127.0.0.1/32 ABSTRACT-CONNECT:/run/user/1000/bus However, DBUS_SESSION_BUS_ADDRESS=...
1
vote
0answers
59 views

Are there reasons not to use ~/.local? [closed]

Long ago I discovered there was a freedesktop.org standard for where to store application-specific files in the user's $HOME: ~/.local (or, more specifically, the value of $XDG_DATA_HOME, along with ...
1
vote
0answers
32 views

Move from single configuration files to .d directories in Linux

Note: I am not asking specifically about rc as in The rc0.d,rc1.d,... directories in /etc Many guides on the internet and this website remember the days when Linux distributions by default used files ...
4
votes
1answer
554 views

How to identify the notification daemon?

I want to see which notification daemon is running. This is because I want to replace it, since it does not properly confirm the notification from blueman-applet. I mention that I am running the i3 ...
0
votes
0answers
132 views

Open Link (type 2) desktop files from the command line

I have a Link (type 2) desktop file that looks like this: $ cat example.desktop [Desktop Entry] Encoding=UTF-8 Name=Link to The World Wide Web project Type=Link URL=http://info.cern.ch/hypertext/WWW/...
6
votes
1answer
705 views

What does %k mean in Exec=?

Exec=sh -c "some command' %k No info in man sh and man exec on %k. What does %k mean here?
1
vote
3answers
803 views

Why do freedesktop .desktop files not allow relative paths?

The .desktop files have become the de-facto standard to easily access applications on Linux desktops, with executables not being easily startable from the GUI otherwise and many launchers not using ...
0
votes
1answer
91 views

.desktop files in non standard directories

I'm providing some applications to the users of my system through the use of an environment modules manager (i.e. Lmod). So I have a bunch of self-compiled applications out of the standard tree: for ...
7
votes
2answers
2k views

Find out the owner of a DBus service name

I can't find a way to find what program implements the org.freedesktop.Notifications service. Is it possible to ask DBus to tell me what program provides it? The reason for asking this question is ...
4
votes
1answer
1k views

Purpose of the autostart-scripts directory

A user can place .desktop files in his ~/.config/autostart/ directory to run a script on login (session start) in Gnome, or indeed any Freedesktop-compliant environment. But, on my openSUSE Leap 42.2 ...
2
votes
1answer
826 views

Desktop icon without image in Gnome (Debian Jessie)

Following the lessons learned here, I tried to add an icon to SoulSeek, the file sharing network. The problem is, different from RStudio which has a png file in one of its directories, SoulSeek runs ...
0
votes
1answer
68 views

freedesktop menus and redundancy of entries

i wanted to create my own menu in xfce, with only the items i needed. i succeeded with the following code: <Menu> <!--find *.desktop files--> <DefaultAppDirs /> <...
0
votes
1answer
101 views

GUI file managers infinitely loading folders never showing content [desktop: KDE5 - tested file managers: Dolphin, Thunar, Nautilus]

GUI file managers do not show any folder content anymore. Running KDE5 [plasma-desktop-5.7.5-1.fc23.x86_64] on Fedora 23 [4.7.4-100.fc23.x86_64] GUI file managers suddenly stopped to show contents of ...
1
vote
0answers
45 views

emacs slow to start read/poll/writev /org/freedesktop /org/gnome

On a Linux CentOS system where I am a non-root user, every time I start emacs-24.5 it takes about 30 seconds to show up: strace -tt -o emacs.strace ~/local/bin/emacs-24.5 There are some read/pool/...
1
vote
1answer
64 views

How to programmatically query the Freedesktop application database?

I know about xdg-mime which can query the mapping from MIME filetype to associated desktop application. But this can return mappings to non-existent applications, e.g. $ xdg-mime default non-...
2
votes
1answer
447 views

Where mimeopen saves default app config?

I associated pdf with Okular using mimeopen. Then I became curious where it had saved the configuration. My first guess was: $HOME/.config/mimeapps.list but it didn't contain the right entry. So I ...
3
votes
1answer
266 views

Is there a FreeDesktop command to open an open-with dialog similar to xdg-open?

is there a (FreeDesktop) Linux command to open an "open-with" dialog similar to xdg-open? I'm searching for some general desktop environment independent solution for showing something like this: Of ...
2
votes
0answers
704 views

Log dbus Desktop Notifications

Sometimes I get error messages in desktop notifications, such as this: Unfortunately, it's difficult to debug this. I can't use xprop to see the process id that sent it. It claims to be from ...
2
votes
0answers
49 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 ...
4
votes
1answer
393 views

Where are upower's icon-names defined?

When I run upower -i /org/freedesktop/UPower/devices/DisplayDevice (may be different on different machines, get a list with upower --enumerate), I get output similar to this: power supply: ...
1
vote
0answers
321 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 ...
4
votes
1answer
1k views

How does Linux detect mime type? [duplicate]

I have a PDF file with extension .pdf. If I remove .pdf - the file is still recognized as PDF file ($ file sample - output sample: PDF document, version 1.4.) What is the mechanism of filetype ...
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 ...
2
votes
0answers
678 views

Drag-and-drop without the drag

I sometimes need to drag-and-drop files onto an application. (Example — but my question here is not installing Chrome userscripts.) One solution is to use Dragbox, which opens a window from which I ...
1
vote
1answer
456 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 ...
1
vote
1answer
56 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
390 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
1answer
387 views

.desktop file. Correct exec path

I use Fedora. There are a number of programmes packaged in a security spin. Included desktop files work but open the programmes with root priviliges. How can I edit the desktop file shown here to ...
1
vote
0answers
86 views

How do I assign a value to the Path key in a .desktop file including the $HOME environment variable correctly?

I'm making a .desktop file for Minecraft. Nothing appears to happen upon executing the it. The Exec and Path keys in the file: Exec=java -jar Minecraft.jar Path=$HOME/.minecraft/ I've also tried ...
3
votes
2answers
1k views

How do I write a command for the Exec key in a .desktop file containing a reserved character correctly?

I'm trying to make a .desktop file for Minecraft. Nothing appears to happen upon executing the file. I've tried assigning the Exec key as follows: Exec= java -jar "~/.minecraft/Minecraft.jar" Exec= ...
7
votes
1answer
4k views

how to make gnome use my home folder as Desktop folder?

Environment: Debian 7, gnome-shell. I dislike having a Desktop folder and a Home folder. I like all the applications to use my home folder. Specifically I am concerned about nautilus and gnome-...
1
vote
1answer
156 views

Dragging and dropping tabs between browsers

When dragging a tab from Firefox to Chrome/Chromium, or the other way, why is it not accepted by the other browser? One would expect the tab that was dragged over to appear together with the other ...
9
votes
1answer
3k 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 ...
3
votes
1answer
2k views

How an application is chosen over others to open a particular filetype in Linux

Earlier my text/xml files were by default opened by firefox I think. Not sure of this because I do not remember exactly. Then I think I installed geany and then my text/xml files were always by ...
1
vote
1answer
303 views

How do I get a .desktop in KDE to open a new browser window?

I setup a link to web app that my company uses on my desktop, which resulted in a .desktop file like this: [Desktop Entry] Icon=/home/kris/Pictures/gplus.png Name[en_US]=Google Plus Name=Google Plus ...
2
votes
1answer
1k views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/...
10
votes
2answers
10k views

Gnome programs (eog/gnome-terminal) have a slow start and produce a DBus.Error.NoReply Warning

For some time, eog and gnome-terminal are starting very slowly on my (X)Ubuntu 13.10. I think other Gnome tools are affected too, but I don't use any others. Now I get a org.freedesktop.DBus.Error....
25
votes
1answer
5k views

How does xdg-open do its work

According to the man page, xdg-open will open a file using the application the user has configured. But how is that application actually determined? I can see no config files associated with xdg-utils,...
23
votes
4answers
8k views

Is there an “open with” command for the command line?

Does the command line have a way to get a recommended list of programs used to open a particular file, based on the file type? For example, a .pdf file would have an open with... recommendation using ...
4
votes
1answer
1k views

Create a custom XDG_DIR with custom icon

I'd like to create a custom XDG_CUSTOM_DIR directory in my home directory pointing to $HOME/Custom and assign an icon to it. I've done: xdg-user-dirs-update --set CUSTOM ~/Custom So far so good... ~...
0
votes
1answer
222 views

What happens between double-click in file manager and application launch?

What is the chain of apps involved in process of opening a file from a file manager? Consider these two moments, say it's Xfce 4 and a simple plain text file set up to open in Mousepad: I hit double-...
5
votes
2answers
349 views

Is the Tango project dead?

Is the Tango Desktop Project dead? It looks totally abandoned to me...
5
votes
1answer
349 views

How can I get information about my virtual desktops via the command line?

I'm curious how I can get information such as the dimensions of my desktop, which desktop is currently active, and what labels (if any) are set for my desktop enviornment (DE).
11
votes
1answer
7k views

xdg-open default applications behavior

When I have no defaults.list and mimeapps.list, xdg-open opens text/plain with gvim. But when I create defaults.list in /usr/share/applications/ and add the following lines : [Default Applications] ...
1
vote
1answer
578 views

Where place own application icons? How to get the current theme icons?

I'm developing a little application for Gnome, Unity and KDE desktops. I want the application icons to be fully theme aware. Now, I'm including the icons on the application directory on /usr/lib/my-...
8
votes
1answer
3k views

How to utilize XDG directories and paths in Bash?

I wonder how to access not only the variables defined in ~/.config/user-dirs.dirs with xdg-user-dir, e.g. "$(xdg-user-dir VIDEOS)", but also the following standard variables: XDG_CACHE_HOME:-$HOME/....
3
votes
1answer
3k views

What is the %U in `chromium %U` for inside chromium.desktop?

Is that specific for chromium, or does it have to do with the way unix/linux launches the command? What does it do?
2
votes
1answer
911 views

I don't have a “Desktop” bookmark in nautilus, but in Thunar?

I have xdg users configured manually, in ~/.config/user-dirs.dirs I have: XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Various" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$...