You are not logged in.
Pages: 1
Topic closed
Can I somehow change the color of cursor in terminal?
Link to the screen — http://i.imgur.com/QhSCCpv.jpg — so you can understand what "cursor“.
I tried to add `URxvt*cursorColor: #FF0000` in `.Xresources` and run `xrdb`, but it doesn't change it.
Last edited by daGrevis (2013-01-25 13:25:35)
Offline
Did you actually just run xrdb, or did you run `xrdb -merge ~/.Xresources`?
Also, please remove that picture - it is much larger than forum guidelines and does not serve any purpose.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Updated post.
I ran `xrdb .Xresources` and restarted terminal. Other changes in `.Xresources` apply in that way so that shouldn't be the problem.
Offline
daGrevis: It should work as you do it, I've just tested it here and it works fine. Now I know about that configuration as well, cool
Offline
Updated post.
I ran `xrdb .Xresources` and restarted terminal. Other changes in `.Xresources` apply in that way so that shouldn't be the problem.
Can you post your .Xresources file?
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Sure. http://vpaste.net/ommAB
Offline
`xrdb .Xresources`
Run
xrdb -load ~/.Xresources
instead.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
It does not help. File is loaded because other things get changed.
Tested it w/ urxvt, xterm; bash, zsh — cursor doesn't get changed.
Offline
Gotcha! Color schema overwritten setting and didn't warn me about it.
Offline
You have cursorColor defined twice:
URxvt*cursorColor: #FF0000
...
URxvt.cursorColor: S_base1
Edit: obviously a bit too late, but we both did the same reading again...
Last edited by bohoomil (2013-01-25 13:32:19)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Sure. http://vpaste.net/ommAB
Sorry, I asked for that but then got a phonecall that dragged me away from my desk for a while.
Glad you sorted though.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
If you happen to use dynamic-colors to set a colorscheme for your terminal, your cursor's color is already being defined in:
/usr/share/dynamic-colors/colorschemes/solarized-dark.sh
file (assuming you use the solarized-dark theme).
What you can do is to comment the cursor variable definition on line 27 to let .Xresources' urxvt*cursorColor "prevail"; or you can set the color code directly in there.
To do that easily, you may issue:
dynamic-colors edit solarized-dark
which will bring up the theme file opened in your editor.
I had that problem coming here and could solve it myself when I figured out that it is being overwriten and decided to share my discovery for ones who could have similar situation.
Offline
Chinggis6, Welcome to the Arch Linux Forums, and thank you for a relevant post.
Watch the age of threads. This one has been marked solved and is four years old
https://wiki.archlinux.org/index.php/Co … bumping.22
Using this opportunity to close this thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed