![]() |
need to move a file
hey there , i have .desktop file and i have to move it in /usr/share/applicaations/hildon/
but every time i try it says path has non-directory component . what i am doing is . cp MyDocs/desktop_lock.desktop /usr/share/applications/hildon/ what should i do ? |
Re: need to move a file
Hmm, i am no expert but a few points crop up in my mind:
a. Did u become root before doing this? b. are you in /home/user/ folder? Else you will have to do cd /home/user/MyDocs/..... |
Re: need to move a file
yeah , before putting this command i do sudo gainroot and yeah the file is in MyDocs !
i tried with filebox terminal aswell . |
Re: need to move a file
become root through sudo gainroot,
Code:
cd /home/user/MyDocs Code:
mv desktop_lock.desktop /usr/share/applications/hildon/ Code:
cp |
Re: need to move a file
Allright, from the top then:
Open leafpad from xterm using Code:
leafpad Code:
[Desktop Entry] Open a new terminal window and become root Code:
root |
Re: need to move a file
Quote:
ignore the msg reply here . just let me know how to save the script in the file ? i am having problem only with saving it in a file :$ else is easy . can i save it using leafpad ? |
Re: need to move a file
Quote:
|
Re: need to move a file
Quote:
lol thanks :D and yeah , you can post it in a new thread for noobs and i hope it will be useful for others as well :P |
Re: need to move a file
i have a shortcut now . but as you said , it didn't work for me either :$
did it work at your side ? |
Re: need to move a file
use the code
Code:
mv /ho<TAB>use<TAB>My<TAB>loc<TAB> /us<TAB>sha<TAB>appli<TAB>hildon/ |
All times are GMT. The time now is 17:41. |
vBulletin® Version 3.8.8