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

Bug #1051575 reported by TK
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Xfce4 Settings
Invalid
High
systemsettings (Ubuntu)
Confirmed
Low
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)

Revision history for this message
TK (tkrishan) wrote :
Revision history for this message
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

Revision history for this message
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)
Revision history for this message
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)
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

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
Revision history for this message
Sean Davis (bluesabre) wrote :

Reassigning to systemsettings per upstream Xfce discussion.

affects: garcon (Ubuntu) → systemsettings (Ubuntu)
Changed in systemsettings (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
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.