!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

204 Members
56 Servers

Load older messages


SenderMessageTime
30 Aug 2025
@emilazy:matrix.orgemilyI use macOS, my status can't get any lower :P15:27:28
@emilazy:matrix.orgemilybut I do like PaperWM15:27:35
@patka:envs.netpatka

I use macOS, and I like PaperWM*

Double problematic! You are lucky that you are Cool Emily, otherwise you'd have to leave now

15:29:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)pff15:30:27
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)there is worse fates than forcing people to leave15:30:38
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) like, being forced to use EOL gui frameworks only gasp! SDL1, Qt5, gtk2, outdated electron, you know the drill! 15:31:32
@emilazy:matrix.orgemilytbf I would probably use niri for the scrollable tiling experience these days18:21:10
@emilazy:matrix.orgemilybut it has been a few years since I was actively regularly using Linux-on-the-desktop18:21:25
@christoph-cullmann:matrix.orgChristoph Cullmann joined the room.18:31:52
@herz:uwu.rabbitictranslator.comHerz uwu joined the room.18:34:20
@basiqueevangelist:matrix.orgBasiqueEvangelist joined the room.18:35:11
@herz:uwu.rabbitictranslator.comHerz uwuSup 👋20:44:20
@herz:uwu.rabbitictranslator.comHerz uwu Some time ago (about a year ago) I was attempting to make a flake.nix that could be used to build a custom KDE/Qt application by simply running nix build and nix run on non-NixOS. It's a pretty simple flake:
{
  description = "A flake for building a KDE app";

  inputs = {
    nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
  };

  outputs = { self, nixpkgs, }: {

    defaultPackage.x86_64-linux =
      with import nixpkgs {
        system = "x86_64-linux";
      };
      stdenv.mkDerivation {
        name = "someapp";
        src = ./.;
        buildInputs = [
            qt6.full
            pkgs.glibcLocales
            pkgs.extra-cmake-modules
            pkgs.libGL
            kdePackages.kirigami
        ];
        nativeBuildInputs = [
            pkgs.cmake
            qt6.wrapQtAppsHook
        ];
      };
  };
}
20:45:32
@herz:uwu.rabbitictranslator.comHerz uwu It apparently works on NixOS according to a friend, but no on non-NixOS (openSUSE or Fedora).
But on non-NixOS I get the following when I try with one of my apps:
qt.multimedia.symbolsresolver: Couldn't load pipewire-0.3 library
qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
qt.qpa.wayland: EGL not available
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1 GPL version 3 or later
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
Failed to create RHI (backend 2)
Failed to initialize graphics backend for OpenGL.
20:47:21
@herz:uwu.rabbitictranslator.comHerz uwu It apparently works on NixOS according to a friend, but not on non-NixOS (openSUSE or Fedora).
But on non-NixOS I get the following when I try it with one of my apps:
qt.multimedia.symbolsresolver: Couldn't load pipewire-0.3 library
qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
qt.qpa.wayland: EGL not available
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1 GPL version 3 or later
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
Failed to create RHI (backend 2)
Failed to initialize graphics backend for OpenGL.
20:47:58
@herz:uwu.rabbitictranslator.comHerz uwuI'm aware of https://nixos.wiki/wiki/Nixpkgs_with_OpenGL_on_non-NixOS, but I'd like to know if I'm just missing something or, ideally, I could achieve this without needing nixGL.20:49:10
@herz:uwu.rabbitictranslator.comHerz uwu* I'm aware of https://nixos.wiki/wiki/Nixpkgs_with_OpenGL_on_non-NixOS, but I'd like to know if I'm just missing something or, ideally, if I could achieve this without needing nixGL.20:49:55
31 Aug 2025
@aloisw:julia0815.dealoisw That would require XDG_MENU_PREFIX=plasma- I think. In any case maybe these files should be moved to a separate output to avoid dragging in almost all of Plasma. 04:59:05
@k900:0upti.meK900 You can pull in your own Mesa and set that up nixGL style 05:14:51
@k900:0upti.meK900 But generally no 05:14:54
@k900:0upti.meK900The problem with graphics drivers is that even if we were to pull them in from the host system, there would be ABI fuckiness05:15:49
@k900:0upti.meK900 That is unavoidable 05:15:53
@sandro:supersandro.deSandro 🐧 If it is required to work then maybe it is unavoidable 10:33:55
@sandro:supersandro.deSandro 🐧Also what problem does the extra output solve? Not rebuild counts and on plasma you have the entirety of plasma anyway10:34:21
@aloisw:julia0815.dealoisw That entire issue is about using KDE apps on non-Plasma desktops to begin with. On Plasma XDG_MENU_PREFIX=plasma- is set automatically and obviously as you say the entirety of Plasma is already installed anyway. 13:10:41
@aloisw:julia0815.dealoisw If you want to e.g. use Dolphin on Niri then I don't know what ill effects XDG_MENU_PREFIX=plasma- will have (I do have set it myself and didn't notice any, but a lot about my desktop is fake Plasma to begin with) but having half of plasma is just a waste of disk space. 13:12:22
@sandro:supersandro.deSandro 🐧is that also a problem if we just set it for dolphin?13:17:33
@sandro:supersandro.deSandro 🐧only for the programs launched from it probably13:17:42
@aloisw:julia0815.dealoiswI do not know, I have it desktop-wide and it doesn't break anything that I care about, but don't know about other use cases.13:21:35
@aloisw:julia0815.dealoisw Also note that setting this environment variable is not enough. You always need that file somewhere in XDG_CONFIG_DIRS (plus the submenu *.directory files in XDG_DATA_DIRS). In addition you either need to link it to applications.menu as described in the issue, or set XDG_MENU_PREFIX=plasma-. 13:25:48

Show newer messages


Back to Room ListRoom Version: 9