-
Notifications
You must be signed in to change notification settings - Fork 144
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
No graphs displayed #8
Comments
Hmm, it seems like there might be an issue rendering the braille characters for the graphs. Could you try a different terminal emulator and see if the problem still occurs? |
I have the same issue when using xterm, but no problem when using sakura term. Is there any way to make it work with xterm? |
Not that I know of. It works for me on xterm although the braille characters for the graphs don't look right. There might be an issue with font patching so you could try playing around with adding font packages and seeing if that changes anything. |
Network graph won't work on the Linux console as well (which is an unfortunate thing to happen in a system without a graphic terminal). CPU and memory graphs are discernible (in a lower resolution), but network looks really funny. I didn't find any console font with the required braille characters -- perhaps it's time to make our own font? |
Works here on xterm. Probably a font issue 🤔 |
Fixed by creating an appropriate Linux console font with the required Unicode code points (braille and block characters). @cjbassi, I can contribute the psf font to the project to allow console users to see the graphs correctly if you think it could be useful. |
@cmatsuoka That would be great if you could contribute the font! I run into the same issue in the Linux console so I'm glad you got that working. Would this also fix issues for terminal emulators? |
So I also found https://github.com/wiktor-b/leggie, which might work too. I'll have to figure out how to get it to work on Arch Linux, but if anyone wants to give it a try, let me know if it works for them. edit: Couldn't seem to get that one to work for me. |
I'll refine the font file and issue a pull request. The font is a 512-glyph 16x8 fixed size psf for console, and I'm not sure if you can use it on graphic terminal emulators (but I can verify that). |
The PSF font is in PR #135. (I apologize for taking so long to send such a simple PR, but things were a bit busy here in the last few weeks.) |
@cmatsuoka, I was looking over this again, and trying to see if there was a way for gotop to use the font directly. I'm thinking that if we I can't build it in, the best approach for X users would be to recommend that they install a font using their distribution's package manager -- unless there's a global command to enable a font for every terminal, e.g., through Xresources. I'm not sure that Xresources works universally, though, as I think it doesn't work with For Linux console users, I will include your PR and provide instructions. If you have a recommendation for the X users, please let me know. I'm going to leave this open for a bit. |
9f4f1e6 merged the font, and I've since added instructions to the README on how to use them. I'm tempted to bundle the PSF and add code to 1) detect if running in a Linux console, 2) write out the PSF to |
Make sure gotop is updated and the issue still persists before creating an issue.
Check current version with
gotop -v
and check the latest version from the releases tab on GitHub.$./gotop -v
1.4.1
Please give the following info when creating an issue:
uname -a
Linux neuro 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
zsh
Xterm
Nope
I installed gotop as stated in the README.md file, however after running it I do not see the cpu/men usage or network graph.
The text was updated successfully, but these errors were encountered: