Capitalizing home directory names?

Questions about the project and the distribution - obviously no support questions here please
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
cluelesscoder

Capitalizing home directory names?

Post by cluelesscoder »

I noticed that the directory names in /home are capitalized. Why is that? I find it annoying and Windowish, and more annoying because Linux is case-sensitive. Consistency is clean and gives me that minty feeling, and this isn't consistent.

Any chance of changing them to lowercase?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Capitalizing home directory names?

Post by catweazel »

cluelesscoder wrote:Any chance of changing them to lowercase?
Hopefully, none whatsoever in the distribution.

They're just symbolic links so you can delete and recreate them the way you want them.

Code: Select all

man ln
I find it ... Windowish
If linux being "Windowish" is an issue for you, you can also uninstall the gui and just use the command line.

Good luck with that :lol:
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
cluelesscoder

Re: Capitalizing home directory names?

Post by cluelesscoder »

Hopefully, none whatsoever in the distribution.
Why not?
arinlares

Re: Capitalizing home directory names?

Post by arinlares »

Blame whoever created the XDG standard. You can change them to whatever you want. Here's a relevant page in the Arch Wiki about it. It's quite easy to do this, while still ensuring everything will still work and look right, like having the cool icons for your Desktop, Music, and other folders.
baptiste

Re: Capitalizing home directory names?

Post by baptiste »

Wow, I never thought I would learn about this. Maybe I'll pierce the mystery of the /etc/xdg directory one day.


Main irking thing is "Documents" and "Downloads" being so close names, so when you use the terminal and want to get to one of them you type "cd Do" and hit TAB, TAB TAB.. damn! it doesn't autocomplete yet! :o
cluelesscoder

Re: Capitalizing home directory names?

Post by cluelesscoder »

Thanks! If there's a standard, I can't complain I guess. Capitalized and uncapitalized directory names is not the only inconsistency in Linux.
wbchaney

Re: Capitalizing home directory names?

Post by wbchaney »

cluelesscoder wrote:I noticed that the directory names in /home are capitalized. Why is that? I find it annoying and Windowish, and more annoying because Linux is case-sensitive.
@cluelesscoder, I agree wholeheartedly! It's definitely "Windowish" and having to stop and remember to hit the Shift button is akin to driving thru a parking lot and hitting a speed bump. Thanks for starting this thread.

@ariniares, thanks for the link, I'll be doing some research in order to tweak this behavior to my liking. That's one of the things I love about Linux, its' customization!
User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1432
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: Capitalizing home directory names?

Post by Pilosopong Tasyo »

baptiste wrote:Main irking thing is "Documents" and "Downloads" being so close names, so when you use the terminal and want to get to one of them you type "cd Do" and hit TAB, TAB TAB.. damn! it doesn't autocomplete yet! :o
So, it bothers you that much when all it takes is to type either a c or w after typing Do and a single Tab is all that's needed to autocomplete? D@mn! Talk about much ado about nothing! :lol:
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
User avatar
bjornmu
Level 3
Level 3
Posts: 189
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: Capitalizing home directory names?

Post by bjornmu »

That non-completion of Do<tab> irritates me too. :oops: At least they didn't use "My Documents" or something else with spaces in them. Space should never have been allowed in directory or file names, they create so many problems and inconveniences. :x
baptiste

Re: Capitalizing home directory names?

Post by baptiste »

I disagree
The best decision Microsoft ever made was to put a space in "program files", to prevent programmers from assuming they don't have to care about spaces.
On linux, you can escape space characters on the command line (have them be preceded by a \ character) as well as apostrophes and other "painful" characters.
User avatar
bjornmu
Level 3
Level 3
Posts: 189
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: Capitalizing home directory names?

Post by bjornmu »

The very fact that you have to escape or quote the spaces causes lots of headache if you try to do more complicated things that entering the name manually in a single command. I used to maintain a complex test driver system with the need to pass directory and file names back and forth and which should be portable across Windows/Linux/Whatever. Got a bug report from a Mac user that it didn't work if run from inside a directory which had space somewhere in its path. I started looking into how to handle those spaces but after a day of experimenting it became quite clear that this was simply not doable. :roll: Instead I made the program abort with an error if it discovered its current directory contained a space. :)
Locked

Return to “Non-technical Questions”