Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

spectrwm terminal colors issue (SOLVED)

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
Job
Posts: 813
Joined: 2006-12-30 20:20
Location: no clue
Contact:

spectrwm terminal colors issue (SOLVED)

#1 Post by Job »

I know a lot people on the board use spectrwm. I am trying to understand if there is something that needs to be done to have proper colors display on rxvt, at least with ncmpcpp.

I will appreciate any hints you guys may have. Thank you.

on i3 as I would like to have them.
Image

completely different on spectrwm
Image
Last edited by Job on 2017-04-23 20:04, edited 1 time in total.
#aptitude install life
--------------------------------------------------------------------------------------------------------------
Debian 12 - FreeBSD

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

#2 Post by debiman »

urxvt usually parses the X server resource database to get its colours.
but that databse has to be filled explicitely. you should have
a) the desired color definitions in ~/.Xresources
b) a line in your autostart that merges this with the already existing database:

Code: Select all

xrdb -merge ~/.Xresources

User avatar
Job
Posts: 813
Joined: 2006-12-30 20:20
Location: no clue
Contact:

Re: spectrwm terminal colors issue

#3 Post by Job »

debiman wrote:urxvt usually parses the X server resource database to get its colours.
but that databse has to be filled explicitely. you should have
a) the desired color definitions in ~/.Xresources
b) a line in your autostart that merges this with the already existing database:

Code: Select all

xrdb -merge ~/.Xresources
.Xresources has colors defined. when you said database with

Code: Select all

xrdb -merge ~/.Xresources
what database are you referring to? I would like to check that the line actually exists.

Thanks for the reply.
#aptitude install life
--------------------------------------------------------------------------------------------------------------
Debian 12 - FreeBSD

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: spectrwm terminal colors issue

#4 Post by Nili »

Hi! I'm still using ~/.Xdefaults on my home for rxvt-unicode config.
May be deprecated on some distros but still works on Debian stable that i always use.

Manually i use this command xrdb ~/.Xdefaults each time i make changes on the urxvt code.

Maybe create a new ".Xdefaults" on your home, put your urxvt code within and watch if there are changes.
Regards!
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

#5 Post by debiman »

Job wrote:.Xresources has colors defined. when you said database with

Code: Select all

xrdb -merge ~/.Xresources
what database are you referring to?

Code: Select all

man xrdb

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

#6 Post by debiman »

Nili wrote:Hi! I'm still using ~/.Xdefaults ...
https://superuser.com/questions/243914/ ... -xdefaults

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: spectrwm terminal colors issue

#7 Post by Nili »

^Yes, .Xresources sounds better but i don't have issue using old method also a little command on terminal to apply new changes still makes the job done.
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
Job
Posts: 813
Joined: 2006-12-30 20:20
Location: no clue
Contact:

Re: spectrwm terminal colors issue

#8 Post by Job »

Thanks fellas, will try your inputs.
#aptitude install life
--------------------------------------------------------------------------------------------------------------
Debian 12 - FreeBSD

User avatar
Job
Posts: 813
Joined: 2006-12-30 20:20
Location: no clue
Contact:

Re: spectrwm terminal colors issue (SOLVED)

#9 Post by Job »

Easy but hidden resolution, my default terminal in spectrwm was xterm which resulted in limited color options. Changing that to urxvt did the trick.
#aptitude install life
--------------------------------------------------------------------------------------------------------------
Debian 12 - FreeBSD

Post Reply