View Single Post
Old 09-02-2009   #5
td03-5
.
 
Join Date: 21-12-2004
Location: .
Posts: 202
Thanks: 1
Thanked 14 Times in 9 Posts

My System: .

Hi Llew,

A friend, who I contact by email, is also trying my script. He has Ubuntu Linux and has had trouble copying the 'vlcplsed' file to the /usr/bin folder. My Xandros Linux on the Eee PC has two File Managers, a standard one that is used for all normal user file manipulations and an Administrator level one that I used for installing & changing the permissions of the script file. It would seem that Ubuntu does not have an administrator level file manager. You may have the same problem, so here is how I suggested he should do it:

Pretend it's a Dreambox:
1. Start the Linux (Ubuntu) Console on your PC/Laptop.

2. Use the: cd command to navigate to the place where you saved: vlcplsed
2a. As this can be quite tricky (don't forget that Linux is case sensitive), I suggest using the file manager to locate the file first and then copy the full path of the folder that the file is located in and then past that into the console after typing: cd at the console prompt. After pasting it is only necessary to press Enter and you should now be in the required folder.
2b. Type: ls Enter and you will see the list of files in the folder, hopefully including: vlcplsed
(NB This command is LS but must be typed in lower case, like all Linux commands)

3. The next command needs to be executed at admin level so it needs a prefix of: sudo
(Dreambox does not need sudo as 'root' is admin)
3a. Type: sudo cp ./vlcplsed /usr/bin Enter
3b. So long as you just get the console prompt back on the next line and no error message, then all has gone OK.

4. Admin is needed again to change the file permissions so:
4a. Type: sudo chmod 755 /usr/bin/vlcplsed Enter
4b. Once again we hope to see just the console prompt back on the next line and no error message.

Hope this may be of use to you or others.

Best wishes, john.
td03-5 is offline   Reply With Quote