Closed NotAF0e closed 4 months ago
Have you updated the whole system, e.g. sudo pacman -Syu
?
When you run the installation script and it fails building some packages, you should see the yay/paru error saying "i tried build these packages: ........ but it failed". Try install all the packages in another terminal except for the hyprland-git, gradience-git, hyprpicker-git and python-cssutils (just to be sure you installed correctly all the other packages).
Then try fix those 4 packages individually and, in the installation script, press "ignore" when it asks you what to do with that error.
To solve the problem of gradiance and hyprpicker try installing the normal version (not the git one) (i had the same problem some weeks ago and i solved it like this).
For the hyprland i suggest you to uninstall the current version and install the git one manually.
I know it may be confusing so ask me if it is not completely clear.
To solve the problem of gradiance and hyprpicker try installing the normal version
maybe it's a good idea to have this in install.sh
i don't really care if a package is -git or not unless it's something i customize directly
Ok thanks @aleandro6804 and yes @clsty I have. I have checked and all other packages have installed just fine. I have installed gradience and hyprpicker with your method but hyprland-git is still failing. Can I just install the stable hyprland package instead? I am getting error making: hyprland-git-exit status 8
Can I just install the stable hyprland package instead
likely yes, just try it
@end-4 can you somehow force css utils to only install this version as the newer versions are broken #342
@end-4 ok I will try it
@end-4 can you somehow force css utils to only install this version as the newer versions are broken
idk, maybe chaotic aur
Ok everything is done, install script too. I have entered the tty to run Hyprland
to run it but it just puts me back to the tty login screen.
This is my crash log, sorry that it is not in plaintext, cant copy from tty to my local pc
This might actually be an issue because of the VM I will try again with different settings
Have you tried launching the Hyprland command not in the tty but in the console?
P.S. hyprland is known to suck in Virtual Machines (https://wiki.hyprland.org/Getting-Started/Master-Tutorial/#vm)
I will (Edit: Same error)
Ah man I might have to reformat my linux drive for the 1 millionth time lol. Ok I will repeat all of this on a fresh EndevourOS gnome setup
Ok I have got it working. So the solution would be to change the install script so that only working CSS utils is installed and not using git versions of gradience and hyprpicker
Maybe not, Firefox does not open (as well as most apps)
A tip: now you can specify another dependency list file.
I just added that option.
Run ./install.sh -h
to see usage.
Maybe not, Firefox does not open (as well as most apps)
this happens if you've logged in something else before hyprland. a reboot will help
Sorry I don't understand, why would I need the dependency list file? Would this be to fix the gradience and hyprpicker problems?
Sorry I don't understand, why would I need the dependency list file? Would this be to fix the gradience and hyprpicker problems?
You may need it if you want another package to install as alternative to the original one. Though only use it when you really sure.
I have rebooted but it does not automatically boot into Hyprland instead into gnome.
Edit: I booted hyprland from tty Firefox works
Do you mean that you can't see the entry in the greeter?
@aleandro6804 yes on the gnome login screen there was no cog to let me choose Hyprland
Probably you don't have hyprland.desktop in your entries
Add a file called hyprland.desktop in your /usr/share/wayland-sessions and put this inside:
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=Hyprland
Type=Application
(i'm using SDDM but it should work also in GDM)
That file already existed
Have you tried with SDDM?
No, whats the least destructive way of installing it? Or what about ly something minimal is better in my opinion. I find SDDM ugly edit: nvm you can customize it.
If you have systemd, you just need to install it from the official repository and then:
sudo systemctl disable gdm
sudo systemctl enable sddm
Thanks a lot, that worked
yes on the gnome login screen there was no cog to let me choose Hyprland
and you say the desktop entry already existed, which suggests you're using nvidia. there's this fix in arch wiki in case you wanna go back to gdm (you probably will) https://wiki.archlinux.org/title/GDM#Wayland_and_the_proprietary_NVIDIA_driver
Lol ok thanks. I feel like this issue highlights that the install script is not really great for new users. If I knew how to write one I would do a pull request. An example of an install script I've had a good experience is with the one from hyprdots. It does literally everything for you so when the script is done you are at the greeter with everyone ready
It does literally everything for you so
I dislike install scripts that do too much. From hyprdots readme:
The script modifies your grub config to enable Nvidia drm and theme
Subjective, but I think this is off-limit. I'd rather not have my system touched by a dotfiles script. What if I don't want to enable Nvidia?
Maybe it could be useful to ask during the installation if the user wants to automatically enable this feature or if he wants to install the normal version or the git one of the package
@aleandro6804 yeah i agree giving the user choice over how automated the install is would be great. Or maybe having it detect if there may be issues in the install for example for Nvidia users (Nvidia f you 🖕)
@end-4 yeah I see your perspective
I agree with @end-4 that the script should not do too much on system-level things.
Though, we already have some issues/discussions complaining about that they don't know how to launch Hyprland.
One of them even tried to run Hyprland inside kde by directly run Hyprland
in terminal emulator.
As the maintainer on the install script, I'm open to the idea that we could provide an option to automate the process, e.g. disable all DMs and let user to source some lines to enable autostart Hyprland on
(I still won't touch nvidia things. Though we can add it to the Wiki.)tty1
. I may work on it some days later.
I'll leave the main part on Wiki. Not able to find a suitable way to automate that in the script. Though I've made some changes to make it easier when using a tty for autostart Hyprland.
Done.
Wonderful, thank you all
When I run the install command on gnome EndevourOS
bash <(curl -s "https://end-4.github.io/dots-hyprland-wiki/setup.sh")
I get the following errors:
I can manually install an older version of cssutils with
makepkg -sic
(#342) but the other packages simply do not build correctly. I have also attempted to use EndevourOS with no de but the same issue arises.