LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accidently deleted the wastebin, now no "bin icon (https://www.linuxquestions.org/questions/linux-newbie-8/accidently-deleted-the-wastebin-now-no-bin-icon-212130/)

jebus69 08-01-2004 10:05 AM

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 :D

dARkHunTEr 08-01-2004 04:33 PM

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?

dalek 08-01-2004 04:39 PM

Hmmmm. That was silly huh? :rolleyes:

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. :D I think the first five lines, the last line and the one for your language are the important ones.

I did this once too. :tisk:

Later

:D :D :D

jebus69 08-02-2004 04:16 AM

Thanks guys, but I just realised once i got home a simple reset of my computer fixed it. lol. cheers :D

dalek 08-02-2004 04:26 AM

You mean you rebooted. :scratch:

:D :D :D :D

aerogate 11-23-2005 06:36 PM

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

dalek 11-23-2005 08:34 PM

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

:D :D :D :D


All times are GMT -5. The time now is 03:57 AM.