You are not logged in.

#1 2018-07-21 14:13:57

onexused
Member
Registered: 2009-10-07
Posts: 117

[solved] cursor theme not used for all programs

It seems the cursor theme I've chosen isn't applied automatically when I log in; I have to open lxappearance (which loads/applies it).  The cursor theme then shows properly on most programs, but urxvt (which is autostarted) and openbox's menus still use the default cursor theme, rather than mine.
- openbox as wm & de
- lightdm to login
- lxappearance to choose themes
- I don't know whether I have any kind of settings daemon running.

What should I do to get the cursor theme to apply automatically when I log in and show for all programs?

Last edited by onexused (2018-07-23 16:01:07)

Offline

#2 2018-07-21 14:34:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,885

Re: [solved] cursor theme not used for all programs

https://wiki.archlinux.org/index.php/Cu … figuration
Though the wiki suggests lxappearance would write the config, thus setting the theme permanently?

Offline

#3 2018-07-21 16:41:22

onexused
Member
Registered: 2009-10-07
Posts: 117

Re: [solved] cursor theme not used for all programs

Yet in 2 hours of uptime since I wrote the post, the cursor theme on the root window has reverted to the default (opening lxappearance changed it back to the one I chose).  Firefox and medit still used my chosen theme. Urxvt uses the default theme no matter what I do.

Offline

#4 2018-07-21 17:02:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,885

Re: [solved] cursor theme not used for all programs

Are you saying ~/.icons/default/index.theme gets edited forth and back?

Offline

#5 2018-07-21 22:26:56

onexused
Member
Registered: 2009-10-07
Posts: 117

Re: [solved] cursor theme not used for all programs

~/.icons/default/index.theme currently says

[Icon Theme]
Name=Default
Comment=Default Cursor Theme
Inherits=Oxygen 01 Yellow

which is what I set, and I see that when the pointer is over Firefox and some other programs, but when the pointer is over the root window, urxvt, thunar, and some other windows, I see a black theme.  It looks like Adwaita, which are installed in /usr/share/icons (and I see now that's the one in /usr/share/icons/default/index.theme).

Offline

#6 2018-07-22 05:45:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,885

Re: [solved] cursor theme not used for all programs

Notice that the theme will not update easily over exising windows, so it's important to know what the file says before eg. starting openbox.

xsetroot -cursor_name left_ptr

should update it over the root window.

I must say that urxvt does not read the index.theme, it picks the theme from ~/.Xdefaults, which should contain

Xcursor.theme: Oxygen 01 Yellow

And on an additional caveat: I don't have a single theme that contains blanks, no idea whether that's causing trouble.

Offline

#7 2018-07-23 15:55:28

onexused
Member
Registered: 2009-10-07
Posts: 117

Re: [solved] cursor theme not used for all programs

More control = less "just works", I guess. Thanks for your help.  It looks like the space in the name *was* causing problems, as neither changing .Xdefaults nor running xsetroot helped until I changed that and chose the newly named theme in lxrandr.

Last edited by onexused (2018-07-23 16:00:50)

Offline

Board footer

Powered by FluxBB