Menu

#725 LXAppearance - Mouse Cursor Not Changing

None
open
nobody
6
2015-04-15
2015-01-14
SourceBugs
No

Hi,

My specs;

Slackware 14.1 x86_64
Openbox 3.5.2
LXAppearance 0.6.1
gtk+2-2.24.20
gtk+3-3.8.2

To begin with does LXAppearance use some type of database, or where does it store information besides these files and /paths?

~/.config/gtk-2.0
~/.config/gtk-3.0
.gtkrc-2.0

I click on a mouse cursor, I see it change, then I log out and back into Openbox, but when I click on something or mouse over, I'll see the old theme appear and I can't ever get rid of it.

It's like I have 2 cursors appear, the old and new ones...

How is LXAppearance still loading an old cursor, this is what I want to know?

This is the contents of my .gtkrc-2.0

DO NOT EDIT! This file will be overwritten by LXAppearance.

Any customization should be done in ~/.gtkrc-2.0.mine instead.

include "/home/foo/.gtkrc-2.0.mine"
gtk-theme-name="MediterraneanDarkest"
gtk-icon-theme-name="Numix"
gtk-font-name="Aller 9"
gtk-cursor-theme-name="Ecliz-orange"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"

This is the content of the ~/.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=MediterraneanDarkest
gtk-icon-theme-name=Numix
gtk-font-name=Aller 9
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

This is maybe a problem I noticed, before in the ~/.config/gtk-3.0/settings.ini it showed the gtk-cursor-theme-name= but now it's not appearing, so maybe this is why the cursor is not working properly for some reason?

Discussion

  • SourceBugs

    SourceBugs - 2015-01-14

    I just noticed that the ~/.icons/defaults/index.theme is not changing...

    It keeps showing the Inherits= as 'Pluse-Glass' no matter which mouse cursor I pick

    --This file is written by LXAppearance. Do not edit.
    [Icon Theme]
    Name=Default
    Comment=Default Cursor Theme
    Inherits=Pluse-Glass

     

    Last edit: SourceBugs 2015-01-14
  • SourceBugs

    SourceBugs - 2015-01-15

    I've been playing some more with this.

    I created a new user test account but that didn't help.

    I noticed too that in ~/.config/gtk-3.0/settings.ini everything seems to change except the gtk-cursor-theme-name= doesn't change if I add it in, or if I delete the file it doesn't get added.

    I tried adding a default directory in /usr/share/icons, this didn't do anything, and I removed the default directory in my $HOME, as well as leaving it empty to see if the directory or index.theme would get created new, nothing happened.

    I don't understand why these changes aren't happening...

    Hmm

     
  • SourceBugs

    SourceBugs - 2015-01-16

    Ok I found a solution, not sure if this is the 100% correct fix, or there's a bug in the way LXAppearance is handling this...

    I noticed for a lot of X11 Cursors, this is the contents you'll find inside their index.theme;


    [Icon Theme]
    Name=Ecliz
    Comment= Ecliz Cursors JJ.Ying yingjunjiu@yahoo.com.cn http://www.jjying.cn - Converted by GrynayS
    Example=left_ptr
    Inherits=core


    I just downloaded today a new iconset OpenZone 1.2.4

    http://gnome-look.org/content/show.php/OpenZone?content=111343&PHPSESSID=96da02b74b6063e2b7dd95bf35887dba

    And when I looked inside it's index.theme this is what I found;

    [Icon Theme]
    Name=Openzone Ice
    Example=watch

    So then I removed the Inherits= line in my other cursors, and now it's working, the /default/index.theme is changing, also the ~/.config/gtk-3.0/settings.ini is showing the new cursor too.

    So my question is, has something changed with the latest version of LXApperance, that a mouse cursor should no longer have Inherits= in it's index.theme file, or is this a bug in LXApperance, that it should work with it?

    Also what should we expect to see inside a mouse cursor's index.theme, just name & example?

     

    Last edit: SourceBugs 2015-01-16
  • SourceBugs

    SourceBugs - 2015-01-17

    Ok, I found another problem, icons installed into /usr/share/icons are not being changed if I pick one, also there is no /default/index.theme being created in /usr/share/icons too...

    If I pick a mouse cursor icon in /usr/share/icons and then look at ~./icons/default/index.theme the Inherits= does not change, also in ~/.config/gtk-3.0/settings.ini the gtk-cursor-theme-name= doesn't change.

    For now I can only change mouse cursor icons located in my $HOME

    P.S. In Slackware the system icons installed in /usr/share/icons do not have a index.theme file, are they suppose to have one?

     

    Last edit: SourceBugs 2015-01-17
  • SourceBugs

    SourceBugs - 2015-01-29

    Hi,

    Can someone please tell me if the changes I've made are correct for fixing this issue, or no, this is a bug that needs to be fixed in lxappearance?

    thank you

     
  • SourceBugs

    SourceBugs - 2015-04-11

    Hi,

    Anyone please?

    thank you

     
  • Lonely Stranger

    Lonely Stranger - 2015-04-11
    • labels: --> lxappearance
    • Group: -->
    • Priority: 5 --> 6
     
  • Lonely Stranger

    Lonely Stranger - 2015-04-11

    I'm sorry for being late with answer your issue. Yes, it was changed last year to address some issues with icons themes. Probably that fix got a side effect which you've discovered. I will investigate it further. Thank you very much for detailed diagnostics.

     

    Last edit: Lonely Stranger 2015-04-11
  • SourceBugs

    SourceBugs - 2015-04-15

    Ok thanks

     

Log in to post a comment.

MongoDB Logo MongoDB