real player problem

Asked by Mark Olivier

I installed Realplayer in a terminal. It put a icon on my desktop with a little lock on the top right corner. I cannot delete this icon it says I don not have the right permissions. The user is root? I tried the uninstall command in a terminal, but still cannot remove. Any suggestions?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu realplayer Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Can you be more specific please on whether you want to uninstall real player?
Bhavani Shankar.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#2

It has been uninstalled. I would like to remove this icon off the desktop. I don't have permission to move or delete.

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

OK open up a terminal => use the chown command,
EX: chown root /var/run/httpd.pid
Change the owner of /var/run/httpd.pid to 'root'
Or if you want to change the owner to current user then,
Ex:chown -R us ./base
Change the ownership of ./base to the user us and make it recursive (-R)

2. Or use the chmod command..,
Ex:$ chmod ug+rw sample
$ ls -ld sample
drw-rw---- 2 unixguy unixguy 96 Dec 8 12:53 sample
This command removes all permissions, and allows no one to read, write, or execute the file named sample.

$ chmod a-rwx sample
$ ls -l sample
---------- 2 unixguy unixguy 96 Dec 8 12:53 sample
The following command changes the permissions for the user and the group to read and execute only (no write permission) on sample .

Sample file permissions before command
$ ls -ld sample
drw-rw---- 2 unixguy unixguy 96 Dec 8 12:53 sample
$ chmod ug=rx sample
$ ls -ld sample
dr-xr-x--- 2 unixguy unixguy 96 Dec 8 12:53 sample

If you want more examples:
chmod +r file – read is added for all
chmod -x file – execute permission is removed for all
chmod u=rw,go= file – read and write is set for the owner, all permissions are cleared for the group and others
chmod +rw file – change the permissions of the file file to read and write for all.
chmod -R u+w,go-w docs/ – change the permissions of the directory docs and all its contents to add write access for the user, and deny write access for everybody else.
chmod 666 file – read and write access to the owner, the group, and all others.
chmod 0755 file – equivalent to u=rwx (4+2+1),go=rx (4+1 & 4+1). The 0 specifies no special modes.
chmod 4755 file – the 4 specifies set user ID.
find path/ -type d -exec chmod a-x {} \; – sets a-x for all directories in tree starting from path/ (use '-type f' to match files only).
chmod -R u+rwX,g-rwx,o-rwx <directory> – set a directory tree to rwx for owner directories, rw for owner files, --- for group and all.

Hope this info helps,
Cheers,
Bhavani Shankar.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#4

Thank you this is all very technical and possible over my knowledge level. Could you possible be a bit more basic.

Many thanks!

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

How many icons do you have on your desktop?
Can you paste here the result of this command (open a terminal and type the command):

ls -la ~/Desktop

Revision history for this message
Mark Olivier (sparks-olivier) said :
#6

total 12
drwxr-xr-x 3 mark mark 4096 2007-07-16 10:12 .
drwxr-xr-x 45 mark mark 4096 2007-07-16 08:41 ..
drwxr-sr-x 11 root root 4096 2006-07-19 07:17 RealPlayer

Revision history for this message
Cesare Tirabassi (norsetto) said :
#7

In the terminal give this command:

sudo rm -riv ~/Desktop/RealPlayer

Before doing this though, are you sure you really uninstalled RealPlayer? How did you uninstall it?
When you will give the above command be very careful, if you do not type it correctly you could damage your installation.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#8

I ran a command in a terminal to uninstall realplayer. I got this command off the ubuntu help service.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#9

Can you tell us the command, how you gave it and the output you got? Because it doesn't look as if it was succesful.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#10

sudo apt-get remove realplayer

I cannot remember the exact result but it removed it from my applications.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#11

OK, before attempting the command above, try this:

sudo apt-get remove --purge realplayer

I understand you installed realplayer by adding a repository in sources.list and using:

sudo apt-get install realplayer

right?

Revision history for this message
Mark Olivier (sparks-olivier) said :
#12

I ran the above command but the folder is still on the desktop.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#13

OK, a last check then. If you open Synaptics and click on status, do you see an entry called not installed (residual configuration)?
If you select this entry, do you see realplayer listed on the right?
If yes, select it and with your right mouse button choose Mark for complete removal and then click on Apply.
If not, give the rm command I gave you above.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#14

I saw realplayer in synaptics. I did the complete removal. The folder is still there.

this is the error I get when trying to delete the folder.

Cannot move "/home/mark...RealPlayer" to the trash because you do not have permissions to change it or its parent folder

Revision history for this message
Cesare Tirabassi (norsetto) said :
#15

Can't you use the command I gave you above?
This:

sudo rm -riv ~/Desktop/RealPlayer

Revision history for this message
Mark Olivier (sparks-olivier) said :
#16

rm: descend into directory `/home/mark/Desktop/RealPlayer'?
 this comes up, do I type y and then enter or just enter?

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#17

type y and enter.
If you see that it wants to delete something you don't want to delete, type n.

Revision history for this message
Mark Olivier (sparks-olivier) said :
#18

Thank you for your time and understanding, that last command did the job. Have a good one!!

Revision history for this message
Mark Olivier (sparks-olivier) said :
#19

Thanks Cesare Tirabassi, that solved my question.