You are not logged in.

#1 2008-11-23 07:14:02

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Cursor themes won't "take"

I'm using Awesome as my window manager.

If I set my cursor theme through .Xdefaults or with index.theme as described in the wiki, my new cursors are only active in windows, not when the mouse is on the background or on the panel.

If I set my cursor theme as described in the Awesome wiki, with xsetroot, the default cursor theme is used everywhere. Tried both in my .xinitrc and running it as a command, both before and after 'exec awesome' in my .xinitrc.

Any suggestions? smile

Offline

#2 2008-11-23 07:27:11

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Cursor themes won't "take"

Did you try setting both the .Xdefaults theme *and* the xsetroot in .xinitrc at the same time? That is what is necessary. So, for example you're xinitrc should contain:

xsetroot -cursor_name left_ptr

and your .Xdefaults should contain something like:

Xcursor*theme:  Vanilla-DMZ-AA
Xcursor.size:   22

thayer williams ~ cinderwick.ca

Offline

#3 2008-11-23 07:47:31

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Cursor themes won't "take"

Yep. I just get new cursors in windows, unfortunately.

.xinitrc:

#!/bin/sh

# Trying xsetroot before and after starting the WM, just in case
xsetroot -cursor_name Obsidian
wmname LG3D
urxvtd &
exec awesome
xsetroot -cursor_name Obsidian

.Xdefaults:

Xcursor.theme: Obsidian

Offline

#4 2008-11-23 10:58:26

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Cursor themes won't "take"

You actually put

xsetroot -cursor_name left_ptr &
.
.

Instead of mentioning the cursor theme name, but you do mention it in your Xdefaults

Offline

#5 2008-11-23 13:34:04

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Cursor themes won't "take"

Ah, thanks! Odd, the left_ptr part, though. Why do we set that? The Awesome wiki says to put in the theme name.

Offline

#6 2008-11-23 13:49:36

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Cursor themes won't "take"

I think it refers to the actual default file name of the cursor in all cursor themes.

Offline

#7 2008-11-23 20:34:41

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Cursor themes won't "take"

ST.x wrote:

I think it refers to the actual default file name of the cursor in all cursor themes.

Yeah. The default cursor for X is X_cursor, which is kind of an "invalid place to click" looking thing. left_ptr is a pointer that slants to the left, which is what most people would prefer.

Offline

Board footer

Powered by FluxBB