tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

smarstatus issue with the sudo component of it. #956

Closed martindoublem closed 1 year ago

martindoublem commented 1 year ago

Bug Report

Description

Affected module: smartstatus Version used: git on endeavousOS (arch-based distribution)

How to reproduce

run smartstatus on an arch-based distro and attempt with visudo and smartctl to get it to work (I could not recently, but maybe my brain is just a bit fried).

tobi-wan-kenobi commented 1 year ago

Cn you please explain what the eeror was that you saw?

Thanks!

martindoublem commented 1 year ago
python bumblebee-status -m 'smartstatus' smartstatus.drives="nvme0n1"
{"version": 1, "click_events": true}
[
[sudo] password for martin: [],

This is what happens in the terminal on arch currently and then it just hangs there.

I have an issue with visudo, that I need to solve first of all but then I need to figure out why I am not getting the smartctl command result, as well.

On the other hand, it works fine on another arch machine, not sure what is so different on this one.

tobi-wan-kenobi commented 1 year ago

ah, i am pretty sure you need to set up password-less sudo for this to work...

martindoublem commented 1 year ago

Got it to work. There was an issue with visudo having an extrafile in it.