[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#770430: openbox: Fails to launch qtconfig



reassign 770430
retitle 770430 qt4-qtconfig: menu entry use wildcard
quit
On Fri, Nov 21, 2014 at 12:17:25AM -0800, Dan DeVoto wrote:
> Package: menu
> Version: 2.1.47
> Severity: normal
> 
> Dear Maintainer,
> 
> Using Openbox 3.5.2-8, when I attempt to launch qt4-qtconfig from the
> Openbox menu (under Debian --> Applications --> System --> Administration-->
> QtConfig) I get the following popup error:
> 
> Failed to execute child process "/usr/lib/*/qt4/bin/qtconfig" (No such file
> or directory).
> 
> Launching qtconfig from the command line or from launchers like Kupfer works
> fine.

Hello Dan and Debian Qt/KDE Maintainers, the menu file for qt4-qtconfig reads:

?package(qt4-qtconfig):\
        needs="x11"\
        section="Applications/System/Administration"\
        title="QtConfig"\
        longtitle="Qt Configuration Utility"\
        hints="Qt4 config tool"\
        command="/usr/lib/*/qt4/bin/qtconfig"

However the use of a wildcard in the command field is problematic:
If both /usr/lib/x86_64-linux-gnu/qt4/bin/qtconfig and
/usr/lib/i386-linux-gnu/qt4/bin/qtconfig are installed, then
this will expand to something nonsensical.

Also use of wildcards in command is not well supported by all the window manager.

Why not simply call /usr/bin/qtconfig-qt4 (which is a symlink to
../lib/x86_64-linux-gnu/qt4/bin/qtconfig ?

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: