Linux Mint OS Name in System Info

Asked by Irgum Burgum

Which file do i have to edit, to change the OS name in Mint? /System info shows different, then in os-release files pretty name/

Question information

English Edit question
Cubic Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
PJSingh5000 (pjsingh5000) said :

When you say "OS name" I am assuming you mean the information that is printed by the `lsb_release --all` command.

There is a standard set by LSB (Linux Standard Base) that linux distributions ~should~ follow.

The file `/etc/os-release` is tthe standard file.
However this may be a link to `/usr/lib/os-release`. If that is the case, then edit `/usr/lib/os-release`.

The file `/etc/lsb-release` is a legacy file that Linux Mint may be using, so make the same change there.

Therefore, you should make the change in all three files:

Linux Mint probably uses one of these, and you can experiment by adding different values in each and executing `lsb_release --all`. Also note, older versions of Linux Mint may have used a different file, out of these three, than newer versions use.

Also, note that PRETTY_NAME in `/etc/os-release` or `/usr/lib/os-release` is a long description. It is equivalent to DISTRIB_DESCRIPTION in /etc/lsb-release.

Be aware that Cubic will override the value you set for PRETTY_NAME or DISTRIB_DESCRIPTION **IF** you change the Version on Cubic's Project page. So, if you have updated either of these values, **and** you later change the Version of your Cubic project, always remember to edit these files and re-enter your own value.

Can you help with this problem?

Provide an answer of your own, or ask Irgum Burgum for more information if necessary.

To post a message you must log in.