[SOLVED] Why I can't set up a cursor theme? (current)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Usually these files work in any distro for most of the applications I use.
Also there's a thing I do when I do not want to create these files and I am using dwm as windows manager, and it is setting up the cursor theme with environment variables (much easier):
Added to ~/.xinitrc
Code:
XCURSOR_THEME=Bibata_Ice dwm
Anyway that's the problem, none of these methods have worked correctly, the cursor theme remains the default, which is Adawita, I guess.
Only thing I have done after upgrading to current is installing some Suckless tools and that's it.
What's the possible solution?
What kind of window manager you use? Under KDE4 and ktown Plasma5 from Eric I have no problem with custom cursor theme. But I suspect that KDE set it internally without using generic X configs.
However you may:
- make sure that path to cursor files is correct, and all files are readable;
- check "~/.gtkrc-2.0" and put "gtk-cursor-theme-name" line there;
- set XCURSOR_PATH to directory where your cursors are located;
- run "dconf-editor" and check "/org/gnome/desktop/interface/cursor-theme" path.
what sometimes works for me, depending on which window manager i happen to be using is i make a symlink to it called default like this (you have to use sudo or su for root access in a xterminal) also kde and xfce have their own tools to set icon and cursor themes
What kind of window manager you use? Under KDE4 and ktown Plasma5 from Eric I have no problem with custom cursor theme. But I suspect that KDE set it internally without using generic X configs.
However you may:
- make sure that path to cursor files is correct, and all files are readable;
- check "~/.gtkrc-2.0" and put "gtk-cursor-theme-name" line there;
- set XCURSOR_PATH to directory where your cursors are located;
- run "dconf-editor" and check "/org/gnome/desktop/interface/cursor-theme" path.
I have followed your instructions, the only thing that worked was the environment variables: XCURSOR_*
I use dwm as window manager, I do not have installed any other desktop environment nor wm.
However I found something curious, if I out the following content in ~/.xinitrc to execute dwm:
Code:
XCURSOR_THEME=redglass XCURSOR_SIZE=32 dwm
It works! BUT! The curious thing that I found was that it worked becuase I set up redglass, if I put other pre-installed theme such as "HighContrast" or "Tango", the theme isn't applied, same happens with manually installed themes, ie: Bibata_* (Oil, Ice, Amber)
So, I don't know what's happening, some themes apply others don't regardless they were installed by me or came pre-installed with the system. And I want Bibata to be the cursor theme.
what sometimes works for me, depending on which window manager i happen to be using is i make a symlink to it called default like this (you have to use sudo or su for root access in a xterminal) also kde and xfce have their own tools to set icon and cursor themes
I found that I can set up the cursor theme through environment variables, however I cannot the cursor theme I want yet. I've explained what's happening here (quote), if you want to take a look.
Quote:
Originally Posted by slac
I have followed your instructions, the only thing that worked was the environment variables: XCURSOR_*
I use dwm as window manager, I do not have installed any other desktop environment nor wm.
However I found something curious, if I out the following content in ~/.xinitrc to execute dwm:
Code:
XCURSOR_THEME=redglass XCURSOR_SIZE=32 dwm
It works! BUT! The curious thing that I found was that it worked becuase I set up redglass, if I put other pre-installed theme such as "HighContrast" or "Tango", the theme isn't applied, same happens with manually installed themes, ie: Bibata_* (Oil, Ice, Amber)
So, I don't know what's happening, some themes apply others don't regardless they were installed by me or came pre-installed with the system. And I want Bibata to be the cursor theme.
oh and almost forgot, HighContrast and Tango are just icon themes, there are no cursors in those themes,
redglass and whiteglass are cursor themes and Adwaita has cursors, the rest dont, unless you can find some cursor themes, i think KDE has some cursor themes if you can find and install the KDE cursor theme
oh and almost forgot, HighContrast and Tango are just icon themes, there are no cursors in those themes,
redglass and whiteglass are cursor themes and Adwaita has cursors, the rest dont, unless you can find some cursor themes, i think KDE has some cursor themes if you can find and install the KDE cursor theme
AH, yeah, I don't know why I forgot those weren't even cursor themes. Sorry.
NOW! I installed lxappearance to take a look at the cursor themes and I found the cursor themes I tried to use were corrupted and some of them were missing cursors.
So I re-build the themes from source and then I created the symlinks to the missing cursors in some of the themes.
Now the themes have all the necessary cursors to work correctly. And that's it! Now all of the methods suggested before in this thread to set up a cursor theme work as they should.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.