Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to change the cursor theme from DMZ-White to DMZ-Black for my laptops. But it does not work for one of my laptop.

For that laptop, it does not work no matter I change the cursor theme in - Ubuntu tweak tool, - or changing it in gksu gedit /usr/share/icons/default/index.theme, - or changing it in sudo update-alternatives --config x-cursor-theme

What else can be done to change it? Thanks in advance!

==edit== sorry turns out that my mouse cursor is partially changed.... in the main content of firefox browser, the cursor is changed to black, however if the cursor is on the launcher / File/Edit/View bar, it is still white.

How come???

share|improve this question
Which Desktop environment you are using? – 22lk94k943 only May 16 '13 at 14:20
Possible duplicate of… – AliNa Oct 18 '14 at 21:56

That is a known issue. To change your cursor globally follow below instruction.

Open terminal and paste gksu nautilus hit enter then insert your password hit enter.

You will be now viewing nautilus as root. now go to file system on left panel.

Navigate to /usr/share/icons/default and open index.theme with your favorite text editor and change DMZ-White to DMZ-Black.

Or you can apply this change easily by executing the below command

sudo sed -ri 's/DMZ-White/DMZ-Black/g' /usr/share/icons/default/index.theme

And it's done! Either Reboot your computer or run the command to see the changes

compiz --replace
share|improve this answer
Editing the file alone doesn't help on my computer. Does some process need to be restarted or receive a signal? (I haven't tried restarting my session). – Zta May 14 '13 at 15:07
my laptop's cursor changed to black cursor today after restart. Strange thing is that I did restart the laptop too yesterday. Anyways thanks man! – vpxoxo May 15 '13 at 3:46
sorry turns out that my mouse cursor is only partially changed.... please refer to the question edited part – vpxoxo May 16 '13 at 13:49
I have already followed the instructions to edit the index.theme. however it doesn't work for me :( – vpxoxo May 16 '13 at 13:51
Ubuntu 15.04 Followed instructions (only difference: used # to comment the original line). compiz --replace resulted in some process which froze and forced me to reboot. After that I got the desired black pointer - though only in the system and most programs. Firefox and Thunderbird still have the white version like before (both were opened while doing compiz --replace). So the pointer switches from black to white and back depending which program is beneath it. – hillbilly Sep 29 '15 at 10:23

you can use sudo update-alternatives --config x-cursor-theme

Then choose any theme you like..

to apply either restart or compiz --replace

share|improve this answer

compiz --replace

(Enter above command at your own risk) - Just reset my Ubuntu 14.04 because this command broke my compiz. simply try log off or restart the computer. (also submitted as an edit)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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