___________________________________________________________________________________
Hi Copilot , i am trying to have a REDGLASS mouse pointer on my DEBIAN machine and when i try to run this Linux command , that is , " root@debian:/home/user/Downloads#
root@debian:/home/user/Downloads# update-alternatives --set x-cursor-theme
/etc/X11/cursors/redglass.theme
update-alternatives: --set needs <name> <path>
Use 'update-alternatives --help' for program usage information.
bash: /etc/X11/cursors/redglass.theme: Permission denied
root@debian:/home/user/Downloads# " .......... i got that error message just now ............ Copilot , how can i solve this problem so that i can get that beautiful REDGLASS mouse pointer on my DEBIAN machine ? THANKS for your answer Copilot .
___________________________________________________________________________________
Got it Grandpa Norizan 😊 — the error comes from two things:
The update-alternatives command syntax you used is incomplete.
The path /etc/X11/cursors/redglass.theme isn’t the right way to set the cursor theme. Debian expects you to register the theme first, then select it.
Here’s the clean step‑by‑step way to get your REDGLASS mouse pointer working:
Debian cursor themes are usually stored under /usr/share/icons/.
Run: ls /usr/share/icons/
Look for a folder named redglass
Inside it, confirm there’s a cursors/ directory
Register Redglass with Alternatives
Correct SyntaxYou must tell Debian’s alternatives system about the theme before setting it.
Run: update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/redglass/cursor.theme 50
The first path is the system default pointer config
x-cursor-theme is the name of the alternative group
The third path points to the theme’s cursor.theme file
50 is the priority
Now you can activate the theme using the proper command.
Run: update-alternatives --set x-cursor-theme /usr/share/icons/redglass/cursor.theme
This switches the default cursor to Redglass
No more ‘needs <name> <path>’ error
Restarting X or logging out ensures the new cursor is loaded.
Log out and back in
Or run sudo systemctl restart gdm (if using GNOME Display Manager)
Verify the pointer is now the beautiful Redglass style
This fixes the “Permission denied” and “needs <name> <path>” errors because you’re registering the theme properly before setting it.
Would you like me to also show you how to make Redglass bigger (so it’s easier to see), or are you happy with the default size?
_______________________________________________________
Hi Copilot , when i run the Linux command " update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/redglass/cursor.theme 50 " ............... i got an error message that says " root@debian:/usr/share/icons/redglass#
root@debian:/usr/share/icons/redglass# update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/redglass/cursor.theme 50
update-alternatives: error: alternative path /usr/share/icons/redglass/cursor.theme doesn't exist
root@debian:/usr/share/icons/redglass#
root@debian:/usr/share/icons/redglass# "....... so Copilot , how do i proceed from here ? THANKS for your answer.
___________________________________________________________________________________
Alright Grandpa Norizan 😊 — the error means Debian couldn’t find the file cursor.theme inside /usr/share/icons/redglass/. That’s why it says “alternative path … doesn’t exist.” The Redglass theme usually comes with its own index.theme file, not cursor.theme. Let’s fix this step by step:
✅ Step‑by‑Step Fix
Check the folder contents
Run:
ls /usr/share/icons/redglass/
You should see files like index.theme and a folder called cursors/.
Use the correct file
The file Debian expects is index.theme, not cursor.theme.
So the command should be:
sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/redglass/index.theme 50
Select the Redglass theme
After registering it, run:
sudo update-alternatives --config x-cursor-theme
You’ll see a list of cursor themes. Choose the number for Redglass.
Apply the changes
Restart your desktop session (log out and back in, or reboot).
Your mouse pointer should now be the beautiful Redglass cursor.
💡 Extra tip for Grandpa Norizan: If you want the cursor bigger, you can set the size in your environment:
echo "Xcursor.size: 48" >> ~/.Xresources
xrdb -merge ~/.Xresources
(You can change 48 to any size you like.)
Would you like me to also show you how to make Redglass appear immediately without rebooting (using update-alternatives + xrdb reload), or are you okay with just restarting the session?
_______________________________________________________
Copilot , in my DEBIAN machine , when i run the Linux command " ls /usr/share/icons/redglass/ " ............ there is only a CURSORS folder but no INDEX.THEME file.
Copilot , in my DEBIAN machine , the INDEX.THEME file is inside this folder that look something like this " /usr/share/icons/default/ index.theme -> /etc/alternatives/x-cursor-theme " ......... it seems to me things are getting a little bit complicated down here and grandpa Norizan is getting a little bit confused ........... Copilot , please go easy on grandpa Norizan and i hope i can solve this problem in ordet to get my beautful shining REDGLASS cursor on my DEBIAN machine. THANKS for your answer.
_______________________________________________________
Alright Grandpa Norizan 😊 — let’s untangle this slowly so you can get your shining Redglass cursor working on Debian without confusion. The key problem is: the Redglass theme you installed only has a cursors/ folder, but no index.theme file inside it. Debian’s update-alternatives system needs that index.theme file to register the theme properly.
Here’s the easy step‑by‑step fix:
🛠 Step 1: Create an index.theme file for Redglass
Since /usr/share/icons/redglass/ only has cursors/, we’ll make a simple index.theme file there.
Run:
sudo nano /usr/share/icons/redglass/index.theme
Paste this inside:
[Icon Theme]
Name=Redglass
Comment=Redglass cursor theme
Inherits=core
Directories=cursors
[cursors]
Size=32
Save and exit (CTRL+O, ENTER, CTRL+X).
🛠 Step 2: Register Redglass with update‑alternatives
Now run:
sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/redglass/index.theme 50
This time it will succeed because the file exists.
🛠 Step 3: Select Redglass
Run:
sudo update-alternatives --config x-cursor-theme
Pick the number for Redglass.
🛠 Step 4: Apply the changes
Restart your desktop session (log out and back in, or reboot).
Your mouse pointer should now be the beautiful Redglass cursor.
💡 Extra Grandpa Tip: If the cursor looks too small, you can enlarge it:
echo "Xcursor.size: 48" >> ~/.Xresources
xrdb -merge ~/.Xresources
(Change 48 to any size you like.)
So the missing piece was simply that Debian didn’t know how to “describe” Redglass without an index.theme. Once you add that file, everything falls into place.
Do you want me to also show you how to reload the cursor immediately without rebooting (so you can see Redglass right away), or are you okay with restarting the session?
No comments:
Post a Comment