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.75k stars 839 forks source link

Mouse cursor completly invisible after restart #7602

Closed amiroo54 closed 3 weeks ago

amiroo54 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: amiroofPC Release: 6.10.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +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 e7) (prog-if 00 [VGA controller]) os-release: NAME="Parch Linux" PRETTY_NAME="Parch Linux" ID=parch BUILD_ID=rolling HOME_URL="https://Parchlinux.com" DOCUMENTATION_URL="https://wiki.parchlinux.com/en/" SUPPORT_URL="https://parchlinux.com/" BUG_REPORT_URL="https://parchlinux.com/" LOGO=parch-logo VARIANT="Desktop Edition" ANSI_COLOR="0;35" plugins: ======Config-Start====== Config File: /home/amiroof/.config/hypr/hyprland.conf: Read Succeeded ################ ### MONITORS ### ################ monitor=DVI-D-1,preferred,0x0,1 monitor=DP-1,preferred,1680x275,1 ################### ### MY PROGRAMS ### ################### $terminal = konsole $fileManager = dolphin $menu = rofi -show drun $switchkeyboard = hyprctl switchxkblayout sigmachip-usb-keyboard next $screenshot = grim -g "$(slurp -d)" - | wl-copy ################# ### AUTOSTART ### ################# exec-once = hyprpaper & waybar & hypridle & hyprlock exec-once = [workspace 2 silent] telegram-desktop # Setting the main monitor exec-once = xrandr --output DVI-D-1 --primary # For video recording exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ############################# ### ENVIRONMENT VARIABLES ### ############################# env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_THEME,Bibata-Modern-Classic env = XCURSOR_SIZE,24 env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_QPA_PLATFORM,wayland;xcb ##################### ### LOOK AND FEEL ### ##################### general { gaps_in = 5 gaps_out = 20 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(42adf5ee) rgba(236bfaee) 45deg col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = true # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 5 # Change transparency of focused and unfocused windows active_opacity = 0.9 inactive_opacity = 0.8 drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(3a3a3aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 15 passes = 1 vibrancy = 0.1696 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = master } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us,ir kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = false } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = false } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = 0.6 } #################### ### KEYBINDINGSS ### #################### # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = CTRL ALT, T, exec, $terminal bind = ALT, F4, killactive, bind = SUPER, C, killactive, bind = SUPER, M, exit, bind = SUPER, E, exec, $fileManager bind = SUPER, F, togglefloating, bindr = SUPER, Super_L, exec, $menu bind = SUPER, P, pseudo, # dwindle bind = SUPER, J, togglesplit, # dwindle bind = SUPER, SPACE, exec, $switchkeyboard bind = ALT, Shift_L, exec, $switchkeyboard bind = SUPER SHIFT, S, exec, $screenshot 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 = ALT, Tab, cyclenext bind = ALT, Tab, bringactivetotop bind = SHIFT ALT, Tab, cyclenext, prev # Switch workspaces with mainMod + [0-9] 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 # Move active window to a workspace with mainMod + SHIFT + [0-9] 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 # Example special workspace (scratchpad) bind = SUPER, Z, togglespecialworkspace, terminal bind = SUPER SHIFT, Z, movetoworkspace, special:terminal # Scroll through existing workspaces with mainMod + scroll bind = SUPER, mouse_down, workspace, e+1 bind = SUPER, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules workspace = 1, monitor:DVI-D-1, default:true workspace = 3, monitor:DVI-D-1, default:false workspace = 5, monitor:DVI-D-1, default:false workspace = 7, monitor:DVI-D-1, default:false workspace = 9, monitor:DVI-D-1, default:false workspace = 2, monitor:DP-1, default:true workspace = 4, monitor:DP-1, default:false workspace = 6, monitor:DP-1, default:false workspace = 8, monitor:DP-1, default:false workspace = 10, monitor:DP-1, default:false # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ windowrulev2 = tag +graphic, class:(Unity) windowrulev2 = tag +graphic, class:(blender) windowrulev2 = opacity 2.0, tag:graphic windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = float, class:^(org.telegram.desktop|telegramdesktop)$, title:^(Media viewer)$ ======Config-End======== ```

Description

I have had a problem with Davinci Resolve which tought to be fixed using x11, so I switched to plasma x11 workspace and the switched back to hyprland a while after. but after loading hyprland my mouse cursor is just invisible.

How to reproduce

  1. Have hyprland and plasma togheter
  2. switch to plasma x11 using sddm
  3. switch back to hyprland

Crash reports, logs, images, videos

No response

amiroo54 commented 3 weeks ago

Ok I accidentally fixed the issue by simply opening obs.

amiroo54 commented 3 weeks ago

Closing obs makes the issue appear again. I'm at a loss for words.

vaxerski commented 3 weeks ago

it's not rocket science, recording with obs disables hw cursors. See #7577