JaKooLit / Ubuntu-Hyprland

Automated Hyprland installer for Ubuntu. NOTE: Repo Branches as per Ubuntu Versions
GNU General Public License v3.0
193 stars 15 forks source link

[Bug]: Missing Execution Permissions and Dependency (rofi) Causes Installation Errors #30

Closed SAHILGAWLI closed 1 day ago

SAHILGAWLI commented 1 day ago

Bug Report

Before submitting report

Description

The Waybar layout window was not changing when executing shortcuts. Upon investigating, I found the .sh file required manual execution permissions. Additionally, an error occurred stating rofi was not found. Installing rofi via pip resolved the issue.

Steps to Reproduce

  1. Execute the shortcut for changing the Waybar layout window.
  2. Observe no action takes place.
  3. Manually navigate to the ~/.config/hypr directory.
  4. Try running the .sh file and encounter a rofi not found error.
  5. Install rofi using pip install rofi.
  6. Retry, and observe the issue is resolved.

Expected Behavior

Executing the shortcut for Waybar layout change should open the Waybar theme changer without requiring manual chmod or installing rofi.

Actual Behavior

The shortcut failed to execute. Manual chmod of .sh files and installation of rofi were required to resolve the issue.

Screenshots

No screenshots available.

Additional Information

This bug may occur due to missing dependencies or improper permissions for the .sh file. The documentation should mention these prerequisites to prevent similar issues.

SAHILGAWLI commented 1 day ago

Dear Maintainer,

I’ve identified an issue with the Waybar layout changer and proposed updates to the documentation:

Please review my pull request for these changes to ensure clarity for future users.

JaKooLit commented 1 day ago

you need rofi-wayland and not rofi

SAHILGAWLI commented 1 day ago

wayland dependency is already satisfied

JaKooLit commented 1 day ago

im not talking about wayland dependency

rofi-wayland is different than rofi

although rofi will work, however, some rofi menus wont work

https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ#-rofi-not-getting-auto-focus-or-some-weird-things-going-on-with-rofi