View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#34
Ok Rabah_vip, I'll break it to you; brkn was playing with you to teach you to use your brain+common sense...

What you should instead do is in terminal as root:

Code:
~# nano /usr/share/applications/waxmppplugin.desktop
edit Wazapp to WhatsApp in the Name field then press Ctrl on your toolbar followed by X it should ask you if you want to overwrite just press Y and enter key it will be saved


So once again; make changes to file press Ctrl+X then Y then Enter...

You can't use the editor you were using to save directly as it doesn't over-write root folder files so you could have copied it to MyDocs make changes and copy back the modified file to the origin


brkn's aim was to teach you to use your brain and common sense to experiment to come to a solution or doing some searching instead of just posting on the forum... Hopefully you learn from this


Edit: brkn told me to give you a one-line sed command to make it easy; I'll give it to you this round but before you use this example always read up on sed to prevent any screw-ups
Code:
sed 's/Name=Wazapp/Name=WhatsApp/' -i /usr/share/applications
/waxmppplugin.desktop

Type the above as root in terminal in one-line...

Last edited by thedead1440; 2012-12-11 at 15:15.
 

The Following 5 Users Say Thank You to thedead1440 For This Useful Post: