You are not logged in.

#1 2015-06-09 21:25:44

kr3ck3n
Member
From: Romania
Registered: 2013-07-14
Posts: 17

Gnome 3.16 - ls & nautilus incorrect sorting

Recently switched from Xfce 4.12 DE to Gnome 3.16 and I have a problem with dirs & files sorting in terminal and nautilus.

Test directories (how it should be):

[ Pqr ] Abc Klm

My current order is:

Abc  Klm  [ Pqr ]

(in both terminal and nautilus)

Output of /etc/locale.conf:

LANG=en_US.UTF-8

Output of /etc/profile:

# /etc/profile

#Set our umask
umask 022

# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
    for profile in /etc/profile.d/*.sh; do
        test -r "$profile" && . "$profile"
    done
    unset profile
fi

# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
    . /etc/bash.bashrc
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH

Output of locale:

LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Output of localectl:

   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us,ro
     X11 Variant: ,

Output of locale -a:

C
en_US.utf8
POSIX
ro_RO.utf8

I tried in terminal to change the LC_COLLATE to C and en_US.UTF-8 before the ls command but nothing changes. Also added LC_COLLATE inside locale.conf, run locale-gen, restart - no result.

Also, I noticed something strange in ls -a (I don't know if this was happening back on Xfce): the dot dirs & non-dot dirs are mixed. Ex:

.cordova
Desktop
.gnome2_private
Google Drive

On Xfce everything was good. I installed thunar file manager, I thought its a nautilus problem (there are plenty of questions about this issue related to nautilus), but the sorting is still wrong.

Offline

Board footer

Powered by FluxBB