The freedesktop tag has no wiki summary.
14
votes
4answers
3k 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 ...
10
votes
2answers
700 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 ...
7
votes
1answer
292 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, ...
6
votes
1answer
638 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 ...
4
votes
5answers
4k 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 ...
4
votes
1answer
1k 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 ...
3
votes
1answer
279 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 ...
3
votes
2answers
637 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 ...
3
votes
1answer
1k 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.
3
votes
2answers
275 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
626 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 ...
3
votes
1answer
148 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 ...
2
votes
1answer
263 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
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 ...
2
votes
2answers
184 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?
2
votes
1answer
131 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:
...
2
votes
1answer
651 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. ...
1
vote
1answer
142 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 ?
1
vote
2answers
533 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
1answer
160 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"
...
1
vote
1answer
784 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 ...
1
vote
1answer
733 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
1answer
54 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 ...
1
vote
0answers
159 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 |
...
0
votes
0answers
143 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 ?