How to Change the Mouse Cursor on Ubuntu Linux

On Ubuntu’s standard GNOME desktop, install a cursor theme in your user profile and select it in GNOME Tweaks. The whole process takes three parts: download a theme archive, put its theme folder in ~/.local/share/icons, and choose it under Tweaks > Appearance > Cursor.

Theme changes and pointer size are different

Ubuntu’s built-in Settings can make the pointer larger, but that does not install a different design. For size, open Settings > Accessibility > Seeing > Cursor Size. To change the arrow, hand, loading indicator, and other pointer shapes, follow the theme steps below. The instructions here are for Ubuntu Desktop with GNOME; Kubuntu, Xubuntu, and other desktop flavors have their own appearance tools.

Download and prepare a cursor theme

  1. Choose a theme. Download a cursor theme from its creator’s site or a Linux desktop theme directory such as GNOME-Look. Check the creator’s notes for GNOME or Xcursor compatibility and choose a package that includes a cursor theme, not only desktop icons. Theme files are community-made, so use a source you trust and do not run an installer script just to change a cursor.
A cursor theme gallery preview with several pointer designs and a Download button
Compare the cursor shapes shown on a theme page before downloading its archive.
  1. Extract the archive. Open Files, go to Downloads, right-click the downloaded .zip, .tar.gz, or .tar.xz file, and choose Extract Here (or the equivalent extract option shown on your Ubuntu version). If the archive opens in Archive Manager, use its Extract control instead.
GNOME Files showing a cursor theme archive in Downloads and the Extract Here menu option
In Files, extract the downloaded archive to reveal the theme folder.
  1. Find the actual theme folder. Open the extracted folder. For a standard cursor pack, the installable folder contains an index.theme file and a cursors directory at the same level. Some archives add an outer wrapper folder; open it and use the inner folder that contains those items. Do not copy only the cursors subfolder.
An extracted cursor theme folder containing a cursors directory and index.theme file
The theme folder to install has index.theme and a cursors subfolder at its top level.

Install the theme for your account

Ubuntu follows the Freedesktop user-data layout: by default, user files go under ~/.local/share, with icon themes in its icons subdirectory. This keeps the theme available to your account without changing system files or using administrator permissions. See the XDG Base Directory specification and the Icon Theme specification.

Open Terminal with Ctrl+Alt+T and create the destination folder if it does not already exist:

mkdir -p ~/.local/share/icons

In Files, press Ctrl+H to show hidden folders, then open Home > .local > share > icons. Copy or drag the theme folder you identified into icons. The folder layout should look like ~/.local/share/icons/ThemeName/index.theme and ~/.local/share/icons/ThemeName/cursors/. Keep the folder name intact.

GNOME Files open to Home, .local, share, icons, with a CursorTheme folder inside
Place the extracted theme folder under your user icons directory.

Install GNOME Tweaks and select the cursor

  1. Install Tweaks. In Terminal, run sudo apt install gnome-tweaks and enter your Ubuntu password if prompted. Ubuntu lists gnome-tweaks in its package archive for current releases; see the Ubuntu package search. Confirm the install when APT asks.
Ubuntu Terminal displaying sudo apt install gnome-tweaks
Install GNOME Tweaks from Ubuntu’s package repositories.
  1. Open Tweaks. Press the Super key, type Tweaks, and open the app. If you installed it but cannot find it, run sudo apt update and confirm the package is available for your Ubuntu release.
GNOME Activities search showing Tweaks as the app result
Search Activities for Tweaks after the package finishes installing.
  1. Choose the theme. In Tweaks, select Appearance in the sidebar. Open the Cursor dropdown and select the installed theme. The desktop normally applies the choice right away.
GNOME Tweaks Appearance page with the Cursor dropdown open and Custom Cursor selected
Open Appearance and select the new item in the Cursor dropdown.

Check the result and fix a missing theme

Move the mouse over the desktop, a link, and a text field to see the different pointer shapes. If the theme does not appear in Tweaks, check these common causes:

  • The folder is nested too deeply. Make sure index.theme and cursors are directly inside the theme folder under ~/.local/share/icons.
  • The archive is still compressed. Tweaks needs the extracted folder, not the downloaded archive file.
  • The theme uses a different name. The folder name or the name listed in index.theme may differ from the archive filename. Look for that name in the dropdown.
  • The desktop has not refreshed the list. Close and reopen Tweaks. If the selected pointer still looks unchanged, sign out and back in, then check again.
A large black-and-white mouse pointer over a blank Ubuntu desktop document window
Move the pointer over the desktop to confirm the new cursor is active.

To undo the change, select Ubuntu’s original cursor theme (usually Yaru) in the same dropdown. You can then remove the custom theme folder from ~/.local/share/icons if you no longer need it.

Change only the pointer size

If you like the current design and only want a larger pointer, skip the theme download and open Settings > Accessibility > Seeing > Cursor Size. Choose a size from the available options. GNOME’s mouse settings guide covers pointer behavior; the size control’s availability and wording can vary slightly by Ubuntu release.

Leave a Comment

How to Recover Lost Partitions and Hard Disk Data Safely

How to Recover Lost Partitions and Hard Disk Data Safely

Learn how to recover lost partitions and files with TestDisk and PhotoRec. Protect the source drive, scan safely, and save recovered data to another disk.

How to Scan QR Codes on a Linux Desktop

How to Scan QR Codes on a Linux Desktop

Scan QR codes on Linux with CoBang using a webcam or image file. See installation options, setup steps, and fixes for Flatpak camera access.

How to Change Webcam Settings on Linux with Cameractrls

How to Change Webcam Settings on Linux with Cameractrls

Change webcam settings on Linux with Cameractrls: tune exposure, color, flicker reduction, and other supported controls, then check compatible video modes.

How to Install PhpStorm on Linux: Toolbox, Tar.gz, Snap, and AUR

How to Install PhpStorm on Linux: Toolbox, Tar.gz, Snap, and AUR

Install PhpStorm on Linux with JetBrains Toolbox or the standalone tar.gz archive, plus Snap and Arch AUR options. Java is already bundled.

How to Set Up Dual Panels on XFCE 4

How to Set Up Dual Panels on XFCE 4

Create a separate XFCE 4 panel for each display, assign the second panel to the right output, position and size it, and add the launchers and status items you need.

How to Install Cisco Packet Tracer on Linux

How to Install Cisco Packet Tracer on Linux

Download Cisco Packet Tracer 9.0.1 for Ubuntu 64-bit, install the DEB package with APT, accept the license in Terminal, and sign in to start a lab.

How to Cut Out an Image on Linux with GIMP

How to Cut Out an Image on Linux with GIMP

Remove a photo background on Linux with GIMP: trace a subject, delete the selected background, keep transparency, and export a reusable PNG.

How to Back Up a CD-ROM as an ISO on Linux

How to Back Up a CD-ROM as an ISO on Linux

Create a CD-ROM ISO on Linux with GNOME Disks or dd. Identify the optical drive, monitor the copy, verify the image, and know when a damaged or audio disc needs another tool.

Download FlightGear for Free: Official Install Guide

Download FlightGear for Free: Official Install Guide

Download FlightGear for free from the official site. Compare Windows, macOS, and Linux packages, install the data files, and start your first flight.

Google Tasks Desktop Application: How to Use It on a Computer

Google Tasks Desktop Application: How to Use It on a Computer

Open Google Tasks in a browser, add a Chrome shortcut or app-style launch, and manage dated to-dos through Calendar and Gmail.