-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk widgets won't display anything on Void Linux with an encrypted disk #419
Comments
Hmm... I'll take a look in a while. |
@Bumbadawg well this is weird - I tried installing void onto a VM, then installed bottom via cargo and: Disk seems fine for me. The only difference I can think of is that I used rust 1.50, but I really don't think that would have caused it to magically work for me... |
Hello, |
Tried running it on my VM again, this time dropped to rustc 1.48 and tried both musl and gnu. Also tried installing via xbps. In all cases, I just can't seem to replicate either of your findings, which makes trying to fix the problem (whatever it is) basically impossible for me... so I might need some help. If any of you two (or anyone else with this issue who sees this thread) can try to do the following for me:
When I run it on my machine, I get something like:
If you get an empty output or some error, then please let me know as well. If it does work, then could you also try running one of the nightly versions and see if that works? I know this is asking a lot, but it'll help a lot in narrowing down the issue. Thanks! |
ok, I went through the steps, this is what I get:
Next will try the nightly versions (later today) Thanks for your help to this point! extracted bottom_x86_64-unknown-linux-musl.tar.gz |
Huh, weird that heim worked without sudo but bottom had issues... That definitely does help a bit though, thanks a ton! |
Sorry, I was wrong, I ran that with sudo as well. Edited above. |
Gotcha. I can probably try to see if there's any workarounds when I have some time, then. |
ok, I finished my "work": nightly tested and post edited. |
I use LVM+LUKS as well. Disk Example code worked for listing the LVM disks but then fails and exit on this error (before even listing the regular disks.
And... "sudo btm" works for the disks.. Although no read/write speed is harvested (N/A) for the LVMs. |
Alright, thanks, I'll try to tackle this sometime this week now that it's more clear what the issue is. EDIT: Yeah, LUKS was the thing that I needed to replicate this problem. Thanks for all the help! EDIT 2: Just for curiosity's sake, I tested full-disk encryption on a PopOS VM, and it worked fine there. So this seems to be a thing mostly specific to Void (or distros with a similar behaviour to it in regards to user permissions). |
Both the I/O being missing and the missing disks issue should be fixed. There might be some disks that aren't showing usage in the used/free/total areas, that's normal. If possible try out a nightly build/clone the repo and tell me if it works for you. |
I downloaded bottom_x86_64-unknown-linux-musl.tar.gz |
We can now enjoy a fully-stacked rust bottom ! Thanks @ClementTsang you rock |
Describe the bug
Disk widgets won't display anything on Void Linux.
bottom version
bottom 0.5.7
Installation method
Btm either installed through package manager or through cargo.
Operating system, OS version, and architecture
x86_64
,i686
,aarch64
) Void LinuxTerminal (i.e. urxvt, kitty, etc.)
didn't impact.
Shell (i.e. zsh, bash, etc.)
zsh
Rust version
1.48
The text was updated successfully, but these errors were encountered: