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
12 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
0answers
19 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
59 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 ...
2
votes
2answers
73 views

Is the Tango project dead?

Is the Tango Desktop Project dead? It looks totally abandoned to me...
4
votes
1answer
54 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).
2
votes
1answer
290 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
168 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 ...
2
votes
1answer
336 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
1answer
604 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
274 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" ...
7
votes
1answer
549 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
2answers
902 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 ...
0
votes
0answers
203 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 ?
3
votes
1answer
218 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 ...
1
vote
1answer
189 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 ?
5
votes
1answer
3k 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.
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 ...
1
vote
1answer
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 ...
4
votes
1answer
1k 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 ...
2
votes
2answers
1k 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 ...
18
votes
4answers
5k 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 ...
6
votes
5answers
9k 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 ...
1
vote
1answer
1k 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 ...
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 ...
1
vote
2answers
723 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 ...
1
vote
0answers
172 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 | ...
2
votes
2answers
878 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. ...
3
votes
2answers
318 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?
2
votes
2answers
200 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?
3
votes
1answer
471 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 ...
4
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 ...