Awn

trash icon

Asked by aconley1

How can I change the icon for the trash applet in AWN?

Question information

Language:
English Edit question
Status:
Solved
For:
Awn Edit question
Assignee:
No assignee Edit question
Solved by:
Sebastián Porta
Solved:
Last query:
Last reply:
Revision history for this message
aconley1 (arthurconley) said :
#1

I love AWN...replacing the icons for the launchers has worked fine...mostly. However, if I right click on the trash applet, the option to replace the icon is not available. I have searched my file system from top to bottom but cannot find a way to change that icon...any info would be appreciated.

Revision history for this message
Rodrigo Donado (frezeeer) said :
#2

Hi:

You need to change the icons you use in your desktop. go to system -> preferences -> themes
and change the icons there

Revision history for this message
aconley1 (arthurconley) said :
#3

Thanks, but that changes everything except that trash applet...I downloaded a theme of OSX icons. I love the one they use for the trashcan....my gnome panel applet shows the new icon , but the dock appears to have the icon for the tango theme stuck permanently.

Revision history for this message
Rodrigo Donado (frezeeer) said :
#4

hi:

I use: Version: 0.1.2-svnrevisions-1, and when I change the icon it changes in AWN, try upgrading.

Revision history for this message
Sebastián Porta (sebastianporta) said :
#5

aconley1, some themes don't have the icons for "gnome-stock-trash.png" and "gnome-stock-trash-full.png". That's why Awn it's displaying the wrong icon.
To solve this, you have to create symbolic links for those icons.
Go to the theme directory and on a terminal write:

ln -s user-trash-empty.png gnome-stock-trash.png

ln -s user-trash-full.png gnome-stock-trash-full.png

These file names are for the OSX theme. If you have a different theme you have to replace "user-trash-empty.png" and "user-trash-full.png" for the icons of your choice.

Revision history for this message
aconley1 (arthurconley) said :
#6

Thanks, but no luck still. the icons in the theme I have are
gnome-fs-trash-empty.png and gnome-fs-trash-full.png. I made the symbolic
links as directed using these filenames. It had no effect on the
trash-applet icon. I also removed and then re-added that applet to AWN...it
still didn't change.

Art

On 8/9/07, Sebastián Porta <email address hidden> wrote:
>
> Your question #11180 on Awn changed:
> https://answers.launchpad.net/awn/+question/11180
>
> Sebastián Porta proposed the following answer:
> aconley1, some themes don't have the icons for "gnome-stock-trash.png" and
> "gnome-stock-trash-full.png". That's why Awn it's displaying the wrong
> icon.
> To solve this, you have to create symbolic links for those icons.
> Go to the theme directory and on a terminal write:
>
> ln -s user-trash-empty.png gnome-stock-trash.png
>
> ln -s user-trash-full.png gnome-stock-trash-full.png
>
> These file names are for the OSX theme. If you have a different theme
> you have to replace "user-trash-empty.png" and "user-trash-full.png" for
> the icons of your choice.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/awn/+question/11180/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/awn/+question/11180
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Best Sebastián Porta (sebastianporta) said :
#7

I don't know if this will be helpful but I have the OSX installed on my system and the icons are in the directory "/.icons/OSX/scalable/places".
If you make the sym links on that directory and still have the problem, then I don't know what's wrong.

Revision history for this message
haytjes (h4writer) said :
#8

There is maybe one case I'm thinking off, but can you give your bar_height first?

Revision history for this message
aconley1 (arthurconley) said :
#9

Thanks....that worked! When I made the symbolic links yesterday, I hadn't changed from my home directory first. This time, I changed to that directory where the icons were located and it worked perfectly. I greatly appreciate your help.

Revision history for this message
Bob_Mendon (bobw-mosinnet) said :
#10

Okay, I'm confused. Right now, AWN is using the trashcan from the Tango theme located in /usr/share/icons/Tango/scalable/places. I want to use the icons locate in my home folder at /home/bobw/OS-L-IconSet-Buildkit/128x128/filesystems.

1.Where wold a link be established? (ln -s user-trash-empty.png gnome-stock-trash.png)
2. Do I link individual icons or the folders?
3. Should I just replace the icons in the Tango theme with the ones from the OS-L theme? If so what do type to copy them?
4. Is it an issue if the Tango theme icons are .svg and the OS-L icons are .png?

I have read every thread on the internet looking for a How-to written at a "dummy-you-shouldn't-even-own-a-computer" level. This includes the thread here. Any step-by-step help will be greatly appreciated.

Revision history for this message
aconley1 (arthurconley) said :
#11

Bob,

All I had to do was make the simlinks:

ln -s user-trash-empty.png gnome-stock-trash.png

ln -s user-trash-full.png gnome-stock-trash-full.png

Put these simlinks in the directory where your OSX icons are located. This fixed my problem immediately.

Art

Revision history for this message
CatKiller (catkiller) said :
#12

[quote=Sebastián Porta]some themes don't have the icons for "gnome-stock-trash.png" and "gnome-stock-trash-full.png". That's why Awn it's displaying the wrong icon.[/quote]

Shouldn't AWN be using "user-trash" and "user-trash-full" these days?

http://www.freedesktop.org/wiki/Specifications/icon-naming-spec

Revision history for this message
vorin (sigovorin) said :
#13

troy@troy-laptop:~$ cd .icons
troy@troy-laptop:~/.icons$ cd <custom icon folder>
troy@troy-laptop:~/.icons/<custom icon folder>$ cd scalable
troy@troy-laptop:~/.icons/<custom icon folder>/scalable$ cd places
troy@troy-laptop:~/.icons/<custom icon folder>/scalable/places$ ln -s user-trash-empty.png gnome-stock-trash.png
troy@troy-laptop:~/.icons/<custom icon folder>/scalable/places$ ln -s user-trash-full.png gnome-stock-trash-full.png

then just remove the applet and re-add it, and it should be right as rain.

Revision history for this message
realG187 (gamesharkmike) said :
#14

"some themes don't have the icons for "gnome-stock-trash.png" and "gnome-stock-trash-full.png""

Thanks! The theme I have has the trash icons, but they are named:

gnome-fs-trash-full
user-trash-full

user-trash-empty
user-trash

So i just took user.trash and renaned it to gnome-stock-trash and it worked!! Thanks!