KDE's systemsettings.desktop contains an invalid argument in Exec=

Bug #1051575 reported by TK on 2012-09-16
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Xfce4 Settings
Invalid
High
garcon (Ubuntu)
Undecided
Unassigned

Bug Description

The files systemsettings.desktop and kdesystemsettings.desktop contain the line:
Exec=systemsettings -caption "%c" %i

Executing this command results in:
systemsettings: Unexpected argument '%i'.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: systemsettings 4:4.9.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Sun Sep 16 09:18:05 2012
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120801)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kde-workspace
UpgradeStatus: No upgrade log present (probably fresh install)

TK (tkrishan) wrote :
TK (tkrishan) wrote :

I should add that as the systemsettings.desktop entry is embedded within the XFCE xfce4-settings GUI, it does not execute because of this error. This leaves XFCE users no way ot execute the KDE systemsettings from within the XFCE menus

Harald Sitter (apachelogger) wrote :

Both %c and %i are valid field codes as per [1]. Throwing at libxfce4menu, hoping it has something to do with desktop file processing :S

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

affects: kde-workspace (Ubuntu) → libxfce4menu (Ubuntu)
TK (tkrishan) wrote :

I agree, I incorrectly titled this bug.

To elaborate a bit, the problem is not in the entry file nor in the XFCE menus. When logging into a pure XFCE environment, the systemsettings.desktop works correctly from within the XFCE menus.

The problem is when logging into the Xubuntu environment. The "KDE system settings" are not displayed in the application menus, rather they are embedded within the xfce4-settings graphical user interface (see attached window capture, bottom left).

When attempting to run the program from within this window, xfce4-settings cannot correctly process the switches within the entry file. The %i prevents execution, the %c displays in the title bar as literally "%c".

affects: libxfce4menu (Ubuntu) → garcon (Ubuntu)
In , God12 (god12) wrote :

clicking on corresponding icon gives nothing.
The reason is printed into console:
systemsettings: Unexpected argument '%i'.
systemsettings: Use --help to get a list of available command line options.

systemsettings works just fine when executed manually, so xfce4-settings should call it with correct options. Also if call fails for whatever reason user should be presented with error message in gui instead of silent failure.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in garcon (Ubuntu):
status: New → Confirmed
Changed in xfce4-settings:
importance: Unknown → High
status: Unknown → Confirmed

This is not a bug in xfce4-settings, as it doesn't add parameters to the calls itself. Rather this would have to be fixed in systemsettings' .desktop file.

Changed in xfce4-settings:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.