LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2020, 01:02 AM   #1
LenHoff
Member
 
Registered: Mar 2017
Posts: 92

Rep: Reputation: Disabled
A few apps in Mint 18.1_Cinnamon stopped using selected cursor theme


Mint 18.1, a few apps started showing different cursor - pointer, link selection, busy / window loading (some spinning do-dad). Most still use the theme I installed a few yrs ago ("superme-series-master" - red theme).

Tor Browser started using very tiny black pointer - even over black areas. I believe TBB is mostly GTK3 (based on Fx 68.x ESR). The other icons it uses are too small or same color as the BG. I tried the Cinnamon Settings - enlarge pointer size - didn't change anything in TBB.

Other apps that don't use the selected theme (but don't all necessarily use the SAME un-selected theme)
- SMPlayer - don't know if it switched to GTK3, but other GTK2 apps use the selected superme theme OK.

- VLC player - don't know what theming engine it uses, but it always used the selected cursor.

Most other apps I checked were fine - GTK2 & GTK3. Too many to check now.

Any ideas why less than a handful are protesting?
If TBB was on board, I might forget about the other few.

I used a search tool on Tor Browser's directory - even extracted omni.ja. Found no cursor files.

The few questions I found about this usually involved way more - or most apps.
Thanks.
 
Old 09-16-2020, 02:32 PM   #2
cmcanulty
Member
 
Registered: Sep 2009
Posts: 48

Rep: Reputation: 2
cursor

I am using xubuntu but I expect this fix will work in mint also. If not just delete the file you made. Ubuntu has been notorious for this long standing bug. Create a text file called .Xresources (note that is a capital X). Put this in the file:

Xcursor.size: 48
Xcursor.theme: DMZ-Black

Of course you put the proper color and size you always want. Works like a charm for me across many computers.
 
Old 09-17-2020, 12:44 AM   #3
LenHoff
Member
 
Registered: Mar 2017
Posts: 92

Original Poster
Rep: Reputation: Disabled
Thanks, cmcanulty.
The long standing bug being, that only a few apps suddenly stop using the selected cursor theme?
To your knowledge, has anyone ever found the cause of this, if not a permanent fix?

Does my cursor theme being in ~/.themes have a bearing on where file .Xresources is placed?
I've read some comments suggesting to add the desired cursor theme name (some say the whole path) in /usr/share/.icons/default. Entering the path & file name didn't work here, after a restart. Others said they didn't use the full path - just theme name. Don't remember if they had some of their cursor themes in ~/.themes.

Still others said they put custom cursor themes in /.themes & /usr/share/.icons. I've tried that w/ custom Mint themes to see if some problem persisted. But, you have to name any theme in Mint 18 (I think 19), as the themes settings UI - Cinnamon in LM 18.1 - doesn't say where each theme is installed.

You didn't say where to place the .Xresources file.
By the period, it looks like in root (base) directory of /home.

There is a directory, "/etc/X11/Xresources" that contains one file, x11-common. Which is odd - the filename you mention could possible be a single user version of the file?
Maybe the same file in /etc/x11/Xresources, for global use? Just a guess.
 
Old 09-17-2020, 07:00 AM   #4
cmcanulty
Member
 
Registered: Sep 2009
Posts: 48

Rep: Reputation: 2
cursor

Sorry yes put it in your home folder. this works for me in everything.Doing it in themes did nothing for me.I spent so much time figuring this out that I just put it in any and all /home/.Xresources as it works in every app for me.

Last edited by cmcanulty; 09-18-2020 at 07:24 AM.
 
Old 10-09-2020, 03:09 PM   #5
LenHoff
Member
 
Registered: Mar 2017
Posts: 92

Original Poster
Rep: Reputation: Disabled
Problem is solved - mostly. Sorry, but in Mint 18.1, creating .Xresources file in my /Home/user directory didn't work. I found more info online about that method & tried a few different things with it - none worked.

The solution was fairly simple, once I figured it out. That's like saying, "I found my missing (xyz) in the last place I looked."
Now, even apps running under Wine use the custom cursor theme.

The problem seemed mostly permissions (in /usr/share/icons) on the "cursors" folder, under the top folder with custom cursor theme name; and maybe?? Mint / Cinnamon expecting the index.theme file to contain "Inherits=<theme-name>" (in /usr/share/icons/default).

Permissions on all cursor images files matched the other cursor themes. Possibly, the permissions on "cursors" folder in the theme may have stopped Tor Browser from using the theme. Because, if I selected another native or repo-installed cursor theme in Settings> Themes> "mouse pointer" (in Mint w/ Cinnamon), TBB used them OK, whether or not they were listed in theme "default" folders.

I compared permissions on all the custom cursor theme's folders & files to repo installed cursor themes (like DMZ-White) & changed the custom theme's permissions to match.
The custom cursor theme was just a .zip file (as many are) & instructions on this type of theme were to extract it to /usr/share/icons (destination opened as root, I assume). or for just one user, to the ~/.icons folder (create it if missing). But that wasn't Tor Browser's problem.

I noticed (& several tutorials mentioned) that many custom cursor themes - NOT from your repo, often have BOTH the cursor.theme & index.theme files.
Several claimed the file placed in "default" folder had to be "index.theme." Now, I'm not sure that matters.
In fact, both DMZ-Black & DMZ-White - just reinstalled from Mint repo, have both those files; in both themes, the "cursor.theme" file has: "Inherits=DMZ-Black", etc.

And both DMZ themes work fine, so maybe in MY distro & DE, it doesn't matter if the file name in /usr/share/icons/default (or ~/.icons/default) is index.theme or cursor.theme.
In this custom cursor theme & others I checked, the cursor.theme file has the data:
Code:
[Icon Theme]
Inherits=<theme-name>
like:
Code:
[Icon Theme]
Inherits=DMZ-Black
I imagine capitalization & spacing matters for the theme name.

The problem with Mint-Cinnamon (maybe other distros & DEs), if you want one cursor theme to be default, many said you HAVE to use /usr/share/icons/default folder AND Mint and/or Cinnamon wants the index.theme file in /usr/.../default folder to contain, "Inherits=<theme-name>". I'm not sure of that.
It's possible that the value Cinnamon stores in dconf under "org.cinnamon.desktop.interface" is treated as default cursor theme. The theme I select in Settings > Theme > mouse pointer, is what shows in the dconf path, as "cursor-theme." But cursor theme folder / file permission issues may stop certain apps from using the default theme.

I copied the cursor.theme file to /usr/share/icons/default, then changed file name to Index.theme.
As many suggested, I created a "default" folder under ~/.icons/default and changed the file name under ~/.icons/default to index.theme. Again, I'd have to test if the file under /default folders being named matters - I'd have to test it.
Attached Images
  
 
  


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
LXer: Atolm GTK Theme + Clarity Icon Theme = Perfect for Dark Theme Fans LXer Syndicated Linux News 0 02-26-2011 11:50 PM
I need a script to Delete Selected BackupFiles and Restore selected backup file finalwar Linux - Newbie 3 07-20-2010 02:10 AM
openoffice force default theme / no theme | dark theme fix H_TeXMeX_H LinuxQuestions.org Member Success Stories 1 03-08-2010 12:56 PM
Granting selected user access to selected network interface dexen Linux - Networking 2 10-04-2009 03:51 AM
kde / gtk cursor-theme / theme issue - gentoo imperfect Linux - Newbie 1 01-08-2006 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:36 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