Skip to content

Instantly share code, notes, and snippets.

@Vertecedoc4545
Vertecedoc4545 / DSLR-guide.md
Last active June 22, 2023 17:57
Use Canon DSLR camera as webcam with minimum latency posible
@Vertecedoc4545
Vertecedoc4545 / build-ubuntu-23.sh
Last active October 7, 2024 13:04
build-ubuntu-23.sh
#!/bin/bash
build-from-nothing () {
sudo apt-get install -y nala
sudo nala install -y meson wget build-essential ninja-build cmake-extras cmake gettext gettext-base fontconfig libfontconfig-dev libffi-dev libxml2-dev libdrm-dev libxkbcommon-x11-dev libxkbregistry-dev libxkbcommon-dev libpixman-1-dev libudev-dev libseat-dev seatd libxcb-dri3-dev libvulkan-dev libvulkan-volk-dev vulkan-validationlayers-dev libvkfft-dev libgulkan-dev libegl-dev libgles2 libegl1-mesa-dev glslang-tools libinput-bin libinput-dev libxcb-composite0-dev libavutil-dev libavcodec-dev libavformat-dev libxcb-ewmh2 libxcb-ewmh-dev libxcb-present-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-res0-dev libxcb-xinput-dev libpango1.0-dev xdg-desktop-portal-wlr hwdata-dev
mkdir HyprSource
cd HyprSource

Nvidia building

in ubuntu 23.04 the only thing you need to do at system level is:

  • add nvidia_drm.modeset=1 to /etc/default/grub in GRUB_CMDLINE_LINUX_DEFAULT=, and thats it
  • then you need to run sudo update-grub and reboot

after that we need to apply the patches:

@Vertecedoc4545
Vertecedoc4545 / Hyprland-Ubuntu.md
Last active November 9, 2024 02:40
Ubuntu 23.04 Build and Install instructions for Hyprland

Building on Ubuntu 23.04

You have 2 options, use the script descrived bellow or follow the instrutions

script in this gist if you want the source code

wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh