You are not logged in.

#1 2012-09-04 22:44:53

sbfreak
Member
Registered: 2010-06-06
Posts: 149

[SOLVED] Can't get .Xresources to load

.Xresources

!TomorrowNightEighties
#define t_background        #2d2d2d
#define t_current_line      #393939
#define t_selection      	#515151
#define t_foreground      	#cccccc
#define t_comment	     	#999999
#define t_red		     	#f2777a
#define t_orange	     	#f99157
#define t_yellow        	#ffcc66
#define t_green	        	#99cc99
#define t_aqua	        	#66cccc
#define t_blue	        	#6699cc
#define t_purple        	#cc99cc


*.foreground:   t_foreground
*.background:   t_background
*.cursorColor:  #aeafad

! Black / Grey
*.color0:       #000000
*.color8:       #666666

! Red / Bright Red
*.color1:       t_red
*.color9:       #FF3334

! Green + Bright Green
*.color2:       t_green
*.color10:      #9ec400

! Yellow (Orange) + Bright Yellow (Yellow)
*.color3:       t_orange
*.color11:      t_yellow

! Blue + Bright Blue
*.color4:       t_blue
*.color12:      t_blue

! Magenta (Purple) + Bright Magenta
*.color5:       t_purple
*.color13:      #b777e0

! Cyan (Aqua) + Bright Cyan
*.color6:       t_aqua
*.color14:      #54ced6

! Light Grey (Selection) + White (Current Line)
*.color7:       t_selection
*.color15:      t_current_line

.xinitrc

[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
exec ck-launch-session dbus-launch i3

I'm trying to switch from .Xdefaults to .Xresources.
xorg-xrdb is installed.
I've deleted ~/.Xdefaults and restarted Xorg.
The font settings from Xdefaults are gone but the colors remain the same.

Last edited by sbfreak (2012-09-05 11:05:17)

Offline

#2 2012-09-05 00:18:09

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Can't get .Xresources to load

try

$ xrdb -load ~/.Xresources

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-09-05 02:31:43

komrad_toast
Member
From: New York
Registered: 2012-08-24
Posts: 37

Re: [SOLVED] Can't get .Xresources to load

I don't know about your system, but on my system the file is name .XResources, with a capital R. Try renaming it and re-loading.

Offline

#4 2012-09-05 02:39:33

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't get .Xresources to load

Is that all of your .Xresources file? What font settings are gone? I'm looking for something like this

urxvt*font:             xft:DroidSansMono:size=10

and I've looked through the code you posted several times, but I just don't see any font settings. All I see are colors. What am I missing? Maybe I misunderstand your question?

I would also try xrdb -load (but you don't really need the -load -- it's the default action).

xrdb ~/.Xresources

Last edited by 2ManyDogs (2012-09-05 02:44:18)

Offline

#5 2012-09-05 10:20:32

sbfreak
Member
Registered: 2010-06-06
Posts: 149

Re: [SOLVED] Can't get .Xresources to load

xrdb -load ~/.Xresources
xrdb ~/.Xresources
xrdb -merge ~/.Xresources

I have tried all of these.It did not work.

urxvt*font:             xft:DroidSansMono:size=10

Is that is all of my .Xresources.There are no font settings in .Xresources because I wanted to stick with the default one for a while.
After adding the following line was added the font now changed to,it see my system is loading .Xresources after all.
The only problem I have is that the colors remained the same.

I don't know about your system, but on my system the file is name .XResources, with a capital R. Try renaming it and re-loading.

Didn't work but thank you for the suggestion.

L.E: Apparently alsamixer loads the colors.
http://i.imgur.com/dKv8O.png

Ok I feel retarded.I should have have paid more attention to the god damn wiki.
Sorry for wasting your time.

Last edited by sbfreak (2012-09-05 11:04:58)

Offline

Board footer

Powered by FluxBB