How can I set my mouse cursor to be black on Ubuntu 14.04?

  • When you want to add a tutorial, please do it in the Q&A format: blog.stackoverflow.com/2011/07/… so that it has a question and the answer is below. You also made a few mistakes in the commands that you gave us, please be careful to get them exact.
    – Tim
    Aug 8, 2014 at 18:27
  • Well thanks for the tip, i don't use ask-ubuntu so much but I thought it would be usefull Aug 8, 2014 at 18:35
  • Yeah, that's okay :) The blog is good. Also, you shouldn't use sudo for a gui program, go for gksudo.
    – Tim
    Aug 8, 2014 at 18:39
  • 1
    But sometimes the graphical solution is bad. It is a bad idea to have a root nautilus open, what if your mouse slips? Terminal is much safer.
    – Tim
    Aug 9, 2014 at 10:05
  • 1
    or if you start touching things in your home folder, they then get owned by root, next thing you know you can't login or access your files, then someone recommends the 777 thing... and all your files are open to hacking, it's a downward spiral of bad advice.
    – Mateo
    Aug 9, 2014 at 15:00

1 Answer 1

  1. Open terminal and type:

    cp -r /usr/share/icons/DMZ-White ~/Documents/

    This is to make a backup of the current theme. (just in case you want to reverse the changes)

  2. Next copy the icon folder to replace the icons with this command:

    sudo cp -r /usr/share/icons/DMZ-Black/* /usr/share/icons/DMZ-White/
  3. Logout and login, there you have it, a nice black mouse cursor.

To recover the white mouse cursor, from your backup, do the following command then logout and in again:

sudo cp -r ~/Documents/DMZ-White/* /usr/share/icons/DMZ-White/
  • nice editing, but, some peaple don't use terminal, me for example, so please add the Nautilus option. Thanks Aug 9, 2014 at 7:36
  • 1
    The nautilus option is a bad option. If you use Ubuntu, you will end up having to use terminal.
    – Tim
    Aug 9, 2014 at 7:59
  • 1
    you were using terminal to open nautilus? so why not just have the commands, it is easier to cut and paste two lines then - open nautilus - navigate to folder - copy file, paste file - navigate to other folder - copy files, paste files. It may be easier for you at first to think of the answer, but it is not easier to follow the directions. anyway opening nautilus as root is not recommended or safe for new users, if you were to keep a answer around with those instructions we would need large bold warnings, and explanations, you may understand the hazard but others might not.
    – Mateo
    Aug 9, 2014 at 14:48
  • ok, i understand, but i always forget the commands Aug 10, 2014 at 8:49
  • 1
    Bookmark this. They are pretty easy tbh, cp is copy, then you say location from and location to.
    – Tim
    Aug 10, 2014 at 8:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.