You are not logged in.

#1 2013-01-25 12:19:13

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

[SOLVED] Change the cursor color for URxvt terminal

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

#2 2013-01-25 12:24:10

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,213
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

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.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2013-01-25 12:28:07

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

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

#4 2013-01-25 12:59:07

akh
Member
From: Copenhagen, Denmark
Registered: 2012-09-24
Posts: 25

Re: [SOLVED] Change the cursor color for URxvt terminal

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 smile

Offline

#5 2013-01-25 13:02:37

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,841

Re: [SOLVED] Change the cursor color for URxvt terminal

daGrevis wrote:

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

#6 2013-01-25 13:11:58

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

Offline

#7 2013-01-25 13:13:36

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

daGrevis wrote:

`xrdb .Xresources`

Run

xrdb -load ~/.Xresources

instead.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#8 2013-01-25 13:23:38

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

It does not help. File is loaded because other things get changed.

Tested it w/ urxvt, xterm; bash, zsh — cursor doesn't get changed. sad

Offline

#9 2013-01-25 13:25:19

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

Gotcha! Color schema overwritten setting and didn't warn me about it.

Offline

#10 2013-01-25 13:27:04

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] Change the cursor color for URxvt terminal

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... wink

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

#11 2013-01-25 13:34:06

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,841

Re: [SOLVED] Change the cursor color for URxvt terminal

daGrevis wrote:

Sorry, I asked for that but then got a phonecall that dragged me away from my desk for a while.
Glad you sorted though. smile


"...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

Board footer

Powered by FluxBB