Closed Theblackcat98 closed 4 months ago
do a reboot/relog
Strange... That did fix the issue of finding XDG_RUNTIME_DIR. But now I'm facing the same issue as #4566
Running hyprpm -v update
:
I do see that hyprpm states:
The following required packages were not found:
- libinput
- hwdata
- libseat
- libdisplay-info
- libliftoff
- hyprlang>=0.3.2
- hyprcursor>=0.1.7
Except, checking using dnf; they are installed....
What should I do?
do you have -devel packages of each? iirc fedora packages headers separately.
I receive a similar error when I try to implement the Eww workspaces widget's example scripts, such as get-workspaces
bash ~/.config/eww/scripts/get-workspaces
[{"id":"1","windows":2},{"id":"2","windows":2},{"id":"3","windows":1},{"id":"4","windows":1},{"id":"5","windows":0},{"id":"6","windows":0},{"id":"7","windows":0},{"id":"8","windows":0},{"id":"9","windows":0},{"id":"10","windows":0}]
2024/04/30 23:25:42 socat[7243] E connect(, AF=1 "/run/user/1000/hypr/fe7b748eb668136dd0558b7c8279bfcd7ab4d759_1714511860/.socket2.sock", 87): No such file or directory
bash ~/.config/eww/scripts/get-active-workspace
1
2024/04/30 23:52:13 socat[17107] E connect(, AF=1 "/run/user/1000/hypr/fe7b748eb668136dd0558b7c8279bfcd7ab4d759_1714511860/.socket2.sock", 87): No such file or directory
and get-window-title
bash ~/.config/eww/scripts/get-window-title
Alacritty
2024/04/30 23:55:53 socat[17765] E connect(, AF=1 "/run/user/1000/hypr/fe7b748eb668136dd0558b7c8279bfcd7ab4d759_1714511860/.socket2.sock", 87): No such file or directory
The directory hypr
doesn't exist under /run/user/1000/
.
I'm not sure how this is affecting the scripts, just thought about mentioning it.
Edit: apologies for the wacky links
because you're not on latest -git so the change hasnt hit you yet...
do you have -devel packages of each? iirc fedora packages headers separately.
I did not... after installing -devel packages of each; I do still get the same error, except of course now it does find the 'subprojects'.
Output of hyprpm -v update
:
The following required packages were not found:
- xwayland
- xcb-util
- xcb-icccm
- xcb-ewmh
I had a similar issue with waybar trying to use the IPC at /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE
when they were actually at /run/user/$UID/hypr/$HYPRLAND_INSTANCE_SIGNATURE
.
I used waybar-git instead of waybar and it was then correctly reading from /run/user/$UID/hypr/$HYPRLAND_INSTANCE_SIGNATURE
.
So I think this is just an update issue like vaxerski said.
P.S. I believe these commits are related to this for anyone else trying to figure this out core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr hyprctl: use XDG_RUNTIME_DIR if available
If anyone is reading this because the update broke the workspaces in waybar like me, know that it has been fixed on this Waybar PR : Fix Hyprland socketpath changed to XDG_RUNTIME_DIR #3183 Hasn't made it to a release yet, that's why waybar-git is a working fix for now. Personnaly, I'll wait for the next Waybar release.
The following required packages were not found: - xwayland - xcb-util - xcb-icccm - xcb-ewmh
All of those packages were installed; I'm not sure how or why, but in my case it seems I needed the "*-devel" version for all. Even those.
do you have -devel packages of each? iirc fedora packages headers separately.
As you stated, if anyone else is on Fedora; the -devel packages include the headers so they're a requirement. I solved it by installing the "*-devel" version for any package that was reported as missing which required headers.
hyprland-devel should install all the needed -devel deps. As stated in https://wiki.hyprland.org/Getting-Started/Installation/ -> Fedora
Hyprland Version
System/Version info
```sh Couldn't connect to /run/user/1000/hypr/2e763764bfdaee2039961c6c220b5d6af31712d4_1714427843/.socket.sock. (3) ```Bug or Regression?
Bug
Description
Hyprpm & Hyprctl
I wanted to try and install a plugin, when I ran 'hyprpm -v update'
How to reproduce
So I went to
/run/user/1000/
and found there is nohypr
folder... As I'm currently running hyprland is has to be there somewhere and found it at:/tmp/hypr/2e763[...]27843/.socket.sock
For info, the contents of /tmp/ both include the hypr and hyprpm folders too.I haven't been able to find why hyperctl and hyprpm are looking in the wrong folder or how to change the folder.
Crash reports, logs, images, videos
No response