Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

3 Answers 3

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.