numix-cursor icon indicating copy to clipboard operation
numix-cursor copied to clipboard

Installing properly

Open uloco opened this issue 10 years ago • 5 comments

By just coping the files in the folder .icons, the cursor will only work in a few applications. For making this work everywhere, you have to install it as root in /usr/share/icons/ and with sudo update-alternatives like I described it in the original README.md in branch master and choose it as default. This will install and change the cursor for all users, but there is no other way for now, to make it work in all applications without doing so.

uloco avatar May 14 '15 13:05 uloco

I think we can let the script copy everything in .icons as you did, but have to specify in the readme again, what to do, if the cursor is not shown in every application. I think this is more a problem with ubuntu, than the cursor. You are right, every distro has some little differences with installing this, so probably the solution as it is for now is okay.

uloco avatar May 14 '15 13:05 uloco

For Ubuntu, the proper way of doing this would be:

  1. sudo ln -s ~/.icons/Numix-Cursor /usr/share/icons/Numix-Cursor
  2. sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/Numix-Cursor/cursor.theme 90
  3. sudo update-alternatives --set x-cursor-theme /usr/share/icons/Numix-Cursor/cursor.theme

I will add this to README.md soon.

uloco avatar May 14 '15 16:05 uloco

the only difference between the 2 directories is ~/.icons is for the current user and /usr/share/icons is for every user. it should still work for every app for the user logged in during install, if not, I'd would imagine it's a Ubuntu problem, though I don't ever recall experiencing that problem back when I used ubuntu?

osendott avatar May 23 '15 02:05 osendott

It is a Ubuntu problem indeed. You cannot make the cursors work in every application, if you don't install it globally.

uloco avatar May 26 '15 05:05 uloco

i'm currently on vacation, I don't know if I'll have time to do anything until I get back home on Wednesday or Thursday, but I'll try and make the time. If we install the icons to ~/.icons and then make a link to /usr/share/icons like you suggest, then there will be two listings for "custom-cursors" (or whatever name we decide on) in the list. The only way to fix everything would be to install them only to /usr/share/cursors and that is going to require the users password.

osendott avatar May 26 '15 19:05 osendott