LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2003, 01:03 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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.
 
Old 09-02-2003, 01:13 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 09-04-2003, 01:32 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
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.
 
Old 09-04-2003, 09:27 AM   #4
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
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
 
Old 09-04-2003, 03:57 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
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!
 
Old 09-04-2003, 04:13 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
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.
 
Old 09-04-2003, 06:53 PM   #7
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
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.
 
Old 09-04-2003, 07:06 PM   #8
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by trpn
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.
Uff!! I think you're on to something because I see in script file that it is referencing the TVTuner card and the XawTV software. If you get a chance, can you tell me what exactly to do? I don't know what to do.
 
Old 09-04-2003, 07:42 PM   #9
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
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.
 
Old 09-05-2003, 12:48 AM   #10
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by trpn
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.
XawTV desktop is here:

/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
 
Old 09-05-2003, 10:16 AM   #11
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
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
 
Old 09-05-2003, 06:40 PM   #12
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by trpn
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
Unfortunately this did not work. You mention webcam, but I do not have a webcam - it is a TV Card. Does this make a difference? Any other suggestions?

 
Old 09-05-2003, 07:18 PM   #13
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
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.
 
Old 09-05-2003, 08:32 PM   #14
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by trpn

its works for me, so i guess too bad for you if it doesn't!
Geez, thanks for the kind words.

I got it fixed - just renamed the files like you said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting desktop icons in KDE Happeren Suse/Novell 2 10-31-2005 01:45 PM
Desktop freezes after deleting icon darknails Fedora 1 01-04-2005 10:30 PM
GNOME 2.8 Desktop icons all generic.desktop sygin Debian 0 12-22-2004 11:58 PM
KDE 3.3.1 -> Icons on Desktop don't disappear when deleting hypernetics Fedora 0 11-13-2004 06:40 AM
evelope icons and deleting posts jsmarshall85 LQ Suggestions & Feedback 3 07-23-2004 10:09 AM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration