Deleting Icons on Desktop
How do I delete icons on my desktop? I have the XawTV icon on my desktop, but I cannot get rid of that. It will not let me delete it. I do not want it showing on the desktop.
I want my desktop to only show the "Home" icon and the "Trash bin" icon. |
Assuming the default KDE desktop for a non-root user:
Right click desktop -> Behaviours, disable um/mounted devices being shown. Also accessable via the Kde Control Centre -> Look N Feel. |
I did what you said and unchecked all those things. However, the XawTV thing is still there and I have no clue how to get rid of it.
I logged on as root and went to /usr/share/apps/kdesktop/Desktop and deleted it from there. However, everytime I reboot it comes back! I want to get rid of the XawTV icon as I don't really use my TV card at all. Can someone tell me how to disable that icon from coming up everytime I reboot???!?!? It's really annoying. |
Maybe you can change the setup of your video card to not include the TV functionality. I think that icon might be similar to the gtkam icon which always pops up on my desktop as soon as I attach my camera. If the TV functionality is (can be) switched off it might disappear.
Robin |
You must be right Robin as probably Mandrake autodetects these hardware and just automatically assumes you want it on your desktop for a quickstart. Anyone know how to disable it?
It's actually a seperate TV card NOT attached to my video card. Weiss Nacht Klavier! |
is that thing in your ~/.Desktop directory (not the one is /usr/share...)? If it is, maybe you could delete it and get rid of write permissions for ~/.Desktop Kind of brute force but might work. Make sure you don't change the permissions for Trash and Home, though.
|
to get rid of the xawtv icon you can do this
1. look in the scripts that are provided with the dynamic package ( i think they are located in /etc/dynamic) 2. there is a script that pertains to webcams 3. comment out the parts of the script that pertain to xawtv/tvcards 4. delete the icon from your desktop AND the icon file that the desktop icon is linked to. done sorry i can;t give you a better descriotion about doing this but i am at work and I am working on wonderful win95. |
Quote:
|
yeah i can, if you want me to post it sooner, rather than later since I don't have access to my computer at the moment can you tell me where the xawtv destop link is pointing to and can you post the webcam script so i can see it (and so i can remember what I did). just copy and paste it.
|
Quote:
/usr/share/apps/kdesktop/Desktop/dynamic_dev_v4l_video0.desktop Webcame script: #!/bin/sh #--------------------------------------------------------------- # Project : Mandrake Linux # Module : dynamic # File : webcam.script # Version : $Id: webcam.script,v 1.3 2002/04/29 18:21:21 flepied Exp $ # Author : Frederic Lepied # Created On : Thu Sep 13 01:09:08 2001 # License : GPL # Purpose : script run when a webcam is plugged. #--------------------------------------------------------------- . /etc/dynamic/scripts/functions.script check_activated $0 procfilename="/proc/video/dev/`basename $2`" if grep -q VID_TYPE_TUNER $procfilename > /dev/null 2>&1; then call_hooks $1 tvtuner $2 "" else call_hooks $1 webcam $2 "" fi # webcam.script ends here |
delete /usr/share/apps/kdesktop/Desktop/dynamic_dev_v4l_video0.desktop
then just do this to your webcam script: #if grep -q VID_TYPE_TUNER $procfilename > /dev/null 2>&1; then # call_hooks $1 tvtuner $2 "" #else add the # to the beginning of the line... i just commented everything out since i don't have a webcam either then delete the link on your desktop and it shouldn't come back |
Quote:
|
I mentioned webcam because this script is for both your webcam and your tvtuner.. both use /dev/video# where # is 0,1,2 etc... make sure you delete the file that the desktop link is pointing too, and the desktop link. If you don't have a webcam then comment everything out (put # signs in front of every line of the script) .....you could just try deleting the whole script.. or move it somehwere else just in case you need to move it back
the scripts are basically used to place an icon on your desktop if you plug in such things like a webcam, camera, etc... the tvtuner is always plugged in (in most cases) so thats why you have the icon. its works for me, so i guess too bad for you if it doesn't! sorry, i tried. |
Quote:
I got it fixed - just renamed the files like you said. |
All times are GMT -5. The time now is 09:03 PM. |