Comments (5)
set/enable qterminal Appearance->[x] Use box drawing characters contained in the font [...]
It seems like should be enabled by default?
I mean if the default for QTerminal is to not use the same font for symbols it seems weird that they haven't implemented some correction for difference in the widths of the font choosen and the font used for symbols.
from btop.
@thenoobtester
Read the README.md : https://github.com/aristocratos/btop#prerequisites
from btop.
Thank you, I set graphs to type: block and now it's ok :)
from btop.
With
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
in ~/.config/btop/btop.conf
, and qterminal
, things are misaligned, like so:
, and the following 3 solutions worked for me:
-
set/enable qterminal Appearance->[x]
Use box drawing characters contained in the font
, looks like this after:
-
(without doing 1. above), and as mentioned in the previous comment, do this:
graph_symbol = "block"
, and it looks like:
-
(without doing 1. above), do this
graph_symbol = "tty"
, looks like:
from btop.
set/enable qterminal Appearance->[x] Use box drawing characters contained in the font [...]
It seems like should be enabled by default?
I mean if the default for QTerminal is to not use the same font for symbols it seems weird that they haven't implemented some correction for difference in the widths of the font choosen and the font used for symbols.
I (double)checked and it is not enabled by default(UseFontBoxDrawingChars=false
, seen below), on Gentoo(but they aren't applying any patches for qterminal-1.2.0 and qtermwidget-1.2.0):
Here's ~/.config/qterminal.org/qterminal.ini
newly generated:
[General]
AskOnExit=true
BoldIntense=true
BookmarksFile=/home/user/.config/qterminal.org/qterminal_bookmarks.xml
BookmarksVisible=true
Borderless=false
ChangeWindowIcon=true
ChangeWindowTitle=true
CloseTabOnMiddleClick=true
ConfirmMultilinePaste=false
DisableBracketedPasteMode=false
FixedTabWidth=true
FixedTabWidthValue=500
HandleHistory=
HideTabBarWithOneTab=false
HistoryLimited=true
HistoryLimitedTo=1000
KeyboardCursorShape=0
LastWindowMaximized=false
MenuVisible=true
MotionAfterPaste=2
NoMenubarAccel=true
OpenNewTabRightToActiveTab=false
PrefDialogSize=@Size(700 700)
SavePosOnExit=true
SaveSizeOnExit=true
ScrollbarPosition=2
ShowCloseTabButton=true
TabBarless=false
TabsPosition=0
Term=xterm-256color
TerminalBackgroundImage=
TerminalBackgroundMode=0
TerminalMargin=0
TerminalTransparency=0
TerminalsPreset=0
TrimPastedTrailingNewlines=false
UseBookmarks=false
UseCWD=false
UseFontBoxDrawingChars=false
colorScheme=Linux
emulation=default
enabledBidiSupport=true
fontFamily=Monospace
fontSize=12
guiStyle=
highlightCurrentTerminal=true
showTerminalSizeHint=true
version=1.2.0
[DropMode]
Height=45
KeepOpen=false
ShortCut=F12
ShowOnStart=true
Width=70
[MainWindow]
ApplicationTransparency=0
fixedSize=@Size(600 400)
pos=@Point(755 980)
size=@Size(600 420)
state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x1\xfb\0\0\0&\0\x42\0o\0o\0k\0m\0\x61\0r\0k\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0w\0\xff\xff\xff\0\0\x2X\0\0\x1\x8d\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0)
[Sessions]
size=0
[Shortcuts]
Add%20Tab=Ctrl+Shift+T
Bottom%20Subterminal=Alt+Down
Clear%20Active%20Terminal=Ctrl+Shift+X
Close%20Tab=Ctrl+Shift+W
Collapse%20Subterminal=
Copy%20Selection=Ctrl+Shift+C
Find=Ctrl+Shift+F
Fullscreen=F11
Handle%20history=
Hide%20Window%20Borders=
Left%20Subterminal=Alt+Left
Move%20Tab%20Left=Alt+Shift+Left|Ctrl+Shift+PgUp
Move%20Tab%20Right=Alt+Shift+Right|Ctrl+Shift+PgDown
New%20Window=Ctrl+Shift+N
Next%20Tab=Ctrl+PgDown
Next%20Tab%20in%20History=Ctrl+Shift+Tab
Paste%20Clipboard=Ctrl+Shift+V
Paste%20Selection=Shift+Ins
Preferences...=
Previous%20Tab=Ctrl+PgUp
Previous%20Tab%20in%20History=Ctrl+Tab
Quit=
Rename%20Session=Alt+Shift+S
Right%20Subterminal=Alt+Right
Show%20Tab%20Bar=
Split%20Terminal%20Horizontally=
Split%20Terminal%20Vertically=
Tab%201=
Tab%2010=
Tab%202=
Tab%203=
Tab%204=
Tab%205=
Tab%206=
Tab%207=
Tab%208=
Tab%209=
Toggle%20Bookmarks=Ctrl+Shift+B
Toggle%20Menu=Ctrl+Shift+M
Top%20Subterminal=Alt+Up
Zoom%20in=Ctrl++
Zoom%20out=Ctrl+-
Zoom%20reset=Ctrl+0
It is set to true
by default in the lib aka qtermwidget
(but they're overriding it in qterminal
to be false by default).
I can't seem to find the reasoning for it in history:
lxqt/qtermwidget@64fef7a
lxqt/qterminal@6771a93
EDIT: I forgot to check the PRs: lxqt/qterminal#596
a similar align issue seems to be happening there but only when the setting is enabled. Which is the opposite of our situation. Then this is the reason for it being 'false'.
from btop.
Related Issues (20)
- [REQUEST] Option to disable GPU monitoring HOT 1
- [REQUEST] Display ECC errors prominently
- [REQUEST] Also monitor packets per second (PPS) in network panel
- [BUG] Incorrect memory usage when zram is enabled HOT 1
- [BUG] Power Draw Always at 0W - Asahi Linux MacBook ARM - Proposed Fix
- [BUG] Assertion '__n < this->size()' failed HOT 2
- [BUG] WSL1: use of key-bindings results in frozen state
- Infinite memory usage glitch. (Display bug, not a btop memory leak). HOT 1
- [BUG] AMD GPU power usage displaying power usage at 0W using ROCm SMI HOT 1
- [BUG] Instant Crash in NixOS HOT 4
- [BUG] btop hangs after some time of high cpu usage
- [BUG] A little bug cause btop stop
- [BUG] - Snap version no longer runs on old distros like Centos 7 HOT 1
- [BUG] Estimated battery life over 24 hours wraps around to 00:00
- [BUG] macOS arm64: Crash (SIGSEGV) on launch
- [REQUEST] Optionally report statistics as moving average
- [BUG] Invalid RAM usage on MacBook Pro M3 Pro
- Build error after #796 changes NVML_DEVICE_NAME_BUFFER_SIZE to RSMI_DEVICE_NAME_BUFFER_SIZE HOT 3
- arrow key not working
- [BUG] swap shows different size under different terminal window size.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btop.