You are not logged in.

#1 2013-04-07 21:50:54

White girl
Member
Registered: 2012-12-24
Posts: 34

[SOLVED] Xmonad - Cursor issue.

I've set xsetroot in ~/.xinitrc for cursor. Cursor works properly on firefox, in text editor, and few other things. But for desktop, xmobar, pidgin's tab bar, and most other area cursor is a black "X". Is there any solution for it?

Last edited by White girl (2013-04-09 19:05:23)

Offline

#2 2013-04-07 22:00:01

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [SOLVED] Xmonad - Cursor issue.

Is it possible to set it after Xmonad has been started?


:: Registered Linux User No. 223384

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

Offline

#3 2013-04-08 07:49:31

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

bohoomil wrote:

Is it possible to set it after Xmonad has been started?

It doesn't change anything. (I placed xsetroot command after "exec xmonad" line)

Offline

#4 2013-04-08 08:02:16

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

Re: [SOLVED] Xmonad - Cursor issue.

No, It should be before the exec xmonad line.


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

Offline

#5 2013-04-08 15:58:40

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

illusionist wrote:

No, It should be before the exec xmonad line.

It used to be before the exec xmonad, had the same problem.

Offline

#6 2013-04-08 16:05:19

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

Re: [SOLVED] Xmonad - Cursor issue.

Post your xinitrc and try lxappearance to change cursor theme. I haven't used xmonad since a year; forgot most of the tips/tricks.


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

Offline

#7 2013-04-09 03:35:17

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

illusionist wrote:

Post your xinitrc and try lxappearance to change cursor theme. I haven't used xmonad since a year; forgot most of the tips/tricks.

http://pastebin.com/ih27Qbsm

Isn't lxappearance for lxde?

Offline

#8 2013-04-09 04:31:38

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

Re: [SOLVED] Xmonad - Cursor issue.

It is bundled with lxde but works with most of the wm's.
And there is the problem. You have

xsetroot Vanilla-DMZ left_ptr

in your .xinitrc. But it should be

xsetroot -cursor_name left_ptr

Replace "left_ptr" with your cursor theme/name.


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

Offline

#9 2013-04-09 05:00:40

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [SOLVED] Xmonad - Cursor issue.

Besides, merge your .Xresources and .Xdefaults: both serve the same purpose, and probably one overwrites the other. You can set your cursor's theme there, like this:

Xcursor.theme: Neutral++
Xcursor.size:  32

:: Registered Linux User No. 223384

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

Offline

#10 2013-04-09 06:19:05

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

illusionist wrote:

It is bundled with lxde but works with most of the wm's.
And there is the problem. You have

xsetroot Vanilla-DMZ left_ptr

in your .xinitrc. But it should be

xsetroot -cursor_name left_ptr

Replace "left_ptr" with your cursor theme/name.

Now it's like xsetroot -cursor-name Vanilla-DMZ. It doesn't change anything. Tried DMZ, doesn't do a thing.

bohoomil wrote:

Besides, merge your .Xresources and .Xdefaults: both serve the same purpose, and probably one overwrites the other. You can set your cursor's theme there, like this:

Xcursor.theme: Neutral++
Xcursor.size:  32

Xcursor.theme: Vanilla-DMZ is already in ~/.Xdefaults. Should I put it in ~/.Xresources too?

Offline

#11 2013-04-09 07:02:43

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Xmonad - Cursor issue.

White girl wrote:

Xcursor.theme: Vanilla-DMZ is already in ~/.Xdefaults. Should I put it in ~/.Xresources too?

You should keep only one of the two. Preferably .Xresources. So, move all the contents of .Xdefaults to .Xresources and delete any duplicate content.

Offline

#12 2013-04-09 07:49:25

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

x33a wrote:
White girl wrote:

Xcursor.theme: Vanilla-DMZ is already in ~/.Xdefaults. Should I put it in ~/.Xresources too?

You should keep only one of the two. Preferably .Xresources. So, move all the contents of .Xdefaults to .Xresources and delete any duplicate content.

I added that line to ~/.Xresources. Cursor issue still stands. Maybe it shouldn't be Vanilla-DMZ, but something else? The folder for cursor in /usr/share/icon is Vanilla-DMZ, but in index.html it's called DMZ.

Offline

#13 2013-04-09 10:45:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Xmonad - Cursor issue.

Try this temporarily:

xsetroot -cursor_name left_ptr &

Offline

#14 2013-04-09 19:02:19

White girl
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] Xmonad - Cursor issue.

x33a wrote:

Try this temporarily:

xsetroot -cursor_name left_ptr &

It works when I add that line in ~/.xinitrc! Thanks.

Last edited by White girl (2013-04-09 19:04:42)

Offline

Board footer

Powered by FluxBB