cross-posted from: https://lemmy.world/post/21426498

I use nixos + greetd + tuigreet + hyprland. I missed to mention that I wanted to disable or hide the logs that gets shows when starting hyprland from tty terminal by writing Hyprland or when using greetd tuigreet. After entering my username and password, These logs show before hyprland starts, I want to avoid that

21 points

Disable? These can’t be disabled.

You mean you don’t want to see them? There is a package called Plymouth, which hints the logs and shows a Logo instead.

permalink
report
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
1 point

Yeah , no For system logs I have it on quiet but these are for when Hyprland starts. I forgot to mention that.

permalink
report
parent
reply
10 points

Hyprland > /dev/null

permalink
report
reply
5 points

Or push it to a file, just in general. That way if something goes tits up you can still check it later.

permalink
report
parent
reply
2 points

So does it mean passing --cmd Hyprland > /dev/null to Tuigreet? If so then that wouldn’t work with my setup, as I use sessions instead of cmd. Here is how I have it in nixos

    services.greetd = {
      enable = true;
      settings = {
        default_session = {
          user = "greeter";
          command = ''
            ${getExe' pkgs.unstable.greetd.tuigreet "tuigreet"} \
            --time \
            --sessions ${cfg.sessionDirs} \
            --remember \
            --remember-session
          '';
        };
      };
    };

The sessionDirs is this

modules.services.greetd.sessionDirs = ["${hyprlandPackage}/share/wayland-sessions"];

This is a link to my dotfiles where I have it:

permalink
report
parent
reply
1 point

You have NixOS, it’s easy to give it a custom session path for that.

Also I would use systemd-cat so the output goes into the journal instead of nowhere.

permalink
report
parent
reply
1 point

Would you be able to provide an example code? It would help me grasp the concept more effectively.

permalink
report
parent
reply
7 points

Why tho? The logs give you information & progress. After boot you don’t even see it.

I honestly wish Android booted like this.

permalink
report
reply
2 points

I know… For a long and I mean long time I had it, but yk I wan’t to hide it just to spice things up.

permalink
report
parent
reply
1 point
*

they go away so fast i can’t even read them, so, they serve no purpose to me, other than being a brief gross flash where my startup animation goes away

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8K

    Monthly active users

  • 3.7K

    Posts

  • 48K

    Comments