end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.1k stars 201 forks source link

[Issue] cant install it #486

Closed EsamLasheen closed 1 month ago

EsamLasheen commented 1 month ago
i can't install the config ```plain cp: cannot stat '.config/hypr/hyprland.conf': No such file or directory [./install.sh]: Command "cp -f .config/hypr/hyprland.conf /home/blue/.config/hypr/hyprland.conf.new" has failed. You may need to resolve the problem manually BEFORE repeating this command. ```
clsty commented 1 month ago

.config/hypr/hyprland.conf is a file in this repo.

Since the file is missing, you may download this repo again.

EsamLasheen commented 1 month ago

thanks bro it's work, but now i have problem in general.conf log is

config error at line 130 (/home/blue/.config/hypr/hyprland/general.conf): no such animtion Hyprland may not work correctly. image

clsty commented 1 month ago

Use AUR package hyprland-git.

EsamLasheen commented 1 month ago

image i use it , maybe i need to clear all configs i installed it beofre ? becuase i was use this config : https://github.com/AhmedSaadi0/my-hyprland-config/tree/main

clsty commented 1 month ago

The install.sh before its ending will inform you that ~/.config/hypr/hyprland.conf should be overwritten manually if it already exists, and it is your first time installation.

Though, this seems not to be the problem at present, since ~/.config/hypr/hyprland/general.conf is taking effect, thus ~/.config/hypr/hyprland.conf should already be there.

If clearing configs does not work for you, it is really weird.

A workaround is commenting out the line which causes the problem. (Btw my hyprland works fine with the same animation.)

But let's dig it futher: What's your output of hyprctl version? And have you restarted your system?

If the version is older than mine as below:

Date: Sun Apr 28 04:15:33 2024
Tag: v0.39.1-91-g2e763764, commits: 4551

Then you probably need a clean build and installing it again. A whether-to-clean-build prompt will show up when you use yay -S hyprland-git to install it, just answer A for all.

If the version is not older than mine, well... I guess clean build still worth a try. And don't forget to reboot system.

EsamLasheen commented 1 month ago
Hyprland, built from branch main at commit 3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e  (configmgr: fix parsing of touchdevice groups).
Tag: v0.32.3-86-g3caaa483

flags: (if any)

how i can update it to your's version ?

EsamLasheen commented 1 month ago

and look at the las line sudo: deluser: command not found

 ./uninstall.sh
Hi there!
This script 1. will uninstall [end-4/dots-hyprland > illogical-impulse] dotfiles
            2. will try to revert *mostly everything* installed using install.sh, so it's pretty destructive
            3. has not beed tested, use at your own risk.
            4. will show all commands that it runs.
Ctrl+C to exit. Enter to continue.
A
Removing copied config and local folders...
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/ags
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/fish
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/fontconfig
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/foot
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/fuzzel
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/hypr
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/mpv
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/wlogout
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/starship.toml
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.config/rubyshot
[./uninstall.sh]: Now executing:
rm -rf /home/la4een/.local/bin/fuzzel-emoji
Removing user from video, i2c, and input groups and removing packages...
[./uninstall.sh]: Now executing:
sudo deluser la4een video
sudo: deluser: command not found
clsty commented 1 month ago
Hyprland, built from branch main at commit 3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e  (configmgr: fix parsing of touchdevice groups).
Tag: v0.32.3-86-g3caaa483

flags: (if any)

how i can update it to your's version ?

Just run yay -S --answerclean=a hyprland-git.

and look at the las line sudo: deluser: command not found

Sorry but I'm not the one who write that uninstallation script. Also I recommend not to use it.

That deluser command seems just trying to remove your user la4een from group video, but this is actually not something important, so you can just ignore it.

EsamLasheen commented 1 month ago

Thank you, brother, for your help. ❤️ But I've got this log.


hyprctl version
Hyprland, built from branch main at commit 3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e  (configmgr: fix parsing of touchdevice groups).
Tag: v0.32.3-86-g3caaa483

flags: (if any)

la4een@mla4een ~> yay  -S --answerclean=a hyprland-git
Sync Explicit (1): hyprland-git-0.40.0.r39.85f7f690-1
[sudo] password for la4een: 
warning: hyprland-git-0.40.0.r39.85f7f690-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) hyprland-git-0.40.0.r39.85f7f690-1

Total Installed Size:  53.71 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling hyprland-git                                                                                    [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

la4een@mla4een ~> hyprctl version
Hyprland, built from branch main at commit 3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e  (configmgr: fix parsing of touchdevice groups).
Tag: v0.32.3-86-g3caaa483

flags: (if any)
clsty commented 1 month ago
  1. What's the output of which hyprctl?
  2. Have you reboot your system after installing hyprland-git ?

If your output of which hyprctl is /usr/local/bin/hyprctl, it's possibly because you already had directly built it from source without involving package manager. In such case, you need to execute rm /usr/local/bin/{Hyprland,hyprctl,hyprpm} as these files take precedence over the /usr/bin/* ones installed by the package manager.

EsamLasheen commented 1 month ago

yup i think it's it

yay -Qi hyprland-git Name : hyprland-git Version : 0.40.0.r50.33742291-1 Description : A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks. Architecture : x86_64 URL : https://github.com/hyprwm/Hyprland Licenses : BSD Groups : None Provides : hyprland=0.40.0 Depends On : cairo cpio gcc-libs glib2 glibc glslang hyprcursor hyprwayland-scanner libdisplay-info libdrm libglvnd libinput libliftoff libx11 libxcb libxcomposite libxfixes libxkbcommon libxrender opengl-driver pango pixman polkit seatd systemd-libs tomlplusplus wayland wayland-protocols xcb-proto xcb-util xcb-util-errors xcb-util-keysyms xcb-util-renderutil xcb-util-wm xorg-xinput xorg-xwayland libdisplay-info.so=1-64 libhyprlang.so=2-64 Optional Deps : chaotic-interfere Required By : None Optional For : None Conflicts With : hyprland Replaces : None Installed Size : 53.74 MiB Packager : Garuda Builder team@garudalinux.org Build Date : Fri 10 May 2024 07:03:51 AM EEST Install Date : Fri 10 May 2024 02:27:04 PM EEST Install Reason : Explicitly installed Install Script : No Validated By : SHA-256 Sum Signature

la4een@mla4een ~> hyprctl version Hyprland, built from branch main at commit 3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e (configmgr: fix parsing of touchdevice groups). Tag: v0.32.3-86-g3caaa483

flags: (if any)

la4een@mla4een ~> which hyprctl /usr/local/bin/hyprctl