You are not logged in.
Hello everyone, I hope you're having a nice day
The wiki says that urxvt comes natively with 256 color support, but in order to enable that feature you have to add a simple line to .Xresourse. To be 100% sure, I installed "rxvt-unicode-256xresources" from the AUR and added "URxvt.color12: rgb:5c/5c/ff" to my .Xresource file. I also ran "echo $TERM" to make sure that I was running the correct terminal program and I got "rxvt-unicode-256color". I thought I was all set until I ran a color test script from "https://github.com/chriskempson/base16-shell", in which my terminal failed. Here is the output I get from it:
http://i.imgur.com/GGRBuIf.png
What should I exactly do in order to fix this?
Last edited by Malkawi (2016-11-29 01:52:16)
Offline
you don't have any colour overrides in your shell configurations, or Xresources?
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Offline
you don't have any colour overrides in your shell configurations, or Xresources?
Yep, you were right. I disabled anything related to colours in my .Xresources file, made sure that the base16 script thing was running and tried again. Colors 0-15 are now displaying correctly, but 16-21 are not. Which means that my terminal is not showing 256 colors(according to the github page).
Here is the output after disabling color overrides : imgur
Last edited by Malkawi (2016-11-28 23:11:23)
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Fixed it
Offline
what does this output?
Offline
I can say what *I* output when I read that thing "Someone has never heard of a for loop!" - that's a 365 line script to output 256 colors. There are many sane scripts to display the 256 color pallette, that is most definitely not one of them. Here's mine:
for i in $(seq 0 255); do
printf "\e[0;48;5;${i}m %03d\e[0;38;5;${i}m %03d " $i $i
[[ $i -eq 7 || $i -eq 15 || $i -eq 231 || $i -eq 239 || $i -eq 247 ]] && echo
[[ $i -ge 15 && $i -le 231 && $(( ($i - 15) % 6 )) -eq 0 ]] && echo
done
@Malkawi, you say 16-21 are not right - but they look fine to me. How does the output you're getting differ from what you expect?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
what does this output?
There are many sane scripts to display the 256 color pallette, that is most definitely not one of
them. Here's mine:
Here is the output I got from both of your color-tests
@Malkawi, you say 16-21 are not right - but they look fine to me. How does the output you're
getting differ from what you expect?
This is the output I am expecting, According to This github post.
Run the included colortest script and check that your colour assignments appear
correct. If your terminal does not support the setting of colours in within the 256 colorspace (e.g. Apple
Terminal), colours 17 to 21 will appear blue.
Last edited by Malkawi (2016-11-29 01:46:25)
Offline
This turned out to be a completely unnecessary post and I apologize. I just noticed that I have to apply the theme before running the color test script. Thanks for everyone who tried to help me and I'm sorry for wasting your time.
Offline