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

cannot see bars even though they are there #109

Closed
ghost opened this issue Aug 28, 2016 · 30 comments
Closed

cannot see bars even though they are there #109

ghost opened this issue Aug 28, 2016 · 30 comments

Comments

@ghost
Copy link

ghost commented Aug 28, 2016

So I know the bars are there because when I highlight them I can see them moving but I cannot see them without highlighting them, is there anything I can do?

@karlstav
Copy link
Owner

Have you tried changing the color? in the config file or by pressing c/b

@ghost
Copy link
Author

ghost commented Aug 29, 2016

yes I have tried doing that, the background changes color but the bars don't they just stay invisible

@karlstav
Copy link
Owner

what terminal emulator are you using?

@ghost
Copy link
Author

ghost commented Sep 4, 2016

xfce4-terminal

@karlstav
Copy link
Owner

karlstav commented Sep 5, 2016

strange, works fine here. Maybe there is an issue with ncurses. What distro are you running?

You could test method = noncurses in the output section in the config, to test it without ncurses.

@ghost
Copy link
Author

ghost commented Oct 8, 2016

yeah it's working now, sorry for the late reply

@Kurtoid
Copy link

Kurtoid commented Oct 25, 2016

How did you resolve the issue, I have the same issue.

@Kurtoid
Copy link

Kurtoid commented Oct 25, 2016

I also get setterm: terminal xterm does not support --blank
when I scroll back up

@karlstav
Copy link
Owner

@jackcdk any idea how you fixed this?

@ghost
Copy link
Author

ghost commented Nov 1, 2016

All I did was purge xfce4-terminal and reinstall it again, sorry it's vague but that worked for me

@nax-bedroom
Copy link

nax-bedroom commented Nov 26, 2016

Encountered this issue on Slackware 14.2. Upon terminating the app I see this in the console:

[~]$ cava

setterm: terminal xterm-256color does not support --blank

Using XFCE4-Terminal. Same issue on other terminal emulators as well.

@karlstav
Copy link
Owner

@itsmewallis I wouldn't worry about that message, when cava is in tty mode it disables blanking (setterm -blank 0), when it existis it turns blanking back on (setterm -blank 10), however I have not been able to pass the inAtty variable to the exit function so it runs the setterm -blank 10 either way.

BTW does it work when you try to run it n a (tty) virtual console ( e.g. ctril+alt+f2)?

@Kurtoid
Copy link

Kurtoid commented Nov 27, 2016 via email

@karlstav
Copy link
Owner

Have you tried setting method = noncurses in the output section in the config, to test it without ncurses?

@nax-bedroom
Copy link

Yeah I already tried that, didn't see a difference unfortunately. In tty mode, I was able to see the bars, however they were just blue 1's.

@karlstav
Copy link
Owner

see #116 for the issue with the 1's.

I'm guessing this whole issue has something to do with the xfce desktop environment and its settings for the terminal, have you tried playing around with the color settings in the terminal?

@greenbigfrog
Copy link

In tty I can see the the bars (88s and numbers on top). In my terminal they ain't diplaying though (they are there, I can highlight them). I've tried everything in my power I was able to think off (different terminal emus, other colors, etc.)

Since raw output works I might just attempt writing my own displayer in case we can't get it to work

@karlstav
Copy link
Owner

karlstav commented Dec 2, 2016

@greenbigfrog what distro and desktop enviroment are you running?

@greenbigfrog
Copy link

arch, with i3wm (no DE)

@karlstav
Copy link
Owner

karlstav commented Dec 2, 2016

I think the problem might be related to something in ~/.Xresources file, could you try to reset all Xresources to default?

@greenbigfrog
Copy link

that file doesn't even exist on my system...

@karlstav
Copy link
Owner

karlstav commented Dec 2, 2016

hmm guess that means that you are running the default settings. I can't seem to find anything common for this bug. The most annoying thing is that I can remember experiencing it myself long ago, but I have forgotten how I fixed it (if I did..), I have also forgotten what system I was running, could have been arch with i3 or could have been xubuntu.

@greenbigfrog
Copy link

I'm just gonna write my own frontend ;) gives me a nice usefull project to work on
(or are there any other frontends available?)

@karlstav
Copy link
Owner

karlstav commented Dec 2, 2016

not that I know off, you could try the gui branch, it is sort of a X frontend

@nax-bedroom
Copy link

I tried it in KDE's Konsole in Plasma 5 as well, issue still occurs.

@karlstav
Copy link
Owner

maybe it is far fetched, but can this be related to #121 ? That was solved by setting the locale:

localectl set-locale LANG=en_US.UTF-8

@nax-bedroom
Copy link

Locale settings were the issue all along.

After editing my config, cava works!

Just for future reference, for those on Slackware remember that your locale settings in versions <= 14.2 are set a config that does not support UTF-8 characters by default.. (Eg. LANG=en_US)

Refer to: http://docs.slackware.com/slackware:localization for details on how to enable UTF-8 support.

Thanks for the pointer.

@iankay
Copy link

iankay commented Aug 2, 2019

maybe it is far fetched, but can this be related to #121 ? That was solved by setting the locale:

localectl set-locale LANG=en_US.UTF-8

I'm having this issue as well, but applying the system locale (localectl set-locale LANG=en_US.UTF-8) doesn't do anything. The bars are invisible, unless highlighted. I have tried changing terminals from urxvt to xfce4-terminal, but still get the same issue.

@Zanark
Copy link

Zanark commented Aug 23, 2019

I have the same issue, I tried the same but nothing happened.
I checked the terminal in VSCode and it works fine there.

@sashgorokhov
Copy link

Had the same issue on Kubuntu 19, Plasma 5 and Konsole.
The problem was in having LC_ALL env var empty.

LC_ALL=en_US.UTF-8 cava worked for me

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

7 participants