Skip to content
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

Unable to load module arandr, weird looking status bar #922

Closed
HappyCthulhu opened this issue Sep 11, 2022 · 18 comments
Closed

Unable to load module arandr, weird looking status bar #922

HappyCthulhu opened this issue Sep 11, 2022 · 18 comments

Comments

@HappyCthulhu
Copy link

Bug Report

Description

Affected module: arandr
Version used: AUR

Im installing bumblestatus on new system. All modules looks good, except arand. Also, what are thoose weird arrows on the edge of every module? How can i fix them?

image

@HappyCthulhu
Copy link
Author

HappyCthulhu commented Sep 11, 2022

Ofc, arandr is installed:

> arandr --version
arandr 0.1.10

@tobi-wan-kenobi
Copy link
Owner

I think somewhat unintuitively, the arandr module also needs the binary xrandr.

regarding the gaps: that always depends on the installed fonts. can you try nerd fonts? those should be fine.

@HappyCthulhu
Copy link
Author

Ofc xrandr is installed. Or u r talking about smth else?

> whereis xrandr
xrandr: /usr/bin/xrandr /usr/share/man/man1/xrandr.1.gz
[N] [11:58:22] user@ArchLinuxDesktop /home/user
> file /usr/bin/xrandr
/usr/bin/xrandr: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=da732b08a895a0376cbbf685e76820386a048d44, for GNU/Linux 3.2.0, stripped

Idk, arandr is bad package, i dont think, that i`ll be using it. But, if u r interesting in investigation this issue, i can help.

P.S. Yeah, u were right about fonts. Change to Hack and everything is fine now

@tobi-wan-kenobi
Copy link
Owner

Cool, thanks!

Ah, I think I know: For the arandr module, you need the tkinter python package, and people usually miss that one.

I should really find a way to point that out gracefully (maybe by showing that somewhere prominent)

@HappyCthulhu
Copy link
Author

That's easy. Just add it to your wiki. I didn't install Tkinter only bc wiki part, related to arandr module doesn't consist info about a Tkinter

image

@tobi-wan-kenobi
Copy link
Owner

heh, yes it's an indirect dependency pulled in by the popup, i think.

does it work now?

@HappyCthulhu
Copy link
Author

Btw, I have an idea. Idk, is it good or not, so, IA wanna feedback

Maybe it will be cool, if this repo will consist requirements file with all dependencies, that needed for all modules? Whet I installed bumbestatus for first time, I spend some time to collect all of them. From my point of view, requirements file will save time for users

@tobi-wan-kenobi
Copy link
Owner

yeah, if it is up to date that would be good.

also, some deps are optional, so a bit difficult :(

@HappyCthulhu
Copy link
Author

yeah, if it is up to date that would be good.

also, some deps are optional, so a bit difficult :(

Yeah. But. I mean, who cares?)))
If someone don't want to install additional deps, he can do manual installation.

Also, maybe nice desidion to create pyqt or web app with nice easy interface:
U have list of all modules, u pick ip only modules, that u want to install and this app create u bash command with all modules, that u need to install. If u like this idea, a can help with realization

@tobi-wan-kenobi
Copy link
Owner

Heh, true.

A website or something like that for generating configs would be really cool, I think. Maybe even with a preview.

If you can do something like that, that'd be great to see (I am a backend dev, and don't have a lot of spare time, so I'd be pretty useless for that, honestly)

@tobi-wan-kenobi
Copy link
Owner

addition: actually, there is the requirements/ folder, but it seems outdated and is missing arandr altogether

@HappyCthulhu
Copy link
Author

Yeah, i can try. I was nice python automation engineer previously. But i wanna be backend dev rn. So, i can craft some shit code (because im not greate in this rn) on Django on smth else.

How should we do this? Like, i will create git repo, host on some site, so u can test it. When i finish this projects, u will host this app on one of your services? I understand, that i can just make fork. But im not sure, that this project must be part of bumblee-status repo. I mean, that look like smth, that doesnt need to be in this repo... Am i wrong?

@tobi-wan-kenobi
Copy link
Owner

that is a good question. tbh, i would prefer that to be a community-driven project (ie something i am not responsible for), bumblebee-status already binds a lot of my free time. also, i don't have any kind of hosting infrastructure.

i think that theoretically, it should be possible to host such a site purely statically on something like github pages and do the logic in client-side javascript, but i don't know for sure. but that is the way i would suggest to approach it.

@tobi-wan-kenobi
Copy link
Owner

and absolutely can and should be in a separate repo, in my opinion.

@HappyCthulhu
Copy link
Author

yeah, ok. Hosting is never a problem. I have small server, which i can use for this purpose, if this will be needed

@HappyCthulhu
Copy link
Author

U know, what will be cool? Did interface, that could work from shell. Curl queries. Somethink like:

curl cheat.sh/psql

(just type it in console if u r not familiar with cheat.sh)

@tobi-wan-kenobi
Copy link
Owner

oh yeah, that'd be nice :) thanks for the ideas!

@tobi-wan-kenobi
Copy link
Owner

Tracking this idea as #928 , so as to not "pollute" this ticket, which is resolved.

Thanks a lot @HappyCthulhu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants