[Pkg-xfce-devel] Bug#603484: Bug#603484: xfce4-settings: Changing Mouse, Cursor Theme Has No Effect

Allen Cuda debian.iwv9z at ncf.ca
Wed Apr 13 00:52:07 UTC 2011


On 12/04/11 02:14 AM, Yves-Alexis Perez wrote:
> On lun., 2011-04-11 at 21:21 -0400, Allen Cuda wrote:
>> FYI,
>> If you log in from GDM using the 'Run Xclient script' as your session,
>> you will not be able to change your mouse cursor theme and size as
>> described in the bug report. You must log in using 'Xfce session' for
>> the theme and size changes to work.
>
> Thanks, that's new and useful information.
>
> Could you give use the output of:
>
> xrdb -query
>
> in both cases and before/after changing the theme?

While logged in with Xfce-session I ran xrdb -query before changing the 
theme:

*customization:    -color
Xcursor.size:    22
Xcursor.theme:    default
Xcursor.theme_core:    true
Xft.antialias:    1
Xft.dpi:    91
Xft.hinting:    -1
Xft.hintstyle:    hintfull
Xft.rgba:    rgb

And here is the output immediately after changing from the default (DMZ 
white) theme to the Oxygen Blue theme.

*customization:	-color
Xcursor.size:	22
Xcursor.theme:	oxy-blue
Xcursor.theme_core:	true
Xft.antialias:	1
Xft.dpi:	91
Xft.hinting:	-1
Xft.hintstyle:	hintfull
Xft.rgba:	rgb

I then logged out and logged in using the Xclient script session and ran 
xrdb -query and only a single line was output, and the cursor theme is 
back to the default with some exceptions like those described by the bug 
reporter:

*customization:	-color

Oddly enough, if I change the theme while in this session and run xfwm4 
--replace, the theme does change and the xrdb output is:

*customization:	-color
Xcursor.size:	22
Xcursor.theme:	ComixCursors-Opaque-Green-Huge
Xcursor.theme_core:	true
Xft.antialias:	1
Xft.dpi:	91
Xft.hinting:	-1
Xft.hintstyle:	hintfull
Xft.rgba:	rgb

However, logging out and back in using the Xclient session results in 
the single line xrdb output with the default theme prevailing.


>
>>   If you want the changes to take
>> effect without restarting the X server, execute 'xfwm4 --restart&' from
>> a terminal (Note that QT applications need to be restarted to get the
>> new cursor theme).
>
> Note that, as I already said, apps *wont* pick up the new cursor theme
> until they are restarted. Easiest way to restart the window manager is
> to quit X but indeed you can restart it manually.
>
>>   Also, some cursor themes have "small/medium/large"
>> sets and won't respond to the cursor size hint.
>>
>> So, maybe the bug is in the session script…
>
> My guess is that it's not a bug. When using "run xclient script" the
> system uses whatever you provided as .xsession so it's your
> responsibility to manage that correctly.
>
> "Xfce session" is a session setup by Xfce and Debian maintainers which
> takes care of everything which need to be done. It's usually the best
> choice but some people might prefer to do it their way.
>
> Note that if you don't chose anything there's a fallback mechanism in
> the X startup scripts which will end up running the x-session-manager
> currently configured, which is often xfce4-session on a typical Xfce
> box. In that case you end up with a Xfce session with most of the apps
> but lacking stuff (xscreensaver, some configuration etc.). That'll be
> fixed for 4.8 where we'll put the whole configuration script as the
> default x-session-manager so the default settings starts a complete Xfce
> session.
>
> Regards,






More information about the Pkg-xfce-devel mailing list