How to change your cursor in Gnome 3

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to change your cursor in Gnome 3

Postby Inoki on Fri Dec 02, 2011 7:55 am

What we will need:

- a desired cursor theme (can be obtained from either http://gnome-look.org or just about any website, like http://deviantart.com
- dconf-tools package from synaptic

How to do this:

1. Download your desired cursor theme and extract it to /usr/share/icons (you need root privileges to do that). The correct package needs to have an index.theme file inside.

2. Open up Gnome Tweak Tool, go to Theme's tab and change your cursor to the latest theme you downloaded.

3. Check the name of the cursor theme how it's displayed in Gnome Tweak Tool, make it match exactly as in system settings below in the index.theme of the cursor by opening it as root in the following location:

/usr/share/icons/default/index.theme

or using the command "sudo gedit /usr/share/icons/default/index.theme"

There should be a line labeled "Inherits" containing the name of the cursor theme. By default it's DMZ-White.

index.theme (-usr-share-icons-default) - gedit_003.png
index.theme (-usr-share-icons-default) - gedit_003.png (30.87 KiB) Viewed 11969 times


4. Last step is checking in system settings. The package in order to access system settings is called "dconf-tools" in Synaptic Package Manager. Download and install it.

Synaptic - správca inštalačných balíkov _001.png
Synaptic - správca inštalačných balíkov _001.png (109.81 KiB) Viewed 11976 times


To launch it, use ALT + F2 and type in "dconf-editor" (without the quotes). Navigate to:

Configuration Editor_002.png
Configuration Editor_002.png (69.39 KiB) Viewed 11976 times


or ORG > GNOME > DESKTOP > INTERFACE

The name in system settings should be the same there and in the index.theme file. Which means in system settings I currently have "oxy-neon", the same needs to be in index.theme file in Inherits section.

5. Once done, logout and log back in to your session, or hit CTRL + ALT + BACKSPACE. Hope this helps.
Last edited by Inoki on Sat Dec 03, 2011 11:30 am, edited 1 time in total.
User avatar
Inoki
Level 4
Level 4
 
Posts: 202
Joined: Sat Jul 31, 2010 4:11 am
Location: Denmark

Linux Mint is funded by ads and donations.
 

Re: How to change your cursor in Gnome 3

Postby karashata on Fri Dec 02, 2011 5:04 pm

Might I suggest something slightly easier..?

Follow the steps above for GNOME Tweak Tool, then stop. (ie. Do steps 1 and 2.)

Launch your favourite terminal emulator and run the following command:

Code: Select all
sudo update-alternatives --config x-cursor-theme


Enter the number for your desired cursor theme and hit Enter.

Debian and Ubuntu both use alternatives to configure many aspects of the system, and the X cursor theme is one such thing. You should not need to edit the default index.theme file directly to set the system-wide cursor theme, since it is a symlink to the alternatives file, which can be configured with the command I gave above.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: How to change your cursor in Gnome 3

Postby Inoki on Sat Dec 03, 2011 9:50 am

karashata wrote:Might I suggest something slightly easier..?

Follow the steps above for GNOME Tweak Tool, then stop. (ie. Do steps 1 and 2.)

Launch your favourite terminal emulator and run the following command:

Code: Select all
sudo update-alternatives --config x-cursor-theme


Enter the number for your desired cursor theme and hit Enter.

Debian and Ubuntu both use alternatives to configure many aspects of the system, and the X cursor theme is one such thing. You should not need to edit the default index.theme file directly to set the system-wide cursor theme, since it is a symlink to the alternatives file, which can be configured with the command I gave above.

The method you proposed didn't show me the cursor I wanted to select. I currently use "oxy-neon", but it only gave me the option to choose between "DMZ-White" and "DMZ-Black".
User avatar
Inoki
Level 4
Level 4
 
Posts: 202
Joined: Sat Jul 31, 2010 4:11 am
Location: Denmark

Re: How to change your cursor in Gnome 3

Postby karashata on Sat Dec 03, 2011 3:17 pm

Ah, I suppose that's true... There is a way to manually install the cursor theme into alternatives though so it can be selected from there:

Code: Select all
sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme <path to cursor theme (in this case, /usr/share/icons/oxy-neon/index.theme) <priority (an integer, say, 50)>


After using that code, the cursor theme should show up in the alternatives list when running the command I gave you earlier, and you can manually set it there.

If you want more info into how update-alternatives works, you can always check out the man page with:
Code: Select all
man update-alternatives
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: How to change your cursor in Gnome 3

Postby Inoki on Sun Dec 04, 2011 8:13 am

Thanks for the suggestion, I tried to do this the more "user friendly" way for those, who have little to no knowledge of Linux and coding. :) Since we are still left without properly working means of changing various aspects of the Gnome interface.
User avatar
Inoki
Level 4
Level 4
 
Posts: 202
Joined: Sat Jul 31, 2010 4:11 am
Location: Denmark

Re: How to change your cursor in Gnome 3

Postby ChickenPie4Tea on Sat Apr 14, 2012 5:06 am

I would like to know how you can just change one thing - in my case I dont want to change a whole cursor set just the busy animation. This was a piece of cake in windows but I dont know how in linux
ChickenPie4Tea
Level 3
Level 3
 
Posts: 109
Joined: Sun Jan 22, 2012 6:44 pm

Re: How to change your cursor in Gnome 3

Postby Deazel on Wed Mar 26, 2014 2:28 pm

What theme is OP using?
Linux User From 2009 to Forever.
Deazel
Level 1
Level 1
 
Posts: 14
Joined: Tue Mar 19, 2013 3:21 pm

Re: How to change your cursor in Gnome 3

Postby Inoki on Wed Mar 26, 2014 2:48 pm

Deazel wrote:What theme is OP using?

It's been a long time, but if memory serves me, it's this one: http://www.deviantart.com/art/SLAVE-GTK3-256366787 ;)
User avatar
Inoki
Level 4
Level 4
 
Posts: 202
Joined: Sat Jul 31, 2010 4:11 am
Location: Denmark

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 5 guests