Comments (10)
Unlike in Windows, Linux terminal differentiates between empty and unset variables. You can tell the difference by using a substitution, e.g. echo "${BUKU_COLORS+exists}"
or echo "${BUKU_COLORS-unset}"
(though the latter prints out the value if it's not empty).
Buku v4.8 (the version available in Homebrew) checks for unset BUKU_COLORS
only. Perhaps this is the cause?
Otherwise, it might have something to do with your terminal or shell aliases; though that seems less likely.
from buku.
I'm on fish shell and cannot use these commands. I tried buku in bash (launched from within fish) and it still is all grey
fish: ${ is not a valid variable in fish.
echo "${BUKU_COLORS-unset}"
from buku.
In the fish shell, set --query BUKU_COLORS || echo unset
could be used to perform an equivalent check.
…It seems that running buku with empty BUKU_COLORS
actually results in an error, so I'm not sure what could be the actual cause of the issue here. Perhaps your terminal emulator is having difficulties displaying these specific colors for some reason?
Since --colors
has some effect for you at least, you can try experimenting with combinations of available values to find whatever works for you. When you've settled on a combination, you can configure it to be set on shell startup in your rcfile – either as a variable export (e.g. export BUKU_COLORS='oKlxm'
), or as an alias (e.g. alias buku='buku --colors oKlxm'
).
from buku.
Yes, I can do that with env variable, i've already thought about it but I didn't want to spend time looking at all the colors (i tried with "abcde" ^^)
So, it's unset for sure in both terminals. But it may not be related.
I switched to Gnome-terminal instead of Tilix, and then it works fine.
So my issue is with tilix, here are some of my settings if anything rings a bell
I also use a custom nerd font but disabling it doesn't seem to change anything
from buku.
Wait, I tried with your colors settings and it gives NOTHING
from buku.
…Yeah, I think I know what your problem is 😅
from buku.
Ok so it's the palette of color
so as you can see on my first screenshot under the "column background", there are two colors, the one on the right is gray for two of them
Same on the right column "foreground". I have no idea what they are for, it's not written anywhere. I dont know if they are default colors.
I can change them and it changes the default output. I have no idea what else it affects
from buku.
The ANSI terminal spec uses 4-bit colour definition which includes 8 foreground + 8 background colours (i.e. a colour setting is defined as 3 RGB bits + 1 bit for specifying whether to use it for characters or for background); the palette, it would seem, is the 16 colours to be used for displaying equivalent terminal colours (+ optionally 2 more to be used as "default" setting). You can check my 2nd screenshot as a reference as to which colours are which (and your screenshot includes their names)… Honestly, it's pretty weird that this colour scheme shows half of all foreground colours as ‘grey’ 😅
I suggest either changing these colours to actually match their names, or switching to a different colour scheme (…or you can do both if you like some of the colours you have right now, I guess).
from buku.
I just modified them and it looks nice, it's just abstract to me what it does.
Thanks for all the help
from buku.
I just modified them and it looks nice, it's just abstract to me what it does.
“If a script prints out a ‘red’ text on ‘green’ background, here's the colours I want to be displayed on screen.”
from buku.
Related Issues (20)
- Mismatch between number of bookmarks in Firefox and number of bookmarks imported HOT 8
- --replace handling of commas in the old tag argument HOT 9
- Not working on Windows 11 HOT 4
- Auto import from Microsoft Edge not working on Windows 11 HOT 10
- Raycast Extension HOT 5
- 4.8 release missing from PyPI HOT 9
- Unit tests no longer work HOT 1
- preview CLI switch HOT 2
- Ubuntu 22.04: pipx install buku[server] failing. HOT 2
- Unit tests with VCR cassettes no longer work HOT 3
- More Immutability HOT 1
- Fails on Manjaro linux: No package metadata was found for buku HOT 1
- Cannot add a certain bookmark (ReadTimeoutError) HOT 3
- Question on the application structure HOT 2
- CI tests failing on master (…again) HOT 1
- Ubuntu 22.04: pipx install buku[server] not working HOT 7
- Delete all "[ERROR] [404] Not Found" urls HOT 1
- New features requests HOT 6
- Readline internal error HOT 10
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 buku.