NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.35k stars 13.58k forks source link

Cutefish dektop #131282

Open devalexandre opened 3 years ago

devalexandre commented 3 years ago

Project description desktop cutefish

Metadata

mdevlamynck commented 3 years ago

I've started working on it.

mdevlamynck commented 3 years ago

Here's my first draft: https://github.com/mdevlamynck/nixpkgs/tree/cutefish. Packages are under pkgs.cutefish (for example pkgs.cutefish.calculator). You'll need to set services.xserver.desktopManager.cutefish.enable = true; in your configuration to test it. It's still quite broken at the moment.

If you use flakes you can test with:

{
  inputs.cutefish.url = "github:mdevlamynck/nixpkgs/cutefish";

  outputs = { self, cutefish }: {
    nixosConfigurations.cutefish = cutefish.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [({ pkgs, ... }: {
        users.users.cutefish = {
          isNormalUser = true;
          initialHashedPassword = "$6$U30rr7Qn$I1BBvgsHb1sktmNNkNedJ1i2qsGShJ3h9aPCSOfsJNE5.NpcW6TjZVqT/V3kL1JrUN5buahbVj8d8veRsxIc2.";
        };
        services.xserver = {
          enable = true;
          displayManager.job.logToFile = true;
          displayManager.sddm.enable = true;
          desktopManager.cutefish.enable = true;
        };
      })];
    };
  };
}

and run nixos-rebuild build-vm --flake .#cutefish and then ./result/bin/run-nixos-vm. User cutefish with an empty password.

mdevlamynck commented 3 years ago

Testing on my laptop, it starts! Screenshot_20210812_172715

The launcher doesn't find any applications though, so I can't do anything other than opening the system settings app. It seems to be looking for apps in /usr/share/applications, I'm not sure how to nixify that. The filemanager does something similar and I guess that's why "open in a terminal" does not work either. Edit: patching /usr/share with /run/current-system/sw/share seems to fix it, now the launcher finds applications and can start them and "open in a terminal" works.

If you test on your machine I'd advice creating a new user and only login using cutefish with this user to avoid messing your current desktop settings.

p3psi-boo commented 2 years ago

Good job! I made a flake for it. https://github.com/p3psi-boo/nix-cutefish

eureka-cpu commented 1 year ago

Was there any further development with this desktop environment?

nixos-discourse commented 1 year ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/cutefish-de-with-nixos/32758/4

mdevlamynck commented 1 year ago

I haven't worked on it since that first draft. Looking at their github it seems there's a fork cutefishos-ubuntu and I'm not sure the original project is still active. And looks like there's not that many new packages. I can try to update my branch if anyone's interested but I'm not planning on maintaining it since I'm not using it.

eureka-cpu commented 1 year ago

I may just use your branch as a reference and try to use the more recent iteration of it

mdevlamynck commented 1 year ago

I tryed to update my branch to the latest cutefish (I didn't try the fork) on top of current nixpkgs master and it seems there have been breaking changes in KDE libs. Deprecated things that have been removed in KDE are still used by cutefish. Also cmake needs to be configured to use more recent c++ standards (at least c++20). After a quick look the fork also doesn't seem to be up to date.

eureka-cpu commented 1 year ago

Ah thanks for the tips!

arkimium commented 1 month ago

I think the last stage is to build it on ourselve's host.

arkimium commented 1 month ago

I think the last stage is to build it on ourselve's host.

Look at the trace message.

751cc3c0-cb75-46b5-a5c6-76153cb99444.jpg

Failed to build on my current system (NixOS 24.11 Vicuña unstable). There a software called c-ares in Version 1.17.2, the official, C-ARES Project, may deleted the old archive from the download links. So it cannot fetch the software and led to the builder crushed. It just mentioned that Since NixOS 21.X, Cutefish DE is no longer supported and be sunsetted. Thanks for developers support! So this may be the last time we see Cutefish worked on NixOS in 2022, the last goodbye for Cutefish.

P.S. Cutefish now is not be supported on Arch Linux though, it was supported and showed on archinstall in early 2024. But in the version of Linux Kernel V6.10, it doesn't appear in it. Debian now seemed to be the last G./L. distro that supported this DE.

Say goodbye to Cutefish DE.