12
submitted 1 month ago by [email protected] to c/nix

So Ive been using nixos with gnome for almost a year now and things have been pretty smooth, it's just amazing, I never looked back since I started using it. So to make things more interesting and learn stuff I am trying to install hyprland, Ive no idea what window manager, compositor etc are, I have few questions Will installing hyprland delete gnome? Is hyprland not a desktop environment but something else? If yes, then how does it differ from one and what are its pros/cons? Would you suggest a clean installation to reduce bloating, or install on an existing system?

top 4 comments
sorted by: hot top controversial new old
[-] sudo 15 points 1 month ago

Hyprland won't "delete" gnome but gnome won't run at the same time as hyprland. Hyprland is effectively a replacement for something like gnome.

The login screen for your computer is called a display manager. If your running gnome this will probably be GDM. After installing hyprland there should be an option in GDM to select which desktop to start. Itll probably say something like

  • GNOME (x11)
  • GNOME (Wayland)
  • Hyprland (Wayland)

Select hyprland, log in, and you should be in hyprland. You won't be running gnome but all of the gnome apps should still be available.

Window managers control the placement of GUI programs on your display. Compositors in X11 control decorations, transparency, and after effects on those windows. In Wayland there is no separation between window managers and compositors, both are called compositors.

Desktop Environments refer to the collection of graphical programs you run when you log in. At minimum there will be a window manager but there also could be a compositor, panels, trays etc. Gnome is for sure a desktop environment and more. Hyprland is a Wayland compositor but can be considered a minimal desktop environment.

[-] [email protected] 2 points 1 month ago* (last edited 1 month ago)

To add on to this already good description, wanted to give my $0.02 on the notion of apps.

The only way it might seem like you lose app(lication shortcut)s might be if a tool other than GNOME's built in search is looking in a different directory, likely based off of an environment variable.

By default, hyprland doesn't come with an equivalent to GNOME search. I use wofi to get similar functionality, but there are many tools that can do the job. Just make sure they're looking in the right place or launch things manually from a terminal and you'll be all set!

[-] [email protected] 5 points 1 month ago

#nixos hashtag for mastodon :)

[-] [email protected] 1 points 1 month ago

@clot27 I'm still on x11, but maybe drakerossman.com/blog/wayland-… will answer some of your questions :)

this post was submitted on 17 Apr 2024
12 points (100.0% liked)

Nix / NixOS

1388 readers
2 users here now

Main links

Videos

founded 11 months ago
MODERATORS