spectrwm terminal colors issue (SOLVED)

If it doesn't relate to Debian, but you still want to share it, please do it here

spectrwm terminal colors issue (SOLVED)

Postby Job » 2017-04-12 21:26

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
--------------------------------------------------------------------------------------------------------------
Stretch - Devuan - Jessie (Media Center, yes, believe it)
User avatar
Job
 
Posts: 765
Joined: 2006-12-30 20:20
Location: no clue

Re: spectrwm terminal colors issue

Postby debiman » 2017-04-13 08:08

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
debiman
 
Posts: 1511
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

Postby Job » 2017-04-13 17:19

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
--------------------------------------------------------------------------------------------------------------
Stretch - Devuan - Jessie (Media Center, yes, believe it)
User avatar
Job
 
Posts: 765
Joined: 2006-12-30 20:20
Location: no clue

Re: spectrwm terminal colors issue

Postby Nili » 2017-04-14 06:42

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!
Roots heritage #! / If ain't it broke, make some tweaks then
Heart Gata Virus
WM: herbstluftwm / tint2 / conky
User avatar
Nili
 
Posts: 277
Joined: 2014-04-30 14:04
Location: $HOME/music

Re: spectrwm terminal colors issue

Postby debiman » 2017-04-14 06:48

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: 1511
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

Postby debiman » 2017-04-14 06:50

Nili wrote:Hi! I'm still using ~/.Xdefaults ...

https://superuser.com/questions/243914/ ... -xdefaults
User avatar
debiman
 
Posts: 1511
Joined: 2013-03-12 07:18

Re: spectrwm terminal colors issue

Postby Nili » 2017-04-14 07:10

^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.
Roots heritage #! / If ain't it broke, make some tweaks then
Heart Gata Virus
WM: herbstluftwm / tint2 / conky
User avatar
Nili
 
Posts: 277
Joined: 2014-04-30 14:04
Location: $HOME/music

Re: spectrwm terminal colors issue

Postby Job » 2017-04-15 11:06

Thanks fellas, will try your inputs.
#aptitude install life
--------------------------------------------------------------------------------------------------------------
Stretch - Devuan - Jessie (Media Center, yes, believe it)
User avatar
Job
 
Posts: 765
Joined: 2006-12-30 20:20
Location: no clue

Re: spectrwm terminal colors issue (SOLVED)

Postby Job » 2017-04-23 20:05

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
--------------------------------------------------------------------------------------------------------------
Stretch - Devuan - Jessie (Media Center, yes, believe it)
User avatar
Job
 
Posts: 765
Joined: 2006-12-30 20:20
Location: no clue


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable