After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665377 - Incorrect locale settings when launching application via keyborad shortcut
Incorrect locale settings when launching application via keyborad shortcut
Status: RESOLVED DUPLICATE of bug 582436
Product: gnome-control-center
Classification: Core
Component: Keyboard
3.2.x
Other Linux
: Normal major
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-02 10:11 UTC by Artur Flinta
Modified: 2011-12-03 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Artur Flinta 2011-12-02 10:11:48 UTC
When I launch application via keyboard shortcut (System Settings -> Keyboard -> Shortcuts -> Launchers) it does not inherit locale settings as application launched from menu or via ALT+F2 launcher.
For example:
On gnome-terminal launched via shortcut I have:

[aflinta@0708NOT01371 ~]$ set |grep LC_
    for i in $(LC_ALL=C $prog --help);
    for i in $(LC_ALL=C $prog --usage);
    local LC_CTYPE=C;
            __grubcomp "$(LC_ALL=C $prog --help |                         awk -F ":" '/available formats/ { print $2 }' |                         sed 's/, / /g')";
            __grubcomp "$(LC_ALL=C $prog --help |                         awk -F "[()]" '/--target=/ { print $2 }' |                         sed 's/|/ /g')";

But on gnome-terminal launched via ALT+F2 I have the following output:


[aflinta@0708NOT01371 ~]$ set |grep LC_
LC_MEASUREMENT=pl_PL.utf8
LC_MONETARY=pl_PL.utf8
LC_NUMERIC=pl_PL.utf8
LC_TIME=pl_PL.utf8
    for i in $(LC_ALL=C $prog --help);
    for i in $(LC_ALL=C $prog --usage);
    local LC_CTYPE=C;
            __grubcomp "$(LC_ALL=C $prog --help |                         awk -F ":" '/available formats/ { print $2 }' |                         sed 's/, / /g')";
            __grubcomp "$(LC_ALL=C $prog --help |                         awk -F "[()]" '/--target=/ { print $2 }' |                         sed 's/|/ /g')";

All locale setting were set via System Settings -> Region and Language.
Comment 1 Bastien Nocera 2011-12-03 11:44:59 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 582436 ***