LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2004, 11:05 AM   #1
jebus69
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Accidently deleted the wastebin, now no "bin icon


Hi,

Just a small problem here... i was as root user and accidently deleted the Wastebin folder in mandrake linux 10... i made a new Wastebin folder and it works fine, its just that the icon is now of a folder, not of the bin. i go to preferences but i cant change the icon. Little help? I would greatly appreciate it
 
Old 08-01-2004, 05:33 PM   #2
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Rep: Reputation: 30
I only have old stuff here atm but it works.
Try putting a file ".directory" into the trashcan put this stuff in it:
Code:
[Desktop Entry]
Type=Directory
Icon=trashcan_full
EmptyIcon=trashcan_empty
Name=Trash
Name[af]=Gemors
Name[az]=Zibil
Name[be]=Сьметнік
Name[bg]=Кошче
Name[bs]=Smeće
Name[ca]=Paperera
Name[cs]=Koš
Name[cy]=Sbwriel
Name[da]=Affald
Name[de]=Mülleimer
Name[el]=Σκουπίδια
Name[en_GB]=Wastebin
Name[eo]=Rubujo
Name[es]=Papelera
Name[et]=Prügikast
Name[eu]=Zaborra
Name[fa]=زباله*دان
Name[fi]=Roskakori
Name[fr]=Corbeille
Name[he]=אשפה
Name[hr]=Smeće
Name[hu]=Szemétkosár
Name[is]=Ruslakarfa
Name[it]=Cestino
Name[ja]=ごみ箱
Name[ko]=쓰 기통
Name[lo]=ຖັງຂີ້ເຫຍື່_
Name[lt]= iukšliadėžė
Name[lv]=Miskaste
Name[mn]=Хогийн сав
Name[mt]=Skart
Name[nb]=Søppel
Name[nl]=Prullenbak
Name[nn]=Papirkorg
Name[nso]=Seswaraditlakala
Name[pl]=Śmietnik
Name[pt]=Lixo
Name[pt_BR]=Lixo
Name[ro]=Gunoi
Name[ru]=Корзина
Name[se]=Ruskalihtti
Name[sk]=Kôš
Name[sl]=Smeti
Name[sr]=Смеће
Name[sv]=Papperskorg
Name[ta]=Ìô¨À
Name[th]=ถังขยะ
Name[tr]=Çöp
Name[uk]=Смітник
Name[uz]=Чиқиндилар қутиси
Name[ven]=Tshikha
Name[vi]=Thùng rác
Name[wa]=Batch
Name[xh]=Inkukumo
Name[xx]=xxTrashxx
Name[zh_CN]=回收站
Name[zh_TW]=垃圾桶
Name[zu]=Izibi
Comment=Contains removed files
This is taken from kde 3.2-beta so names are different, adjust it to your likings. It gives you an idea of how to do it, though. By the way, can you change the icon by doing wastebin rightclick > properties/preferences (what is it) and then clicking the current icon?
 
Old 08-01-2004, 05:39 PM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Hmmmm. That was silly huh?

Make a file named .directory in the trash bin. Then paste all this crap in it.

Code:
[Desktop Entry]
Type=Directory
Icon=trashcan_full
EmptyIcon=trashcan_empty
Name=Trash
Name[af]=Gemors
Name[ar]=س„ة ا„†فاŠات
Name[az]=Zibil
Name[be]=СŒме‚н–к
Name[bg]=šоˆ‡е
Name[bn]=†বর্œনা
Name[bs]=Sme‡e
Name[ca]=Paperera
Name[cs]=Koš
Name[cy]=Sbwriel
Name[da]=Affald
Name[de]=Mülleimer
Name[el]=Σκο…€ίδια
Name[en_GB]=Wastebin
Name[eo]=Rubujo
Name[es]=Papelera
Name[et]=Prügikast
Name[eu]=Zaborra
Name[fa]=زبا„‡€Œدا†
Name[fi]=Roskakori
Name[fr]=Corbeille
Name[ga]=Bruscar
Name[gl]=Lixo
Name[he]=אשפ”
Name[hi]=रद्द€
Name[hr]=Sme‡e
Name[hsb]=Papjernik
Name[hu]=Szemétkosár
Name[is]=Rusl
Name[it]=Cestino
Name[ja]=”み箱
Name[ko]=“ ˆ기†
Name[lo]=–ັ‡‚ີ‰€ຫຍືˆ_
Name[lt]= iukšliad—ž—
Name[lv]=Miskaste
Name[mk]=ƒƒб€е
Name[mn]=Хогийн сав
Name[mt]=Skart
Name[nb]=Søppel
Name[nds]=Schietkraam
Name[nl]=Prullenbak
Name[nn]=Papirkorg
Name[nso]=Seswaraditlakala
Name[pl]=šmietnik
Name[pt]=Lixo
Name[pt_BR]=Lixo
Name[ro]=Gunoi
Name[ru]=šо€зина
Name[sk]=Kôš
Name[sl]=Smeti
Name[sr]=Сме›е
Name[sr@Latn]=Sme‡e
Name[sv]=Papperskorg
Name[ta]=•ுப்பˆ
Name[tg]=šƒ‚‚ии па€‚ов
Name[th]=–ั‡‚ยะ
Name[tr]=‡öp
Name[uk]=См–‚ник
Name[uz]=Чи›индила€ ›ƒ‚иси
Name[ven]=Tshikha
Name[vi]=Thùng rác
Name[wa]=Batch
Name[xh]=Inkukumo
Name[xx]=xxTrashxx
Name[zh_CN]=›ž”™
Name[zh_TW]=žƒœ桶
Name[zu]=Izibi
Comment=Contains removed files
I suggest you copy and paste. I think the first five lines, the last line and the one for your language are the important ones.

I did this once too.

Later

 
Old 08-02-2004, 05:16 AM   #4
jebus69
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys, but I just realised once i got home a simple reset of my computer fixed it. lol. cheers
 
Old 08-02-2004, 05:26 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You mean you rebooted.

 
Old 11-23-2005, 07:36 PM   #6
aerogate
Member
 
Registered: Jun 2005
Location: UK
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
This is simple to solve, you just need to make a copy of roots wastebin and copy it to home user.

Open a console type:-

su

enter root password.

Then type :-

konqueror

You`ll then get konqueror running as root.

Navigate to /root/Desktop and copy trash.desktop (edit/copy)
Navigate to /home/username/Desktop and paste trash.desktop (edit/paste)

You`ll now how a fully working Wastebin with correct icons

Mike
 
Old 11-23-2005, 09:34 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
He/She may need to change the permissions too. That would make it have root privledges and only root would be able to delete the contents, and maybe put anything in it. Right click and change it to the correct pemissions for that user. This may help:

Code:
-rw-rw-r--   1 dale users    4795 Jul  2 16:21 trash.desktop
Later

 
  


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
How do I add the 'wastebin' icon to my KDE desktop in FC4 BuckRogers01 Linux - Newbie 2 07-04-2005 04:10 PM
"accidently deleted every program in /usr/bin that begins with the letter m*" behmjoe Linux From Scratch 1 04-15-2005 09:42 AM
How do I change my Wastebin Icon back to default Stevetgn Linux - Newbie 2 02-26-2005 12:05 PM
accidently deleted /boot partition :( aditya_ic Linux - General 7 07-29-2004 03:37 AM
Help: Accidently deleted file patske Linux - Newbie 5 02-17-2004 10:34 AM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration