LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-31-2019, 10:24 PM   #1
slac
Member
 
Registered: May 2019
Posts: 265

Rep: Reputation: Disabled
Question Why I can't set up a cursor theme? (current)


I have installed slackware 14.2 sometimes before and set up a cursor theme with no problem.

So, after upgrading to slackware current I am no longer able to set up a cursor theme, not only the theme I want but any pre-installed theme.

I have tried the following things to try set up the cursor theme:

Creating ~/.icons/default/index.theme
Code:
[icon theme] 
Inherits=Bibata_Ice
Creating ~/.config/gtk-3.0/settings.ini
Code:
[Settings]
gtk-cursor-theme-name=Bibata_Ice
Creating ~/.Xresources (xrdb -merge ~/.Xresources)
Code:
Xcursor.theme: Bibata_Ice
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?
 
Old 06-04-2019, 03:48 AM   #2
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
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.
 
Old 06-04-2019, 04:28 AM   #3
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
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

ln -s /usr/share/icons/redglass /usr/share/default
 
Old 06-05-2019, 02:56 PM   #4
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Labinnah View Post
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.

At least now there's a clue.

Last edited by slac; 06-05-2019 at 03:02 PM.
 
Old 06-05-2019, 03:01 PM   #5
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Okie View Post
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

ln -s /usr/share/icons/redglass /usr/share/default
So I created the symlink but didn't work.

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 View Post
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.

At least now there's a clue.
 
Old 06-05-2019, 03:43 PM   #6
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
try this:

make a file in ~/ named .XDefaults and add the line for the cursor theme you have installed in /usr/share/icons

Xcursor*theme: redglass


or ~/.Xresources with

Xcursor.theme: redglass
 
Old 06-05-2019, 03:48 PM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
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
 
1 members found this post helpful.
Old 06-05-2019, 05:34 PM   #8
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Okie View Post
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.

Thank 'u for the time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 14.04 unable to set Xorg cursor theme using update-alternatives danjde Linux - Software 1 01-05-2017 07:26 PM
LXer: Atolm GTK Theme + Clarity Icon Theme = Perfect for Dark Theme Fans LXer Syndicated Linux News 0 02-26-2011 11:50 PM
openoffice force default theme / no theme | dark theme fix H_TeXMeX_H LinuxQuestions.org Member Success Stories 1 03-08-2010 12:56 PM
Can't figure out how to change SuSE 10.1's horrid default cursor theme kersten78 SUSE / openSUSE 3 10-12-2006 02:00 PM
kde / gtk cursor-theme / theme issue - gentoo imperfect Linux - Newbie 1 01-08-2006 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration