You are not logged in.
Pages: 1
hi there, this my first post here, I've moved to Arch from SUSE, so here I am.
About an hour I was trying to make my "xterm" "urxvt" look good, and also my "dwm" taskbar that screwes some non english fonts now. I've installed many fonts so to be sure I have most of them and been messing with my .Xdefaults .Xresources and .bashrc file, in the end, my previous SUSE urxvt nice colors were replaced and lost, so I ended with a b/w ugly urxvt and xterm with very small font (for my 13' laptop). DWM taskbar uses small font by default too, I want to fix it either(should I check my config.h file for this or maybe it can be done via .Xresources? {scrach}).
The thing is that now every time I'm trying to add some new colors to .Xdefaults nothing happens, just plain b/w without any fanciness, that was intended. The only thing that works is changing my .bashrc file(what priority do these files have over each other? Which one should be altered?)
So I need some tips on what should I do now in order to make all things look pretty(I like gnome terminal colors, or just good custom themes that you may have for yourself).
So I have 3 files ~/.Xresources .Xdefaults .bashrc
I will not paste cat of these files, cause it's big.
.Xresources has xterm colors
.Xdefaults has some urxvt colors and font
.bashrc has these lines, that actually work:
export GTK_IM_MODULE=ibus
export XMODIFIERS="@im=ibus"
export QT_IM_MODULE=ibus
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
Summary:
1. I need good color highlightning for "urxvt".
2. I need to make my "dwm" taskbar fonts bigger and understand unicode.(I tend to think that these issues are connected, as long as dwm uses xsetroot for output)
Correct me please.
lenovo thinkpad EDGE 13'
Offline
Try running
xrdb -load ~/.Xdefaults
before you restart your Urxvt. However, first things first: take a look at Wiki Xdefaults article. Example configs are almost all around: plenty of people share their own settings (also dwm's config.h), so it's quite easy to compile a satisfactory solution for oneself. I, for that matter, wouldn't multiply configs: .bashrc is necessary, but focus on either .Xresources or .Xdefaults to make things easier. (I use .Xdefaults and don't experience any issues.)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
suckless.org has a page on this:
http://dwm.suckless.org/customisation/font
I believe you might need to use the pango patch to make unicode work in the statusbar.
Last edited by the sad clown (2011-03-31 21:50:12)
I laugh, yet the joke is on me
Offline
Try running
xrdb -load ~/.Xdefaults
before you restart your Urxvt. However, first things first: take a look at Wiki Xdefaults article. Example configs are almost all around: plenty of people share their own settings (also dwm's config.h), so it's quite easy to compile a satisfactory solution for oneself. I, for that matter, wouldn't multiply configs: .bashrc is necessary, but focus on either .Xresources or .Xdefaults to make things easier. (I use .Xdefaults and don't experience any issues.)
)) Thanks, but no, I do this every time I edit .Xdefaults or .Xresources. I've read archwiki on this, their configs work only for my .bashrc file. I tend to think that when I created .bashrc all went wrong, I don't know which file(or maybe none) have any kind of priority over the other or do they control separate apps. When I rename .bashrc I get b/w urxvt and xterm, when I roll back .bashrc, my urxvt gets its color that is defined in .bashrc, but what about .Xdefaults .Xresources themes for urxvt ? What should I leave as a default config file?
lenovo thinkpad EDGE 13'
Offline
suckless.org has a page on this:
http://dwm.suckless.org/customisation/fontI believe you might need to use the pango patch to make unicode work in the statusbar.
ahhh, oh I forgot about it, thank you.
lenovo thinkpad EDGE 13'
Offline
You've got the answer to your question right at the beginning of the article I mentioned. I guess there's simply a conflict between .Xdefaults and .Xresources because you really don't need them both, so choose one -- e.g. .Xdefaults -- to define settings for both Xterm and Urxvt. Regarding .bashrc, you need it as
This file is useful for setting up a user-specific shell environment.
If you get rid of it, the shell will load system wide default settings. (Hope it's clear?...)
Last edited by bohoomil (2011-03-31 22:01:38)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
You've got the answer to your question right at the beginning of the article I mentioned. I guess there's simply a conflict between .Xdefaults and .Xresources because you really don't need them both, so choose one -- e.g. .Xdefaults -- to define settings for both Xterm and Urxvt. Regarding .bashrc, you need it as
This file is useful for setting up a user-specific shell environment.
If you get rid of, shell will load system wide default settings. (Hope it's clear?...)
Yes, thank you. Now I get it.
lenovo thinkpad EDGE 13'
Offline
Ok, no I left only .Xdefaults, with these font theme:
!
! U R X V T - M L - Setting
!
URxvt*loginShell:true
URxvt*transparent:false
URxvt*shading:40
!URxvt*background:Black
!URxvt*foreground:White
URxvt*scrollBar:true
URxvt*scrollstyle:next
URxvt*scrollBar_right:false
URxvt*transpscrollbar:true
URxvt*saveLines:32767
URxvt*font:*-*-fixed-medium-r-normal--*-110-*-*-*-*-iso8859-1
URxvt*boldFont:*-*-fixed-bold-r-normal--*-*-110-*-*-*-*-iso8859-1
URxvt*foreground: #f2f2f2
URxvt*background: #101010
! Normal
! color0 black
! color1 red
! color2 green
! color3 yellow
! color4 blue
! color5 purple
! color6 cyan
! color7 white
URxvt*color0: #6c6c6c
URxvt*color1: #e9897c
URxvt*color2: #b6e77d
URxvt*color3: #ecebbe
URxvt*color4: #a9cdeb
URxvt*color5: #ea96eb
URxvt*color6: #c9caec
URxvt*color7: #f2f2f2
! Light
! color8 black
! color9 red
! color10 green
! color11 yellow
! color12 blue
! color13 purple
! color14 cyan
! color15 white
URxvt*color8: #747474
URxvt*color9: #f99286
URxvt*color10: #c3f786
URxvt*color11: #fcfbcc
URxvt*color12: #b6defb
URxvt*color13: #fba1fb
URxvt*color14: #d7d9fc
URxvt*color15: #e2e2e2
But unfortunately my urxvt fonts are still b\w in any mode, no colors, font became better however.
What's wrong?
lenovo thinkpad EDGE 13'
Offline
Your colors are nice; I've just tested your settings and they're working OK. The font is a classical bit and reads very well, too. I can't really see anything that might prevent your terminal from behaving correctly with this config file. Do you have your terminal type set properly in .bashrc? (E.g. export TERM=rxvt-256color?)
Last edited by bohoomil (2011-03-31 23:06:46)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Your colors are nice; I've just tested your settings and they're working OK. The font is a classical bit and reads very well, too. I can't really see anything that might prevent your terminal from behaving correctly with this config file. Do you have your terminal type set properly in .bashrc? (E.g. export TERM=rxvt-256color?)
I tried to recreate .bashrc with these line "export TERM=(u)rxvt-256color", nope, still b/w fonts, without any export TERM=rxvt-256colorcoloring in user or su mode.((
What can be the reason for this.?
lenovo thinkpad EDGE 13'
Offline
There's no need for exporting something.
add "URxvt.termName: rxvt-256color" to your .Xdefaults file.
Arch64/DWM || My Dropbox referral link
Offline
There's no need for exporting something.
add "URxvt.termName: rxvt-256color" to your .Xdefaults file.
added URxvt.termName: rxvt-256color to .Xdefaults in home/me/ xrdb -l .Xdefaults > no result, same b/w, su mode is b/w too(((
Maybe I didn't install some package? ooooh, I'm at a loss
Last edited by tasty_minerals (2011-04-01 10:03:39)
lenovo thinkpad EDGE 13'
Offline
never mind, should have read man first. thanks
Last edited by tasty_minerals (2011-04-01 16:07:39)
lenovo thinkpad EDGE 13'
Offline
Pages: 1