Giter VIP home page Giter VIP logo

debian-hyprland's Introduction

πŸ’Œ JaKooLit's Debian/Ubuntu Hyprland Install Script πŸ’Œ

For Debian 13 Trixie and SID and Ubuntu 24.04 Noble Numbat

GitHub Repo stars GitHub last commit GitHub repo size


♨️♨️♨️ ATTENTION ♨️♨️♨️ 30 Apr 2024

  • This script will not work on older build of Ubuntu like Ubuntu 23.10 and older. Due to depencies. If you want to install on Ubuntu 23.10, you can download the version v2.2.3 from the releases

Important

install a backup tool like snapper or timeshift. and Backup your system before installing hyprland using this script. This script does NOT include uninstallation of packages

Note

Main reason why I have not included an uninstallation script is simple. Some packages maybe already installed on your system by default. If I create an uninstall script with packages that I have set to install, you may end up a unrecoverable system.

Warning

Download this script on a directory where you have write permissions. ie. HOME. Or any directory within your home directory. Else script will fail

⚠️ Pre-requisites and VERY Important!

  • Do not run this installer as sudo or as root
  • This Installer requires a user with a priviledge to install packages
  • Needs a Debian 13 Testing (Trixie) Branch as it needs a newer wayland packages! I have tried on Stable Debian 12 Bookworm in which, Hyprland wont build.
  • In theory, it should also work on Debian SID (unstable) but I have not tested yet.
  • edit your /etc/apt/sources.list and remove # on lines with deb-src to enable source packaging else will not install properly especially Hyprland
sudo nano /etc/apt/sources.list
  • delete # on the lines with 'deb-src'
  • ensure to allow to install non-free drivers especially for users with NVIDIA gpus. You can also install non-free drivers if required. Edit install-scripts/nvidia.sh and change the nvidia stuff's if required
  • If you have login Manager already like GDM (gnome login manager), I highly advice not to install SDDM. But if you decide to install SDDM, see here Issue 2 - SDDM

Note

UBUNTU USERS: Will only work on Ubuntu 24.04. See above! For Ubuntu 24.04 LTS, no need to edit the /etc/apt/sources.list

Important

If you are using Gnome already, DO NOT install the SDDM. The GDM Login Manager works well with Hyprland. For some reason, during installation, you will be asked which login manager you wanted to use. But during my test, nothing happened.

Caution

For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 37 and 38 echo "echo "## for nvidia" | sudo tee -a... and echo "deb http://deb.debian.org/debian........

Warning

If you have GDM already as log-in manager, DO NOT install SDDM You will encounter issues. See Issue 2 - SDDM

πŸ“· Gallery

❕ Installed on Kali Linux 😈

alt text

❕ Installed on Ubuntu 24.04 LTS with Nvidia Laptop 😷

alt text

πŸ“· More updated Screenshots Here Link

πŸ“· Older Screenshots: v1Link & v2Link

✨ Youtube presentation V1

✨ Youtube presentation V2

✨ A video walk through my dotfilesLink

✨ A video walk through of My Hyprland-Dots v2Link

πŸ’―πŸ’― Check out Installation Video coverage by KSK royal (Ubuntu 23.10 + nvidia)

πŸ’―πŸ’― Check out Installation Video coverage by KSK royal (Kali Linux xfce + nvidia). He have details regarding installing timeshift and switching to sddm from lightdm. He also covers removal of nouveau in favor of proprietary nvidia drivers

πŸͺ§πŸͺ§πŸͺ§ ANNOUNCEMENT πŸͺ§πŸͺ§πŸͺ§

  • This Repo does not contain Hyprland Dots or configs! Dotfiles can be checked here Hyprland-Dots . During installation, if you opt to copy installation, it will be downloaded from that centralized repo.
  • Hyprland-Dots use are constantly evolving / improving. you can check CHANGELOGS here Hyprland-Dots-Changelogs
  • Since the Hyprland-Dots are evolving, some of the screenshots maybe old
  • the wallpaper offered to be downloaded towards the end is from this REPO

✨ Some notes on this installer / Prerequisites

  • This script is meant to install in Debian Testing (Trixie).
  • If However, decided to try, recommend to install SDDM. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland
  • πŸ•―οΈ network-manager-gnome (nm-applet) has been removed from the packages to install. This is because it is known to restart the networkmanager causing issues in the installation process. After you boot up, inorder to get the network-manager applet, install network-manager-gnome. sudo apt install network-manager-gnome See below if your network or wifi became unmanaged after installation
  • If you have nvidia, and wanted to use proprietary drivers, uninstall nouveau first (if installed). This script will be installing proprietary nvidia drivers and will not deal with removal of nouveau.

⚠️ WARNING! nwg-look takes long time to install.

  • nwg-look is a utility to costumize your GTK theme. It's a LXAppearance like. Its a good tool though but this package is entirely optional

✨ Costumize the packages to be installed

  • inside the install-scripts folder, you can edit 00-hypr-pkgs.sh. Do not edit 00-dependencies.sh unless you know what you are doing. Care though as the Hyprland Dots may not work properly!
  • default GTK theme if agreed to be installed is Tokyo night GTK themes (dark and light) + Tokyo night SE icons

πŸ’« SDDM and GTK Themes offered

  • If you opted to install SDDM theme, here's the LINK
  • If you opted to install GTK Themes, Icons and Cursor offered are Tokyo Nights. LINK & Bibata Cursor Modern Ice

πŸ”” NOTICE TO NVIDIA OWNERS

  • by default it is installing the latest and newest nvidia drivers. If you have an older nvidia-gpu (GTX 800 series and older), check out nvidia-debian website LINK and edit nvidia.sh in install-scripts folder to install proper gpu driver

Important

If you want to use nouveau driver, choose N when asked if you have nvidia gpu. This is because the nvidia installer part, it will blacklist nouveau. Hyprland will still be installed but it will skip blacklisting nouveau.

✨ to run or Use this script

clone this repo (latest commit only) by using git. Change directory, make executable and run the script

git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git ~/Debian-Hyprland
cd ~/Debian-Hyprland
chmod +x install.sh
./install.sh

✨ for ZSH and OH-MY-ZSH installation

installer should auto change your default shell to zsh. However, if it does not, do this

chsh -s $(which zsh)
zsh
source ~/.zshrc
  • reboot or logout
  • by default xiong-chiamiov-plus theme is installed. You can find more themes from this OH-MY-ZSH-THEMES
  • to change the theme, edit ~/.zshrc ZSH_THEME="desired theme"

✨ TO DO once installation done and dotfiles copied

  • SUPER H for HINT or click on the waybar HINT! Button

  • Head over to FAQ and TIPS

  • if you installed in your laptop and Brightness and Keyboard brightness does not work you can execute this command sudo chmod +s $(which brightnessctl)

✨ Packages that are manually downloaded and build. These packages will not be updated by apt and have to be manually updated

Tip

To update to latest packages, re-running this script will auto update all. Script is configured to pull latest packages build for you.

🀬 FAQ

Most common question I got is, Hey Ja, Why the heck it is taking long time to install? Other distro like Arch its only a minute or two. Why here takes like forever?!?!?!

  • Well, most of the core packages are downloaded and Build and compiled from SOURCE. There are no pre-built binary (yet) for Debian and Ubuntu. Unlike Other distros, they already have prepacked binary that can just download and install.

Note

This script does not setup audio. Kindly set up. If you have not, I recommend pipewire. sudo apt install -y pipewire

❗ some known issues on this Installer

  • some users reported that they have to install some packages. It is in the install-scripts/force-install.sh
  • At this time the packages force to install are the following imagemagick

πŸ«₯ Improving performance for Older Nvidia Cards using driver 470

πŸ™‹ Got a questions regarding the Hyprland Dots configurations? πŸ™‹

  • Head over to wiki Link WIKI

πŸ™‹ πŸ‘‹ Having issues or questions?

  • for the install part, kindly open issue on this repo
  • for the Pre-configured Hyprland dots / configuration, submit issue here

πŸ”§ Proper way to re-installing a particular script from install-scripts folder

  • CD into Debian-Hyprland Folder and then ran the below command.
  • i.e. ./install-scripts/gtk-themes - For reinstall GTK Themes.

πŸ›£οΈ Roadmap:

  • possibly adding gruvbox themes, cursors, icons

❗ some known issues for nvidia

  • reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was
 while in sddm press ctrl+alt+F2 or F3
log into your account
`lspci -nn`, find the id of your nvidia card
`ls /dev/dri/by-path` find the matching id
`ls -l /dev/dri/by-path` to check where the symlink points to 
)
  • add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config (.config/hypr/UserConfigs/ENVariables.conf) ; X being where the symlink of the gpu points to

  • more info from the hyprland wiki Hyprland Wiki Link

  • Does not work in Ubuntu 23.10 and older

  • sddm blackscreen when log-out

  • Installing SDDM if or any other Login Manager installed. See Issue 2 - SDDM

  • network is down or become unmanaged This might help

πŸ“’ Final Notes

  • join my discord channel Discord
  • Feel free to copy, re-distribute, and use this script however you want. Would appreciate if you give me some loves by crediting my work :)

πŸ‘πŸ‘πŸ‘ Thanks and Credits!

  • Hyprland Of course to Hyprland and @vaxerski for this awesome Dynamic Tiling Manager.

πŸ’– Support

  • a Star on my Github repos would be nice 🌟

  • Subscribe to my Youtube Channel YouTube

  • You can also buy me Coffee Through ko-fi.com or Coffee.com 🀩

Buy Me a Coffee at ko-fi.com

"Buy Me A Coffee"

πŸ“Ή Youtube videos (Click to view and watch the playlist) πŸ“Ή

Youtube Playlist Thumbnail

πŸ₯°πŸ₯° πŸ’–πŸ’– πŸ‘πŸ‘πŸ‘

Stargazers over time

debian-hyprland's People

Contributors

jakoolit avatar ppfloydde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

debian-hyprland's Issues

Give error

Configuring libcudal: amd64

Conflicting nouveau kernel module loaded

The free nouveau kernel module is currently loaded and conflicts with the non-free nvidia kernel module.

The easiest way to fix this is to reboot the machine

It gives me such an error, what should I do? There is no response when I press the "OK" button and Linux does not allow shutting down or restarting. I am using Kali Linux.

I'm using translation, sorry if there is any mistake :')

sddm Installation Menu Unresponsive to Arrow Key Inputs

Hello,

Thank you for the great project. I've encountered an issue on two machines during the installation process.

Upon running install.sh and reaching the "sddm" installation, the selection menu for "gdm3" and "sddm" does not respond to arrow key navigation as expected. Instead, the terminal displays ANSI escape sequences for the arrow keys, halting the installation process. The only way out is using "ctrl + C".

Steps to Reproduce:

  1. Run install.sh.
  2. Wait until the script reaches the "sddm" installation step.
  3. Attempt to navigate the menu using arrow keys.

Expected Behavior:
The arrow keys should navigate between the "gdm3" and "sddm" options.

Actual Behavior:
Arrow key presses result in displaying ANSI escape sequences, preventing menu navigation.

Screenshots:

IMG_5558
IMG_5559

I'll look into this issue and submit a PR if I find a solution.

Thanks,
Chris

Error setting value <$color2> for field <decoration:col.shadow>, stoll

Config error at line 59 (~/.config/hypr/UserConfigs/UserSettings.conf): Error setting value <$color2> for field decoration:col.shadow, stoll.
Hyprland may not work correctly.

I logged in to my desktop and found this red error at the top of the screen and my screen was blank, no Waybar. Except this, everything is okay. Everything seems to work fine, except for the waybar.

  • Linux Distro: Ubuntu 23.10
  • Linux Version, output of uname -a: Linux 6.5.0-14-generic x86_64 x86_64 x86_64 GNU/Linux
  • Hyprland Version: Tag: v0.32.3
  • Installation Environment: [ On The Main Hardware]
    [Add any other information about the problem here. For example, you might include the error message, any recent changes that you made to the project, or any other relevant details.]

Vulkan-ValidationLayers not available in trixie repos

It's not found anymore. I'm on SparkyLinux but the package isn't available. I tried to compile from github and instructions at https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/BUILD.md but once compiled instructions are not clear for the install or integration with hyprland. I compiled it but haven't fount how to install it and I wonder what part of the installation should I restart to have integration with Vulkan. And is it problematic not to have it at all ???

Black screen with cursor

I have used the install.sh it installs the hyprland but when I select hyprland after login black screen appears with just a cursor. Nothing to do then.

OS - Ubuntu 23.10 64bit
Ram - 8gb
Memory - SSD 256
Graphics- Intel HD (ILK)

[Bug]: Black screen after trying to login (Ubuntu 23.10 on a Virtual Box Machine)

Bug Report

Description

I installed Ubuntu 23.10 on a Virtual Box Machine on a Ubuntu 20.04.6 LTS machine as a host.
The virtual machine had 3D acceleration on.

Screenshot from 2024-02-10 11-35-41

I followed the steps to install from source and then, after the installation was successful, the login via Hyprland just gives me a black screen.

Steps to Reproduce

  1. I followed the steps to install
  2. edited the /etc/apt/sources.list
  3. Do you have nvidia - N
  4. Configure bluetooth - Y
  5. Install Thunar - Y
  6. Install and configure SDDM - N
  7. Install XDG-DESKTOP-PORTAL-HYPRLAND - Y
  8. Install zsh & oh-my-zsh plus pokemon - Y
  9. Install sway-lock - Y
  10. Install nwg-look - Y
  11. Install on Asus Rog - N
  12. Install dot files - N
  13. After it was done, I tried to login by choosing the Hyprland option (botton right corner)
  14. Black screen

Expected Behavior

I expected it to work? πŸ’―

Actual Behavior

Just a black screen. No cursor.

Screenshots

No need to add a screenshot since it was a just an entire black screen.

Environment

Host Machine
OS: Ubuntu 20.04.6 LTS x86_64
Host: 20UN002GPG ThinkPad X1 Nano Gen 1
Kernel: 5.15.0-92-generic
Uptime: 10 mins
Packages: 2910 (dpkg), 1 (brew), 11 (flatpak), 39 (snap)
Shell: bash 5.0.17
Resolution: 2160x1350
DE: GNOME
WM: Mutter
WM Theme: Orchis-Red-Dark
Theme: Orchis-Red-Dark-Compact [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: gnome-terminal
CPU: 11th Gen Intel i5-1130G7 (8) @ 4.000GHz
GPU: Intel Device 9a40
Memory: 5446MiB / 15709MiB

Virtual Box Machine Spec:
OS: Ubuntu 23.10 x86_64
Host: Virtual Box 1.2
Kernel: 6.5.0-17-generic
Shell: zsh 5.9
Resolution: 1280 x 800
DE: GNOME 45.2
WM: Mutter
CPI: 11th Gen Intel i5-1130G7
GPU: 00:02.0 VMware SVGA II Adapter
Memory: 3906Mib

[Suggestion] Option to disable the cycling border colors on the active window

First, Thank you so much for doing this. Amazing job getting it working so well with debian. Up until know I've only been able to use arch for hyprland.

I've been using it all day in a VM. The constant changing of the border color in the active window (In the settings.conf) is (for me) quite distracting and made it harder to use the GUI.

Not everyone may know where to go to disable it or how to disable it. I suggest at the very least, put in a note in the documentation about it.

Thanks

[Bug]: font missing!

I think you need to add the font 'Icomoon-Feather'. Otherwise, there will be garbled characters in Rofi and Waybar.

Sddm Login infinity loop with r5 7640 cpu integrity graphics card

Hi,
Today, I watched the video from your channel.
I have the mini PC :
Ryzen 5 7640h cpu with integrated graphics card
16g * 2 ddr5 4800m Hz memory
Sn 580 nvme ssd hard disk.
I try the script you provided with installing debian testing version.
unfortunately,it 's also that i stuck on login page loop.
Then I installed the normal version linux for frontend job.
So I didn't record the log.
Ii saw the Nvidia same problem, but it's not works for me.
I just to remind other guys that it's more difficult to install hyprland in amd cpu with integrated graphics card especially on newer amd product.
But if others try and successfully install it. I will appreciate it.
thanks.

[Bug]: Build of Hyprland stops with linker error

Bug Report

Description

Linking breaks with undefined reference to wlr_backend_is_drm

[106/106] Linking CXX executable Hyprland
FAILED: Hyprland
: && /usr/bin/c++ -O3 -DNDEBUG -Wl,--export-dynamic -rdynamic  -rdynamic CMakeFiles/Hyprland.dir/src/Compositor.cpp.o CMakeFiles/Hyprland.dir/src/Window.cpp.o CMakeFiles/Hyprland.dir/src/config/ConfigManager.cpp.o CMakeFiles/Hyprland.dir/src/debug/CrashReporter.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprCtl.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprDebugOverlay.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprNotificationOverlay.cpp.o CMakeFiles/Hyprland.dir/src/debug/Log.cpp.o CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o CMakeFiles/Hyprland.dir/src/events/Monitors.cpp.o CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o CMakeFiles/Hyprland.dir/src/helpers/AnimatedVariable.cpp.o CMakeFiles/Hyprland.dir/src/helpers/BezierCurve.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Box.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Color.cpp.o CMakeFiles/Hyprland.dir/src/helpers/MiscFunctions.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Monitor.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Region.cpp.o CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Timer.cpp.o CMakeFiles/Hyprland.dir/src/helpers/VarList.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Vector2D.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLClasses.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLListener.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLSurface.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Watchdog.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Workspace.cpp.o CMakeFiles/Hyprland.dir/src/hyprerror/HyprError.cpp.o CMakeFiles/Hyprland.dir/src/init/initHelpers.cpp.o CMakeFiles/Hyprland.dir/src/layout/DwindleLayout.cpp.o CMakeFiles/Hyprland.dir/src/layout/IHyprLayout.cpp.o CMakeFiles/Hyprland.dir/src/layout/MasterLayout.cpp.o CMakeFiles/Hyprland.dir/src/main.cpp.o CMakeFiles/Hyprland.dir/src/managers/AnimationManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/EventManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/HookSystemManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/KeybindManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/LayoutManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/ProtocolManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/SessionLockManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/ThreadManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/XWaylandManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/IdleInhibitor.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/InputManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/InputMethodRelay.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Swipe.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Tablets.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Touch.cpp.o CMakeFiles/Hyprland.dir/src/plugins/HookSystem.cpp.o CMakeFiles/Hyprland.dir/src/plugins/PluginAPI.cpp.o CMakeFiles/Hyprland.dir/src/plugins/PluginSystem.cpp.o CMakeFiles/Hyprland.dir/src/protocols/FractionalScale.cpp.o CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o CMakeFiles/Hyprland.dir/src/protocols/Screencopy.cpp.o CMakeFiles/Hyprland.dir/src/protocols/TextInputV1.cpp.o CMakeFiles/Hyprland.dir/src/protocols/ToplevelExport.cpp.o CMakeFiles/Hyprland.dir/src/protocols/WaylandProtocol.cpp.o CMakeFiles/Hyprland.dir/src/protocols/XDGOutput.cpp.o CMakeFiles/Hyprland.dir/src/render/Framebuffer.cpp.o CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o CMakeFiles/Hyprland.dir/src/render/Renderer.cpp.o CMakeFiles/Hyprland.dir/src/render/Shader.cpp.o CMakeFiles/Hyprland.dir/src/render/Texture.cpp.o CMakeFiles/Hyprland.dir/src/render/Transformer.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/CHyprDropShadowDecoration.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/CHyprGroupBarDecoration.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/DecorationPositioner.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/IHyprWindowDecoration.cpp.o CMakeFiles/Hyprland.dir/protocols/idle-protocol.c.o CMakeFiles/Hyprland.dir/protocols/pointer-constraints-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/tablet-unstable-v2-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-layer-shell-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-output-power-management-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-screencopy-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/hyprland-global-shortcuts-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/hyprland-toplevel-export-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/xdg-shell-protocol.c.o CMakeFiles/Hyprland.dir/protocols/linux-dmabuf-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/xdg-output-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/fractional-scale-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/tearing-control-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/text-input-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/cursor-shape-v1-protocol.c.o -o Hyprland -L/home/mneuhaus/GIT/Debian-Hyprland/Hyprland/subprojects/wlroots/build -Wl,-rpath,/home/mneuhaus/GIT/Debian-Hyprland/Hyprland/subprojects/wlroots/build  -lsystemd  -lrt  -lwlroots  /usr/lib/x86_64-linux-gnu/libEGL.so  subprojects/udis86/libudis86/liblibudis86.a  /usr/lib/x86_64-linux-gnu/libxcb.so  /usr/lib/x86_64-linux-gnu/libwayland-server.so  /usr/lib/x86_64-linux-gnu/libwayland-client.so  /usr/lib/x86_64-linux-gnu/libwayland-cursor.so  /usr/lib/x86_64-linux-gnu/libdrm.so  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /usr/lib/x86_64-linux-gnu/libinput.so  /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so  /usr/lib/x86_64-linux-gnu/libpango-1.0.so  /usr/lib/x86_64-linux-gnu/libgobject-2.0.so  /usr/lib/x86_64-linux-gnu/libglib-2.0.so  /usr/lib/x86_64-linux-gnu/libharfbuzz.so  /usr/lib/x86_64-linux-gnu/libcairo.so  /usr/lib/x86_64-linux-gnu/libpixman-1.so  /usr/lib/x86_64-linux-gnu/libGLX.so  /usr/lib/x86_64-linux-gnu/libOpenGL.so && :
/home/linuxbrew/.linuxbrew/bin/ld: CMakeFiles/Hyprland.dir/src/Compositor.cpp.o: in function `CCompositor::initServer()':
Compositor.cpp:(.text+0x155ea): undefined reference to `wlr_drm_lease_v1_manager_create'
/home/linuxbrew/.linuxbrew/bin/ld: CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o: in function `Events::listener_leaseRequest(wl_listener*, void*)':
Misc.cpp:(.text+0x1cc8): undefined reference to `wlr_drm_lease_request_v1_grant'
/home/linuxbrew/.linuxbrew/bin/ld: Misc.cpp:(.text+0x1cf3): undefined reference to `wlr_drm_lease_request_v1_reject'
/home/linuxbrew/.linuxbrew/bin/ld: CMakeFiles/Hyprland.dir/src/helpers/Monitor.cpp.o: in function `CMonitor::onConnect(bool)':
Monitor.cpp:(.text+0x5e61): undefined reference to `wlr_backend_is_drm'
/home/linuxbrew/.linuxbrew/bin/ld: Monitor.cpp:(.text+0x5eac): undefined reference to `wlr_backend_is_drm'
/home/linuxbrew/.linuxbrew/bin/ld: Monitor.cpp:(.text+0x6797): undefined reference to `wlr_drm_lease_v1_manager_offer_output'
/home/linuxbrew/.linuxbrew/bin/ld: CMakeFiles/Hyprland.dir/src/render/Renderer.cpp.o: in function `CHyprRenderer::applyMonitorRule(CMonitor*, SMonitorRule*, bool)':
Renderer.cpp:(.text+0x10111): undefined reference to `wlr_output_is_drm'
/home/linuxbrew/.linuxbrew/bin/ld: Renderer.cpp:(.text+0x106e5): undefined reference to `wlr_drm_connector_add_mode'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:15: release] Fehler 1
make[1]: Verzeichnis β€ž/home/mneuhaus/GIT/Debian-Hyprland/Hyprlandβ€œ wird verlassen
make: *** [Makefile:31: all] Fehler 2

Steps to Reproduce

  1. ./install.sh

Ubuntu 23.04 - Hyprland not showing in login

Hi, I followed the instructions in the video (https://youtu.be/PMQf9gAt8FE?si=EWIBsGe7dKRwshQy) Once I restarted the computer, at the Login screen Hyprland was not present in the selection, by logging in with Ubuntu I notice that the installation changed the Ubuntu installation files. I fortunately have a backup made with Deja-dup restorable but would like to avoid having to restore it.

Is there ANY WAY to completely remove all the changes made by following the procedure? I would like to go back to my Ubuntu installation to before the attempt to install Hyprland.

hyprland won't start

(Using Ubuntu 23.10)
I installed everything I needed just to try if it worked on a vm before installing on my real system but when I select hyprland and log in it turns into a black screen and sends me back to the log-in screen, in case it's a question i'm using gdm, not sddm.

Note: I checked the logs and I only get one error, the package libjpeg62-turbo-dev won't install, I tried installing manually and I couldn't find it either so I tried installing libjpeg62-dev (I chose that one because it had a similar name I don't know the differences between them) and runing the install again but i't won't work either, any help is apreciated.

[Bug]: Script executed but Hyperland option not appears

Bug Report

Script executed but Hyperland option not appears

Hello, i make the steps necessary to install the Hyperland,
editing my sourcelist file, choosing the options and more.
But in login page of the system, the option to Ubuntu on Hyperland not appears, just Ubuntu and OPenBox.
The apps that install.sh install are installed successfully, like ZSH and others things.

Steps to Reproduce

  1. Execute the script install.sh following the recommendations

[What actually happened?]

Screenshots

image

Environment

I do not have NVIDIA GPU on my pc, just a AMD RYZEN with integrated processor.

ClipManager script with '/bin/sh' shebang contains Bash-specific syntax

Description:
ClipManager doesn't work

Actual Behavior:
When executing the ClipManager.sh script (with Bash as the default shell), it results in the following error:

chris@hostname:~/.config/hypr/scripts$ ./ClipManager.sh 
./ClipManager.sh: 8: [[: not found

This issue arises despite the script's shebang line specifying #!/bin/sh, implying POSIX shell compatibility.

Expected Behavior:
The ClipManager.sh script should execute without errors.

The shebang line suggests compatibility with /bin/sh, but it seems to be using Bash-specific syntax for the if condition. See reference: https://stackoverflow.com/a/49994023

[Bug]: After installation, i get a black screen

Bug Report

Description

After installation i get i black screen with a toast saying:
Config error at line 59 (/home/{user}/.config/UserConfigs/UserSetting.conf): Error setting value for field <decoration;col.shadow>. stoll Hyprland may not work correctly.

All the apps still work i just dont see my dektop

Steps to Reproduce

Install hyprland on latest ubuntu.

Expected Behavior

Desktop to show up

Actual Behavior

No desktop just a black screen

Screenshots

no need for a screenshot

Environment

  • Linux Distro: ubuntu 23.10
  • Linux Version, output of uname -a: 6.5.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 14:58:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • Hyprland Version, output of hyprctl version:Hyprland, built from branch HEAD at commit 9afdd61adeaf413afbe853dbc5fdf6853c8bde21 (props: bump ver to 0.32.3).
    Tag: v0.32.3

flags: (if any)

  • Installation Environment: main hardware
  • Other info: 1920:1080

Key bindings not working

I have installed the hyprland (on UBUNTU 23.1) as per the instructions and after successful installation some keybindings do not work, unable to edit keybindings and also app launcher doesn't show up.

Some of the key bindings that do not work are:-

  1. Super key + W
  2. super key (stand alone)
  3. super key + E
  4. super key + D

Visual Code doesn't load

Hi,

love your work.

I recently discovered that whenever I try to run Visual Studio Code in Hyprland environment, Hyprland automatically logs me out and I have to re-enter my password and login back. I downloaded Visual Studio from the Ubuntu Store (snap), issue doesn't occur in Gnome or KDE it's just with Hyprland.

Any ideas what causes this and how to fix it. I can use other editors like nvim, the issue only occurs with Visual Code.

Any help would be appreciated.

[Feature Request]: What should I need to upgrade newest Hyprland 0.37

Description

I'm on Sid, and I can found this
libdrm2:
Installed: 2.4.120-2
Candidate: 2.4.120-2
Version table:
*** 2.4.120-2 500
500 http://deb.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status
I wanna upgrade to newest version or even git. But I'm not sure what component I need more

Use Case

ALso I noticed that flatpak app dont follow my theme settings. I assume this's bcoz I lack of xdg-desktop-portal-hyprland

systemctl --user status xdg-desktop-portal-hyprland 10:59:35
Unit xdg-desktop-portal-hyprland.service could not be found.

I just wanna make sure that new version work with libdrm 2.4.120. Just tell me from your exp on other distro.

NVIDIA GPU not detected

(Tested on Debian "trixie" testing) When launching Hyprland it crashes, and the log file ends with "0 gpus detected"
All the kernel parameters are in place - I made sure the firmware is installed for the nvidia modules, and of course I rebooted my computer for changes to take place.
Any idea how to fix it?

Swww buil fails on ubuntu 23.10

Bug Report

Description

swww build fails

Steps to Reproduce

run the install script on ubuntu 23.10

  • Linux Distro: ubuntu 23.10

  • Linux Version, output of uname -a :Linux prakash-REV-1-0 6.5.0-21-generic #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 14:17:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  • Hyprland Version, output of hyprctl version: Hyprland, built from branch HEAD at commit 9afdd61adeaf413afbe853dbc5fdf6853c8bde21 (props: bump ver to 0.32.3).
    Tag: v0.32.3

  • Installation Environment: main hardware

  • Other info: 1920*1080

logs

Compiling time-macros v0.2.16
error: failed to run custom build command for utils v0.8.2-master (/home/prakash/Downloads/swww/utils)

Caused by:
process didn't exit successfully: /home/prakash/Downloads/swww/target/release/build/utils-122dfc20d02ff268/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LIBLZ4_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBLZ4_STATIC
cargo:rerun-if-env-changed=LIBLZ4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
thread 'main' panicked at utils/build.rs:5:10:
called Result::unwrap() on an Err value:
pkg-config exited with status code 1

PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags liblz4 liblz4 >= 1.8

The system library liblz4 required by crate utils was not found.
The file liblz4.pc needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.

HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing liblz4.pc.

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

[Bug]:

vulkan-validationlayers failed to install

How can I fix it , Is it effect when I use Hyprland? I'm installing it on kali linux

also I have uncommented the #deb-src

Non-native apps do not render

The installation works fine, but when I install apps such as discord and chromium where show up unfilled rectangles. I used the v1 script from the original version on my laptop and it worked fine. I am now trying the v2 version on my desktop and this happens. After first seeing the issue, i deleted the partition and tried again, however the issue persists.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.