Hi,
I have recently noticed that xdg-utils description contain a xdg-su in the list of files:
$ rpm -qil xdg-utils
Name : xdg-utils Relocations: (not relocatable)
Version : 1.0.3 Vendor: (none)
Release : 2pclos2011 Build Date: lun. 22 août 2011 11:53:08 CEST
Install Date: lun. 22 août 2011 13:41:27 CEST Build Host: thenudiebar
Group : System/Base Source RPM: xdg-utils-1.0.3-2pclos2011.src.rpm
Size : 215092 License: GPL
Signature : (none)
URL : http://portland.freedesktop.org/wiki/
Summary : Interfaces and Tools to allow all applications to easily integrate with the free desktop configuration
Description :
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
Testsuite for xdg-utils is available from http://portland.freedesktop.org/wiki/TestSuite
/usr/bin/xdg-desktop-icon
/usr/bin/xdg-desktop-menu
/usr/bin/xdg-email
/usr/bin/xdg-icon-resource
/usr/bin/xdg-mime
/usr/bin/xdg-open
/usr/bin/xdg-screensaver
/usr/bin/xdg-settings
/usr/bin/xdg-terminal
/usr/share/man/man1/xdg-desktop-icon.1.bz2
/usr/share/man/man1/xdg-desktop-menu.1.bz2
/usr/share/man/man1/xdg-email.1.bz2
/usr/share/man/man1/xdg-icon-resource.1.bz2
/usr/share/man/man1/xdg-mime.1.bz2
/usr/share/man/man1/xdg-open.1.bz2
/usr/share/man/man1/xdg-screensaver.1.bz2
/usr/share/man/man1/xdg-terminal.1.bz2
$
So I thought it might be interesting to give it a try, but nothing happened, tried xdg-<tab>, xdg-su didn't appear, looked in the whole system, didn't find it. I didn't search further, until I noticed in PCLinuxOS Lxde (that I remastered with the French locale), that PCManFM was default configured with "xdg-su -c '%u'" in the advanced preferences, and I wondered why, if xdg-su is not provided, so I asked Neal, who told me that it is the default configuration in PCManFM, and that he never changes the configurations when he provides the program along with his Lxde versions.
I thought I would come here to ask about this:
* should we have xdg-su in the systems, or if not shouldn't the information about it be removed from the description ?
* how come it is setup this way in PCManFM ? Is it a default configuration which has not been modified ?
Of course it is not a big trouble, but I thought I would come and point to it, in case it can be fixed.
Regards,
Mélodie