Adding Icon to trashcan

Discussion in 'Acer Aspire One' started by protoaddict, Aug 7, 2008.

  1. protoaddict

    protoaddict

    Joined:
    Aug 7, 2008
    Messages:
    2
    Likes Received:
    0
    I just picked up my aspire one today and im very pleased with it thusfar. Im not a lunix user but i do know a little about it. I have read the tutorials on how to create .desktop files to launch applications and how to edit the decktop XML file to add them to the desktop and completley understand them, however I have hit a snag.

    I would like to make a desktop icon that links to the trash folder, but every way I try to type it in does not work. heres the parts of my code I have so far:

    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Trash
    Name[zh_CN]=Trash
    Name[zh_HK]=Trash
    Name[zh_TW]=Trash
    Name[de]=Trash
    Name[it]=Trash
    Name[fr]=Trash
    Name[es]=Trash
    Name[pt]=Trash
    Name[nl]=Trash
    Name[ja]=Trash
    Name[ru]=Trash
    Comment=Trash
    Comment[zh_TW]=Trash
    Comment[zh_CN]=Trash
    Comment[de]=Trash
    Comment[it]=Trash
    Comment[fr]=Trash
    Comment[es]=Trash
    Comment[pt]=Trash
    Comment[nl]=Trash
    Comment[ja]=Trash
    Comment[ru]=Trash
    Exec=trash:///
    Icon=trash.png
    Terminal=0
    
    However when i use this .desktop file it dosent work. I imagine the "Exec=trash:///" is the problem, but i dont know what it should read to make it work. Does anyone know what it should be?
     
    protoaddict, Aug 7, 2008
    #1
  2. protoaddict

    Felinux

    Joined:
    Jul 29, 2008
    Messages:
    18
    Likes Received:
    0
    Location:
    Italia
    "trash:///" is only a link to folder, isn't an executable, i think you put a command like "thunar -pathTOtrash" :roll:
     
    Felinux, Aug 8, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.