▲ 1 r/NixOS

obs only recording the first frame on startup

when i start obs it sees whatever is on the screen at the time, and that is the video capture for as long as i record

this is not a hardware issue as before switching to nix it worked fine on arch

my window manager is niri + noctalia shell

i currently have obs installed through flatpak, but the issue was the same installing from nixpkgs

config:

  services.flatpak = {
    enable = true;
    remotes = [
      {
        name = "flathub";
        location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
      }
    ];
    packages = [
      "com.obsproject.Studio"
    ];
  };

i am using the wlr desktop portal (tried gtk and it wouldnt capture anything at all)

xdg.portal = {
    enable = true;
    extraPortals = with pkgs; [
      xdg-desktop-portal-wlr
    ];
    config = {
      common = {
        default = [
          "wlr"
        ];
      };
    };
  };

trying to refresh the source (pipewire screen capture) i see this, clicking anywhere updates the frame that is displayed, but its still only 1 frame

https://preview.redd.it/mbdiftz9byeh1.png?width=724&format=png&auto=webp&s=3e89de134e9dbb67fbfe444cedaa58c907ec1271

reddit.com
u/deanominecraft — 28 days ago

What do computers look like in the dprk now

A long time ago now an operating system called red star os was leaked, supposedly north koreas operating system - it was based on linux with the kde desktop environment.

as a tech nerd, i am wondering if the dprk still uses red star os and has continued to keep it up to date, or if they have ditched it in favour of more mainstream operating systems?

do they still mainly use linux, or have windows and macos become dominant like in the rest of the world?

do they make most of their own computers or import them from other countries like china?

is owning a desktop/laptop common? if not how easy are they to access in libraries or other public spaces?

reddit.com
u/deanominecraft — 29 days ago

why can 1 person grief gourmand for a whole lobby

just had one end in 3 minutes because 1 idiot decided to give don their mithril early, ending the event for everyone

admins, please make it so there isn’t any cap and it will guaranteed always run for 10 minutes

reddit.com
u/deanominecraft — 1 month ago
▲ 8 r/NixOS

nixos live usb won’t boot

what i have done:

downloaded iso from https://nixos.org/download/ (first minimal, after that didn’t work tried graphical)

installed ventoy to a spare usb

drag and dropped the .iso to the ventoy usb.

plugged the usb into my thinkpad and booted from it, selected nixos and was greeted with this

ps. tried with 2 different usbs, same results for both

u/deanominecraft — 2 months ago
▲ 2 r/rust

writing a bar for mangowm in rust with egui and i have some problems

first problem: with quickshell you can use a PanelWindow - and it wont be tiled, how do i do this in egui

second problem: i am using a for loop to create buttons for workspaces, but only the first one is visible

for i in 1..=10 {
    let color = if i == active_tag {
        Color32::from_rgb(255, 255, 255)
    } else {
        Color32::from_rgb(128, 128, 128)
    };
    let button = ui.button(RichText::new(i.to_string()).color(color));
    if button.clicked() {
        Command::new("/usr/bin/mmsg")
            .args(["dispatch", format!("view,{i}").as_str()])
            .spawn();
    }
}

creates a bar with only 1 button (that button works)

reddit.com
u/deanominecraft — 2 months ago

pros and cons compared to hyprland?

i am currently a hyprland user, considering trying out other options like niri and mango - what are the pros and cons of switching

extra info: i use arch (btw). currently use quickshell for my bar but open to using something else there as well

reddit.com
u/deanominecraft — 2 months ago