Skip to content

Help disabling 256 color mode in urxvt [xpost r/urxvt]

I have 16 colors defined in my Xresources, and I happen to like those 16 colors. When I run a script to display the full color range in urxvt, I get 256 colors, and the ones that aren't my 16 colors are super shitty.

I would like it if the terminal and all programs in the terminal (vim, emacs, etc.) used my 16 defined colors and nothing else. Is it possible to do this the way I want, or would disabling the color range just make things worse?

Any advice would be appreciated, thanks!

1 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
39tklu

Author

5
posts
32
comments
0
media
View profile

8 comments

What applications (except your obviously shitty script) do you know that use more than the first 16 colors?

Even my (shitty) script only displays what’s explicitly defined.

1 points

vim is using additional colors. I'd like the default vim color scheme to stick to the colors I've defined, but there's this shitty brown/yellow color that it uses everywhere that looks nothing like my colors.

1 points

vim is using additional colors.

As far as I can see it does not. But maybe it’s because I set a theme up only using color0 to color15.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.