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.

learn more… | top users | synonyms

1
vote
0answers
7 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 ...
4
votes
1answer
189 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 slow on my (X)Ubuntu 13.10. I think other gnome tools are affected, too, but I don't use any else. Now I get a ...
1
vote
3answers
2k views

How to restart polkitd?

My desktop PC is also used as a NIS/NFS server for a small workgroup. It runs for months without reboot. Recently I observed that when I log into a desktop session the computer becomes less ...
19
votes
4answers
7k views

How to properly and easy configure `xdg-open` without any enviroment?

I'm using OpenBox window manager without any desktop enviroment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser ...
0
votes
0answers
94 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 ...
15
votes
1answer
202 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 ...
2
votes
1answer
491 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
2answers
812 views

How to find human-readable information about file types recognized by `file`?

Searching, googling, I could not find any information about file types recognized by file. For example, an *.mp4 file is identified as "ISO Media" (while being able to play with VLC normally). This ...
19
votes
4answers
1k 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
0answers
53 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... ...
2
votes
2answers
957 views

Why does `xdg-mime query filetype …` fail to find a new added file type?

I installed a new file type to share MIME database. But xdg-mime query filetype cannot tell the new type. This problem only happens on my own Linux OS which does not use GNOME or KDE as its desktop. ...
0
votes
0answers
27 views

Correct permissions for a .desktop file

Some file managers do not allow the execution of a .desktop file if it doesn't have the executable bit set, however in most cases I see such files as just 0644, without the executable bit. When ...
0
votes
1answer
75 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 ...
3
votes
2answers
106 views

Is the Tango project dead?

Is the Tango Desktop Project dead? It looks totally abandoned to me...
4
votes
1answer
68 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).
4
votes
1answer
431 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: ...
3
votes
2answers
1k views

What is keeping Wayland from overthrowing X in Linux?

Everyone agrees that Wayland is better than X11 for your usual desktop. Why is X then used by every major distro then? Is it bugs, little compability from apps (is that even an issue?) or something ...
1
vote
1answer
220 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 ...
8
votes
2answers
1k views

How can I change the battery icon in the systray?

I have installed Gnome and Awesome window manager. The window manager has a panel that displays systray icons according to the freedesktop.org System Tray Protocol Specification. I'd like to change ...
6
votes
5answers
10k views

How to change Firefox icon shown on panel and menus?

I installed Firefox on Linux Mint Debian Edition with the Cinnamon desktop. This Firefox package doesn't use the regular Firefox icon, with the fox curled around the world ; it has what I call the ...
7
votes
1answer
686 views

Use M-C, M-V, M-A for Copy, Paste, Select All

I am using Kubuntu Linux 12.04 on a Macbook Pro, and I am seeking the ability to use the Command/Meta key for common shortcuts such as copy, paste, and select all. Attempted solutions: Remap Copy, ...
3
votes
1answer
721 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?
1
vote
1answer
308 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" ...
0
votes
0answers
224 views

Is there a graphic tool to add new url schemes like XX://?

I would like to add a few url scheme, e.g magnet://, and add a simple mimetype for it. So that I would be able to handle these links within my browser. Is there any graphic tool I could utilize ?
4
votes
1answer
242 views

How to fix xdg-mime for text formats

My xdg-mime makes mistakes. It recognizes an .html file containing Java code as a C++ file. I don't quite know the internal mechanism of xdg (eg. how it determines filetype). And I want to know how ...
4
votes
1answer
2k views

Adding bindings for ed2k:// links with xdg-open?

I want to use a customized program to handle "ed2k://" links , it already got a "*.desktop" file , but how can I bind it with xdg-open as the default handler ? Since I don't know the exact mimetype ...
7
votes
1answer
4k views

How to change the default program for a specific file extension system-wise in kde or xfce?

I'd like to have certain file extensions to be opened with some specific programs. What are the files the edit ? I have found in /usr/share/appplications/default.list but it doesn't work.
1
vote
1answer
199 views

Where to submit new mimetypes?

I've defined new mimetypes with file suffix, where should I submit my work, so that it will be included in future linux/unix distros ?
12
votes
2answers
1k views

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?

I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
2
votes
2answers
2k views

Guake throws an error on startup

I'm using Ubuntu-Server 12.04, but I wasn't sure if this was an Ubuntu specific question, so I'm posting it here. I got myself a graphical user interface by installing xinit and openbox (using ...
1
vote
1answer
2k views

XDG user directories

After installing Linux Mint Debian edition my .config/user-dirs.dirs looks like this: # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line ...
1
vote
0answers
177 views

Desktop Actions and mime types for a DRM file format

I want to handle a DRM file format, which adds an encryption wrapper outside of the protected content. Please see the diagram. _________________________ | DRM wrapper MIME | ...
3
votes
2answers
335 views

Is there a glibc API that can find the default handing application for a MIME type on linux?

I want to find the default handling application in my C program. Is there a C API with same functionality as xdg-mime query default mime-type on Linux?
3
votes
1answer
556 views

How can I find the application for a MIME type on linux?

Is there a linux API that can find the default application for a MIME type? Then I can use this application to open a file. I can not use xdg-open(url) because the file format is a wrapper format and ...
2
votes
2answers
208 views

Can shared-mime-info associate a MIME type to a desktop applications?

I can add a new MIME type in shared MIME-info, but how can I associates this MIME type with an application?
5
votes
1answer
2k views

Gentoo default application for opening files

On my Gentoo box running without a desktop environment, every time I try to open a file the system tries to open it with Firefox. I understand that without a desktop environment "open file" cannot ...