You're welcome.
[SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Nemo's sort by name underscoreFoldername not on top?!?
I want to thank polarvortex, gm10 and kind of rene for pointing me in the right direction! I have my underscore on top of the directory structure!
Source:
http://svmiller.com/blog/2019/07/notes- ... bettersort
The only difference, i did not make separate files, that gave me some errors at starting text editors and file managers. I later edited the original files and the errors went away.
Source:
http://svmiller.com/blog/2019/07/notes- ... bettersort
The only difference, i did not make separate files, that gave me some errors at starting text editors and file managers. I later edited the original files and the errors went away.
Re: Nemo's sort by name underscoreFoldername not on top?!?
You are welcome.
That's fine, as I mentioned, I'm doing the same. The
locales
package never receives updates so the risk of the changes getting overwritten isas good as zero.Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Ahh shoot... just found out that numbers are still above the underscore.
edit: and can i make an alias of dir or ls a constant? At every boot my settings of the dir command are gone
edit: and can i make an alias of dir or ls a constant? At every boot my settings of the dir command are gone
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
I'm not sure but that's probably a GTK thing. The terminal sorts it correctly, so off the top of my head I'm not sure how that could be addressed without a source code change. But I might be completely wrong on this, too.
Sure, add the alias to your
~/.bash_aliases
or ~/.bashrc
(Mint doesn't have the former by default so just stick it in the latter, it's al l the same).Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
You are right, in terminal when i do
ll
then all underscore is on top, the numbers are second, but they are not ascending. 1014 comes before 30. And filenames and directories are mixed. But that i have covered with the ls
command with a few options so directories are on top, then files. Until now i did a set alias everytime after a reboot, cause it would not stick. But i wil look into the bash_aliases thing!But file listing is not very consistent then if terminal and file managers handle that different.
Code: Select all
drwxr-xr-x 2 admin root 0 sep 4 15:17 1044/
drwxr-xr-x 2 admin root 0 jan 29 2018 11.22.63/
drwxr-xr-x 2 admin root 0 sep 4 15:16 3/
drwxr-xr-x 2 admin root 0 sep 4 15:15 30/
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
After logging in or before? You may have a different system locale than user locale.
setxkbmap LANGUAGE_CODE
to change it on the spot.Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
If i'm correct it is before and after.. does not matter, my special keys are always wrong.
What is the format for the language code? Dutch is 528 or 0031, but he does not accept that. Can i set that permanent in a file or so?
What is the format for the language code? Dutch is 528 or 0031, but he does not accept that. Can i set that permanent in a file or so?
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Found this in
/etc/default/keyboard
Code: Select all
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="nl"
XKBVARIANT="std"
XKBOPTIONS=""
BACKSPACE="guess"
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Much simpler,
setxkbmap nl
. But that should already get set automatically if your GUI uses that, I don't know why it would be wrong. What desktop environment is that? You can configure your keyboard layout in the keyboard settings that you can access from the menu or control center.Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Indeed nl haha.. sometimes the obvious things....
Mmh.. but i think i found the problem! Setting it to nl made my keyboard have the same wrong layout as in the terminal!
So i have to set it back, and set them all to en i think. Cause now i can't find my special keys anymore!
Mmh.. but i think i found the problem! Setting it to nl made my keyboard have the same wrong layout as in the terminal!
So i have to set it back, and set them all to en i think. Cause now i can't find my special keys anymore!
edit: test wan toe trie !@#$%^&*(){}[]/><
They are back! Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
RemonK wrote: ⤴Wed Sep 04, 2019 10:41 am Thesetxkbmap
does not work..
Code: Select all
setxkbmap en Error loading new keyboard description
Code: Select all
setxkbmap gb
setxkbmap us
setxkbmap en_US
But I suggest instead you do this:
Code: Select all
sudo dpkg-configure keyboard-configuration
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Yeah i posted a little to quick! With the first i got it correct in the GUI again and for the terminal i found thisgm10 wrote: ⤴Wed Sep 04, 2019 10:59 ametc. You get the idea.Code: Select all
setxkbmap gb setxkbmap us setxkbmap en_US
But I suggest instead you do this:Code: Select all
sudo dpkg-configure keyboard-configuration
sudo loadkeys us
and that worked! I have the correct layout. But they say that it is not permanent... so maybe your last option is permanent?
Last edited by RemonK on Wed Sep 04, 2019 11:07 am, edited 1 time in total.
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Can't find the package..RemonK wrote: ⤴Wed Sep 04, 2019 11:03 am But I suggest instead you do this:Code: Select all
sudo dpkg-configure keyboard-configuration
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
typo:
Code: Select all
sudo dpkg-reconfigure keyboard-configuration
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
Ok, that works. But a question.. in my keyboard file it mentions PC105 model, but in fact i have a 104 model.. (Compaq KB9860 from 199*something, an old clicker). Should i let it on 105 (because it worked fine) or better 104 (because it is an 104) ??
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
If it works like you want it to I wouldn't bother.
Re: [SOLVED] Nemo's sort by name underscoreFoldername not on top?!?
I looked it up what that one key difference was.. the left shift is shorter and between shift and Z sits a key with \ and | character.. all this time on my old clicker and never knew that! But i don't have it so i set it to 104. EN_US international and everything works fine!
And now
May i thank you again for your help, Sir!
And now
CTRL
-SHIFT
-U
also works again! Nice!!May i thank you again for your help, Sir!