Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: richie on 30 December 2024, 13:21:46

Title: hyprland crashes
Post by: richie on 30 December 2024, 13:21:46
I installed hyprland and it crashes when i try to open alacritty with keybind. It does not crash when i add "exec-once alacritty" in config and alacritty opens. but keybind makes it to crash. I searched online but no success. I also have pipewire , pipewire-pulse, wireplumber installed and i copied files to .config and add created a start script from which tries to run hyprland and pipewire.

however, when i try to 1st launch pipewire using script then it shows error that DISPLAY variable is not set as that time hyprland is not started yet. but when i 1st try to start hyprland and then pipewire using script then waybar is also not shown.
i just change position of hyprland execution command and pipewire exec command in script. please help.
Title: Re: hyprland crashes
Post by: atlanelan on 31 December 2024, 10:50:30
Install another terminal like foot, kitty or xfce4- terminal and check if they work properly. For pipewire no need to copy any configs. Just start pipewire, wireplumber and pipewire-pulse with exec-once in hyprland.conf.
You can start hyprland from tty as:
dbus-run-session Hyprland
Title: Re: hyprland crashes
Post by: matrixphil on 27 January 2025, 21:42:58
Try adding a slight delay before launching Alacritty with the keybind or adjust the order of execution in the script to ensure everything starts properly.