hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.73k stars 839 forks source link

The Cursor is invisible #7548

Closed Hcode00 closed 3 weeks ago

Hcode00 commented 3 weeks ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: HCODE-PC Release: 6.10.6-2-cachyos Version: #1 SMP PREEMPT_DYNAMIC Thu, 22 Aug 2024 07:33:44 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev ef) (prog-if 00 [VGA controller]) os-release: NAME="CachyOS Linux" PRETTY_NAME="CachyOS" ID=cachyos ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://cachyos.org/" DOCUMENTATION_URL="https://wiki.cachyos.org/" SUPPORT_URL="https://forum.cachyos.org/" BUG_REPORT_URL="https://github.com/cachyos" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=cachyos plugins: hyprbars by Vaxry ver 1.0 hyprexpo by Vaxry ver 1.0 ======Config-Start====== Config File: /home/hcode/.config/hypr/hyprland.conf: Read Succeeded # ####################################################################################### # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### # # Please note not all available settings / options are set here. # For a full list, see the wiki # # See https://wiki.hyprland.org/Configuring/Monitors/ monitor= , 1280x1024@75,auto,auto # See https://wiki.hyprland.org/Configuring/Keywords/ for more exec-once = hyprpm reload -n bind = SUPER, grave, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable plugin { hyprexpo { columns = 2 gap_size = 2 bg_col = rgb(66a9ea) workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1 enable_gesture = false # laptop touchpad } hyprbars { bar_color = rgb(222222) col.text = rgb(77eaec) bar_height = 25 bar_text_size = 12 bar_text_font = FiraCode Nerd Font SemBd bar_part_of_window = false bar_precedence_over_border = true bar_button_padding = 6 bar_padding = 10 # example buttons (R -> L) # hyprbars-button = color, size, on-click hyprbars-button = rgb(ff4040), 20, 󰖭, hyprctl dispatch killactive hyprbars-button = rgb(77eaec), 20, , hyprctl dispatch fullscreen 1 } } # env = HYPRCURSOR_THEME,Bibata-Modern-Ice # env = XCURSOR_THEME,Bibata-Modern-Ice env = XCURSOR_THEME,breeze # env = HYPRCURSOR_SIZE,22 env = XCURSOR_SIZE,22 # Add networkmanager applet to tray in waybar exec-once = nm-applet --indicator exec-once = wl-paste --watch cliphist store exec-once = gBar bar 0 # launch the system panel # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us,eg kb_options = grp:alt_shift_toggle numlock_by_default= true follow_mouse = 1 force_no_accel = 1 } binds { allow_workspace_cycles = true } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 10 border_size = 2 col.active_border = rgba(77eaecee) rgba(8e22eeee) 45deg col.inactive_border = rgba(424242aa) layout = dwindle } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 blur { enabled = yes size = 6 passes = 3 new_optimizations = on ignore_opacity = on xray = false } } animations { enabled = true # Animation curves bezier = linear, 0, 0, 1, 1 bezier = md3_standard, 0.2, 0, 0, 1 bezier = md3_decel, 0.05, 0.7, 0.1, 1 bezier = md3_accel, 0.3, 0, 0.8, 0.15 bezier = overshot, 0.05, 0.9, 0.1, 1.1 bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 bezier = menu_decel, 0.1, 1, 0, 1 bezier = menu_accel, 0.38, 0.04, 1, 0.07 bezier = easeInOutCirc, 0.85, 0, 0.15, 1 bezier = easeOutCirc, 0, 0.55, 0.45, 1 bezier = easeOutExpo, 0.16, 1, 0.3, 1 bezier = softAcDecel, 0.26, 0.26, 0.15, 1 bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration # Animation configs animation = windows, 1, 3, md3_decel, popin 60% animation = windowsIn, 1, 3, md3_decel, popin 60% animation = windowsOut, 1, 3, md3_accel, popin 60% animation = border, 1, 10, default animation = fade, 1, 3, md3_decel animation = layers, 1, 2, md3_decel, slide animation = layersIn, 1, 3, menu_decel, slide animation = layersOut, 1, 1.6, menu_accel animation = fadeLayersIn, 1, 2, menu_decel animation = fadeLayersOut, 1, 4.5, menu_accel animation = workspaces, 1, 7, menu_decel, slide animation = workspaces, 1, 2.5, softAcDecel, slide # animation = workspaces, 1, 7, menu_deLU animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% # animation = specialWorkspace, 1, 3, md3_decel, slidevert } xwayland { force_zero_scaling = true } dwindle { smart_split = true preserve_split = yes } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more smart_resizing = true } misc { disable_hyprland_logo = true focus_on_activate = true disable_splash_rendering = true mouse_move_enables_dpms=true middle_click_paste = false animate_manual_resizes=true animate_mouse_windowdragging=true allow_session_lock_restore=true vfr = true vrr = 0 } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/ # executing for more #device:epic mouse V1 { # sensitivity = -0.5 #} # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # Example windowrule v1 windowrule = float, ^(kitty)$ windowrule = float, ^(garuda-assistant)$ windowrule = float, ^(garuda-boot-options)$ windowrule = float, ^(garuda-boot-repair)$ windowrule = float, ^(garuda-gamer)$ windowrule = float, ^(garuda-network-assistant)$ windowrule = float, ^(garuda-settings-manager)$ windowrule = float, ^(garuda-welcome)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more # $term = foot $term = foot $browser = vivaldi # $browser = librewolf # $browser = microsoft-edge-stable $editor = nvim $explorer = thunar $music = elisa $downloadManager = fdm $email = betterbird bind = SUPER, mouse_down, workspace, e-1 bind = SUPER, mouse_up, workspace, e+1 bind = SUPER SHIFT, Z, exec,~/.local/bin/openTerminal $term ~/code/zig bind = CTRL SHIFT, ESCAPE, exec, execTerm wezterm btop bind = , Print, exec,grim - | wl-copy bind = SUPER, Print, exec, grim -g "$(slurp -d)" - | wl-copy bind = SUPER, B, exec, pkill gBar && gBar bar DVI-D-1 # Clipboard Manager bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy bind = SUPER, G, exec, $browser bind = SUPER SHIFT, M, exec,foot sudo sync | sudo tee /proc/sys/vm/drop_caches bind = SUPER, W, exec, wpaperctl next-wallpaper bind = SUPER SHIFT, W, exec, wpaperctl previous-wallpaper bind = SUPER SHIFT, V, exec, nekobox bind = SUPER , C, exec, code bind = SUPER, H, exec, heroic bind = SUPER, L, exec, lutris bind = SUPER, O, exec, bottles bind = SUPER, Z, exec, zeditor bind = SUPER SHIFT, T, exec, telegram-desktop bind = SUPER SHIFT, H, exec,execTerm $term nvim ~/.config/hypr/ hyprland.conf bind = SUPER SHIFT, N, exec, execTerm $term nvim ~/.config/nvim bind = SUPER, E, exec, $explorer bind = SUPER, M, exec, $music bind = SUPER, J, exec, java -jar TLauncher.jar bind = SUPER, D, exec, $downloadManager # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = SUPER SHIFT, R, exec, hyprctl reload bind = SUPER, T, exec, $term bind = SUPER, Q, killactive, bind = SUPER, S, togglesplit, bind = SUPER SHIFT, E, exec, nwgbar bind = SUPER, R, exec, wofi --normal-window --show drun --allow-images bind = SUPER SHIFT, D, exec, nwg-drawer -mb 10 -mr 10 -ml 10 -mt 10 bind = SUPER SHIFT, M, exec, $email bind = ALT, Tab, cyclenext bind = SUPER, F, fullscreen, bind = SUPER, P, pseudo, bind = SUPER, SPACE, togglefloating, bind = SUPER, mouse:274, exec, hyprpicker -a bind = SUPER SHIFT, S, exec, systemctl suspend bind = SUPER CTRL SHIFT, S, exec, systemctl poweroff bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow bind = SUPER, mouse_down, workspace, e+1 bind = SUPER, mouse_up, workspace, e-1 bind = SUPER, left, movefocus, l bind = SUPER, right, movefocus, r bind = SUPER, up, movefocus, u bind = SUPER, down, movefocus, d bind = SUPER SHIFT, left, movewindow, l bind = SUPER SHIFT, right, movewindow, r bind = SUPER SHIFT, up, movewindow, u bind = SUPER SHIFT, down, movewindow, d bind = SUPER CTRL, left, resizeactive, -20 0 bind = SUPER CTRL, right, resizeactive, 20 0 bind = SUPER CTRL, up, resizeactive, 0 -20 bind = SUPER CTRL, down, resizeactive, 0 20 bind = SUPER SHIFT, g, togglegroup bind = ALT,TAB, changegroupactive bind = SUPER SHIFT, G, exec, $notifycmd 'Toggled Group Mode' bind = SUPER, 1, workspace, 1 bind = SUPER, 2, workspace, 2 bind = SUPER, 3, workspace, 3 bind = SUPER, 4, workspace, 4 bind = SUPER, 5, workspace, 5 bind = SUPER, 6, workspace, 6 bind = SUPER, 7, workspace, 7 bind = SUPER, 8, workspace, 8 bind = SUPER, 9, workspace, 9 bind = SUPER, 0, workspace, 10 bind = SUPER ALT, right, workspace, e+1 bind = SUPER ALT, left, workspace, e-1 bind = SUPER,TAB , workspace, e+1 bind = SUPER SHIFT, 1, movetoworkspace, 1 bind = SUPER SHIFT, 2, movetoworkspace, 2 bind = SUPER SHIFT, 3, movetoworkspace, 3 bind = SUPER SHIFT, 4, movetoworkspace, 4 bind = SUPER SHIFT, 5, movetoworkspace, 5 bind = SUPER SHIFT, 6, movetoworkspace, 6 bind = SUPER SHIFT, 7, movetoworkspace, 7 bind = SUPER SHIFT, 8, movetoworkspace, 8 bind = SUPER SHIFT, 9, movetoworkspace, 9 bind = SUPER SHIFT, 0, movetoworkspace, 10 # background exec-once = wpaperd -d # Snip a selection and pipe to swappy bind = ,Print, exec, grim -g "$(slurp)" - | swappy -f - # Screenshot a window and pipe to swappy bind = CTRL, Print, exec, .config/hypr/scripts/screenshot_window.sh # Screenshot the current display and pipe to swappy bind = SHIFT, Print, exec, .config/hypr/scripts/screenshot_display.sh blurls = gedit blurls = gtk-layer-shell # for nwg-drawer blurls = catfish # window rules windowrule = opacity 0.90 override 0.90 override,^(thunar)$ windowrule = opacity 0.85 override 0.85 override,^(gedit)$ windowrule = opacity 0.85 override 0.85 override,^(catfish)$ windowrule = stayfocused, ^(wofi)$ # window rules with evaluation windowrulev2 = opacity 0.85 0.85,floating:1 windowrulev2 = opacity 0.80 0.70, class:^(Code)$ windowrulev2 = opacity 0.90 0.70, class:^(Vivaldi-snapshot)$ exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data exec-once = mako exec-once =/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = ~/.config/hypr/scripts/resetxdgportal.sh # Use gtk-settings exec-once = apply-gsettings # Let the user customize this hyprstart script by overriding stuff in $hyprstart exec-once = .config/hypr/exec-hyprland ======Config-End======== ```

Description

i used to run hyprland on Garuda linux which is arch based and everything was great then i switched to CachyOS which is also arch based and the mouse cursor is there but just not visible i get the correct position when i run

hyprctl cursorpos

i tried everything on the FAQ and hyprctl wiki but with no luck

i tried to remove the HYPRCURSOR_THEME env variable and HYPRCURSOR_SIZE hoping it would at least use XCursor but with no luck here is my env Variables

env ```sh MANPAGER=sh -c 'col -bx | bat -l man -p' XDG_DATA_DIRS=/home/hcode/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 PWD=/home/hcode DESKTOP_SESSION=hyprland LC_MONETARY=en_US.UTF-8 XDG_SESSION_DESKTOP= SHELL=/usr/bin/fish QT_QPA_PLATFORMTHEME=qt5ct XDG_RUNTIME_DIR=/run/user/1000 XDG_BACKEND=wayland MOTD_SHOWN=pam HOME=/home/hcode LANG=en_US.UTF-8 _JAVA_AWT_WM_NONREPARENTING=1 XDG_VTNR=2 PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket COLORTERM=truecolor LC_TELEPHONE=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 MANROFFOPT=-c HYPRCURSOR_THEME=Bibata Modern Amber STARSHIP_SESSION_KEY=2303631387238210 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 XDG_SESSION_TYPE=wayland VIRTUAL_ENV_DISABLE_PROMPT=1 XCURSOR_SIZE=22 TERM=foot HL_INITIAL_WORKSPACE_TOKEN=cb41e347-f605-4080-83cf-5db9b4769906 XDG_SEAT=seat0 WAYLAND_DISPLAY=wayland-1 DEBUGINFOD_URLS=https://debuginfod.archlinux.org https://debuginfod.cachyos.org STARSHIP_SHELL=fish XDG_CURRENT_DESKTOP=Hyprland SHLVL=2 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus BROWSER=vivaldi LC_PAPER=en_US.UTF-8 HYPRCURSOR_SIZE=22 HYPRLAND_CMD=Hyprland HYPRLAND_INSTANCE_SIGNATURE=9a09eac79b85c846e3a865a9078a3f8ff65a9259_1724780658_225262403 XDG_SESSION_CLASS=user MAIL=/var/spool/mail/hcode LC_TIME=en_US.UTF-8 DISPLAY=:1 USER=hcode PATH=/home/hcode/.local/bin/zig:/home/hcode/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin XCURSOR_THEME=breeze LOGNAME=hcode XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 MOZ_ENABLE_WAYLAND=1 XDG_SESSION_ID=5 ```

and i tried using different kernel since CachyOS using it's own kernel i tried the linux and zen kernels but nothing was different i reinstalled the OS multiple times but the problem presists

How to reproduce

just do a fresh install and paru -S hyprland the problem happens with the default config and my custom config too

Crash reports, logs, images, videos

no directory named hyprland in my cache

vaxerski commented 3 weeks ago

dupe, should be fixed on git.

Hcode00 commented 3 weeks ago

i tried the git version too , same problem

hyprcursor-git 0.1.9.r11.g912d5602-1
hyprland-git 0.42.0.r78.17ed4fc0-1
hyprlang-git 0.5.2.r9.g16e5c946-1
hyprpicker-git 0.3.0.r12.38fe668-1
hyprutils-git 0.2.1.r1.g0252fd13-1
hyprwayland-scanner-git 0.4.0.r4.ga048a6cb-1
rose-pine-hyprcursor v0.3.2.r0.d2c0e680-1
Hcode00 commented 3 weeks ago

EDIT

i added this code to my config and the cursor appears again

cursor:no_hardware_cursors = true
vaxerski commented 3 weeks ago

just disable hardware cursors please dont do that