I'm not sure what concequences will be of using the different ways, but I'd love to know.
The site's grammar will never be perfect, because most people here aren't English experts; I'm certainly not.
That said I think this might be a bit of a loaded question. To my knowledge the StackExchange
Network uses English in general rather than a specific variation, and as such rules about
capitalization may vary depending on which the OP is using. Personally I speak Canadian
English (woo Canada!) so that's what I'll be basing my answer from.
The Rules of Capitalization in Titles:
In English titles of books, articles, periodicals, newspapers, plays, operas and long musical
compositions and recordings, poems, paintings, sculptures and motion pictures, capitalize all
words except articles, conjunctions of fewer than four letters, and prepositions of fewer than
four letters. These exceptions are also capitalized when they immediately follow a period, colon
or dash within a title and when they are the first or last word in a title
Words that are normally prepositions are capitalized when they help form another part of speech
In titles containing hyphenated compounds, always capitalize the first element. Capitalize the second element if it is a proper noun or proper adjective or if it is as important as the first element
Complicated stuff, eh? So in summary a title should be entirely capitalized unless a word meets an exception to the rule.
Exceptions:
Conjunctions and prepostions under 4 letters like: the, and, or of are not capitalized provided they aren't the first or last word,
or followed by punctuation (eg: The Long and Unforgiving Road). A preposition is a word that links nouns
(REF)
. The best way to remember it being many prepostions say where something is positioned (eg: The Dog Is on the Bed).
A conjunction is a linking word (REF). You use
conjunctions to connect clauses (eg: The Blessed, and the Wicked).
A hyphenated word is normally capitalized (eg: The Politically-correct Answer), but if the second word is equally
important it can be capitalized as well; this won't happen very often.
Keep in mind that some words that normally function as a preposition can also in some circumstances be used in a non-prepositional manner.
In these cases the word is capitalized
(eg: Having Trouble Getting By While Living on a Watch-maker's Salary ). In this case "by" is not used to mean beside,
and therefore isn't a preposition so it's capitalized to distinguish it (even though it's under 4 letters).
When to Use What:
NetworkManager:
The program's name is "NetworkManager" so it should be used when referring to the program in
both the post content, and the post title (REF: https://wiki.gnome.org/Projects/NetworkManager).
Network-manager/network-manager:
The package name is "network-manager" (REF: https://help.ubuntu.com/community/NetworkManager).
Questions that are about the package itself should use the package name "network-manager" within
the post, but "Network-manager" within the title. Titles are capitalized! I suppose if you were
to wrap quotations around the word you wouldn't need to capitalize, but I'm not sure if quotes
are actually allowed titles; I couldn't find any information about that. :(
Network Manager/network manager:
This is neither the name of the program, or package and therefore merely means a network manager; not
the specific program NetworkManager. "Network Manager" would be for the post title, and "network manager"
for within the post's content.
Application of What We've I've Learned:
It really depends on what variation of English the OP is using as to what will be correct, and I would
love to see a list of the different ways as it's done.
As far as Canadian English goes, I believe "Where are the network manager logs?" should be "Where Are the NetworkManager Logs?",
because it's a question about a program named NetworkManager. Of course I've never been great with grammar, and
I find all the different types of words very confusing.