Capitalizing home directory names?

Questions about the project and the distribution - obviously no support questions here please

Capitalizing home directory names?

Postby cluelesscoder on Sun Oct 28, 2012 3:06 pm

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?
cluelesscoder
Level 1
Level 1
 
Posts: 12
Joined: Wed Sep 26, 2012 8:59 pm

Linux Mint is funded by ads and donations.
 

Re: Capitalizing home directory names?

Postby catweazel on Sun Oct 28, 2012 3:52 pm

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:
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: Capitalizing home directory names?

Postby cluelesscoder on Sun Oct 28, 2012 6:41 pm

Hopefully, none whatsoever in the distribution.

Why not?
cluelesscoder
Level 1
Level 1
 
Posts: 12
Joined: Wed Sep 26, 2012 8:59 pm

Re: Capitalizing home directory names?

Postby arinlares on Tue Oct 30, 2012 3:00 am

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.
arinlares
Level 1
Level 1
 
Posts: 13
Joined: Sun Feb 14, 2010 9:49 pm

Re: Capitalizing home directory names?

Postby baptiste on Wed Oct 31, 2012 7:39 pm

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
baptiste
Level 2
Level 2
 
Posts: 98
Joined: Sun Jan 22, 2012 12:25 am

Re: Capitalizing home directory names?

Postby cluelesscoder on Thu Nov 01, 2012 4:25 pm

Thanks! If there's a standard, I can't complain I guess. Capitalized and uncapitalized directory names is not the only inconsistency in Linux.
cluelesscoder
Level 1
Level 1
 
Posts: 12
Joined: Wed Sep 26, 2012 8:59 pm

Re: Capitalizing home directory names?

Postby wbchaney on Wed Jan 23, 2013 9:01 pm

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!
wbchaney
Level 1
Level 1
 
Posts: 1
Joined: Sat Apr 28, 2012 10:30 am

Re: Capitalizing home directory names?

Postby Pilosopong Tasyo on Thu Jan 24, 2013 6:43 am

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:
Image
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
Pilosopong Tasyo
Level 6
Level 6
 
Posts: 1121
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: Capitalizing home directory names?

Postby bjornmu on Thu Jan 24, 2013 6:10 pm

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
User avatar
bjornmu
Level 3
Level 3
 
Posts: 156
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: Capitalizing home directory names?

Postby baptiste on Wed Jan 30, 2013 6:26 am

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.
baptiste
Level 2
Level 2
 
Posts: 98
Joined: Sun Jan 22, 2012 12:25 am

Re: Capitalizing home directory names?

Postby bjornmu on Wed Jan 30, 2013 2:56 pm

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. :)
User avatar
bjornmu
Level 3
Level 3
 
Posts: 156
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Linux Mint is funded by ads and donations.
 

Return to Non-technical Questions

Who is online

Users browsing this forum: No registered users and 2 guests