Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes old logo use by changing the backgrounds used #45731

Merged
merged 3 commits into from Sep 1, 2018

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Aug 29, 2018

Motivation for this change

image

image

They are the defaults used in an installed system.

Need I say more?

This also adds a set of necessary options to the grub2 module.

The PR in nixos-artwork does not strictly needs to be merged beforehand, but should be merged at the same time. This is using the GitHub feature where commit hashes of forks can be used in the source repository.

This partially addresses #11305

Things done
  • ✔️ Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • ✔️ NixOS
    • 🆖 macOS
    • ⬜ other Linux distributions
  • ✔️ Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests) → lightdm screenshot from the ligthdm test
  • ⬜ Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • ⬜ Tested execution of all binary files (usually in ./result/bin/)
  • ⬜ Determined the impact on package closure size (by running nix path-info -S before and after)
  • ✔️ Fits CONTRIBUTING.md.

The wallpaper used is *structurally compatible* with the other one,
meaning that the logo is at the same location, and not bigger.

It has one drawback: the logo is brighter, which clashes with the grub
usage. This is to be fixed with new options in grub.
The background color option is self-explanatory.

The mode is either `normal` or `stretch`, they are as defined by GRUB,
where normal will put the image in the top-left corner of the menu, and
stretch is the default, where it stretches the image without
consideration for the aspect ratio.

 * https://www.gnu.org/software/grub/manual/grub/grub.html#background_005fimage
This also includes a set of defaults *for this option*, where when not
used, other saner defaults are used.
Copy link
Member

@vcunat vcunat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. I tried grub2 + lightdm.

@vcunat vcunat merged commit 01259ef into NixOS:master Sep 1, 2018
vcunat added a commit that referenced this pull request Sep 1, 2018
@samueldr samueldr deleted the artwork/older-logos-removal branch September 1, 2018 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants