Gnome 3: How do I get the same mouse cursors in Chrome?
Edit the text file /usr/share/icons/default/index.theme
.
Replace its contents with the .theme
of the cursor you want.
In this case, your cursor of choice is /usr/share/icons/Adwaita/cursor.theme
.
Therefore, replace the contents of /usr/share/icons/default/index.theme
with those of /usr/share/icons/Adwaita/cursor.theme
.
Restart Chrome.
To add to UniversallyUniqueID's answer, I want to point out that Chrome often leaves threads running in the background when you close it. I edited /usr/share/icons/default/index.theme
, then closed & reopened Chrome and got some real wackiness where some of its cursors changed but the pointer stayed the same. It wasn't until I did a
ps -eaf | grep chrome
in a terminal that I saw that part of it was still running. Did a
pkill chrome
then relaunched Chrome, and all was good.
Try the following: https://wiki.archlinux.org/index.php/Cursor_themes#XDG_specification
You should then edit ~/.config/gtk-3.0/settings.ini
, replacing the cursor_theme_name
with the chosen one:
~/.config/gtk-3.0/settings.ini
[Settings]
gtk-cursor-theme-name=cursor_theme_name
In my experience, this configuration change fixed the cursor theme in Chromium-based browsers to the one specified.
When you have chromium installed as a snap package, that might be the issue
bug report
At the time of writing, this bug isn't fixed yet. Workaround is to replace the snap by a regular package:
- First make sure you are logged into an account so that your settings are synced and can be restored later
- In Ubuntu 18.04's software center, remove
Chromium
(snap package) and and installChromium web browser
(regular package) - Launch the browser and log in to your account to restore bookmarks etc.
I too had the same problem. The following steps worked for me
- Kill all Google Chrome windows.
- Relaunch Google Chrome.
After doing this, the correct set of cursors were displayed in Google Chrome.
Hope this helps!