I haven't even started to understand what it is all about, but I have uncovered some inconsistencies which my limited experience is insufficient to explain.
The first thing I noticed is that the xdg-settings script includes LXDE in the desktops it purports to recognise, but it seems to fail. It tests for DESKTOP_SESSION=LXDE (it could also test for XDG_CURRENT_DESKTOP=LXDE as that exists too) but when I use
- Code: Select all
xdg-settings get default-web-browser
- Code: Select all
xdg-settings: unknown desktop environment
Well, I filed that under mañana and moved on.
Then I discovered that versions of the xdg scripts are shipped with Gambas source rpm so I thought I would check which versions I have. I checked the Mageia 2 package version and that is 1.1.0-0.rc1.2.mga2 but each of the xdg scripts in /usr/bin reports as version 1.0.2.
- Code: Select all
[richard@Bathtub bin]$ which xdg-settings
/usr/bin/xdg-settings
[richard@Bathtub bin]$ /usr/bin/xdg-settings --version
xdg-settings 1.0.2
One final(?) puzzle is the inconsistency in the rpm description of xdg-utils :
This version of xdg-utils contains the following commands:
xdg-desktop-menu: command line tool for (un)installing desktop menu items
xdg-desktop-icon: command line tool for (un)installing icons to the desktop
xdg-mime: command line tool for querying information about file type handling and adding descriptions for new file types
xdg-icon-resource: command line tool for (un)installing icon resources
xdg-open: opens a file or URL in the user's preferred application
xdg-email: command line tool for sending mail using the user's preferred e-mail composer
xdg-su: run a program as root after prompting for the root password
xdg-screensaver: command line tool for controlling the screensaver
Only seven of these files are actually installed - xdg-su is missing.
Incidentally, the Gambas 3 source does include xdg scripts with version number 1.1.0 rc1.
So I reckon the BIG question is "Is Mageia shipping the correct version of xdg-utils in its mga2 package?"
The little question is "Why do the xdg scripts not get the right information about my LXDE desktop?"
And the tiny question at the end is "If they did correctly identify my desktop, would they know what to do with the information?"
Here's hoping ...
Richard
See also Bug 7395