aMule Forum

English => aMule Help => Topic started by: CrEsPo on March 20, 2005, 11:38:07 PM

Title: SUSE directory
Post by: CrEsPo on March 20, 2005, 11:38:07 PM
I installed aMule via the SUSE RPM and everything works fine. The thing I need though is where does aMule install into? I tried a find but I only found the documents and the bin.

The reason I need to find the directory is so I can make a start menu icon. There is no icon for me to use unless I can find the directory, any help is appreciated.
Title: Re: SUSE directory
Post by: thedude0001 on March 21, 2005, 12:52:08 AM
Get a console, type 'which amule' and it will show you where the amule binary is installed (usually /usr/local/bin/amule).
Title: Re: SUSE directory
Post by: CrEsPo on March 21, 2005, 12:59:21 AM
Yes but I'm not looking for the binary. I'm looking for the directory in which aMule is installed so I can put an icon to my shortcut.

edit: I have checked in the following directories and have found nothing:
/usr/share/icons
/usr/share/pixmaps
/opt/kde3/share/icons/hicolor/
/opt/gnome/share/icons/hicolor/
Title: Re: SUSE directory
Post by: skolnick on March 21, 2005, 01:39:06 AM
amule is not installaed in one folder. Linux is not windows, ehre you install all the application in its own folder and put it in program files. Here, all the binaries go to one folder, the docs, go to another, the pixmaps, go to anoter, etc. The common root of aal these is probably /usr or /usr/local. Do what thedude0001 said, to be sure.

Regards.
Title: Re: SUSE directory
Post by: CrEsPo on March 21, 2005, 01:48:57 AM
I know Linux is not like Windows, but some programs do install into one folder. I did do what thedude0001 said. Like he said, it finds the binary, I already knew were the binary was and I don't need it.

I'm looking for the icon, does anyone here use SUSE and can tell me the location of the icon? As stated, I checked all the above folders and haven't found anything.
Title: Re: SUSE directory
Post by: Jacobo221 on March 21, 2005, 02:24:29 AM
get the oackage file and run:
rpm -l

also, ~/.aMule is the config directory.

Greets!
Title: Re: SUSE directory
Post by: CrEsPo on March 21, 2005, 02:31:32 AM
I'll try that tomorrow Jacobo221, just started a download. I'll reply with my results tomorrow, thanks for all the replies so far everyone.
Title: Re: SUSE directory
Post by: skolnick on March 21, 2005, 02:51:47 AM
If you had asked for the icon file before, everything would have been easier. do this:

find /usr | grep aMule.xpm

it should tell you where the icon is. Mine is named aMule.xpm, and is on amule-cvs/src (I never install amule, always run it from the tarball source folder)

Regards.
Title: Re: SUSE directory
Post by: thedude0001 on March 21, 2005, 03:08:34 AM
Ah, okay, I finally got what you are talking about. I first thought you wanted to add a menu entry yourself.

I don't know where Suse installs the icon, but if you have slocate installed (don't know if it is default with Suse) you can just 'slocate amule.ico' (best done as root). If slocate isn't installed you can 'find / -name amule.ico ' to search your whole harddrive for the file. This could take some time to finish depending on your system...

P.S.:
skolnick, somehow we two do have a bad timing with posting today ;)
Title: Re: SUSE directory
Post by: Skuromis on March 21, 2005, 03:31:36 AM
Ordinary they are in /usr/share/pixmaps , where most Icons are ;O) But in this case they might be in /usr/local/share/pixmaps.
Title: Re: SUSE directory
Post by: CrEsPo on March 21, 2005, 03:56:53 AM
Thanks Skuromis, I found the icon in /usr/local/share/pixmaps . I wonder why both searches didn't find it, the ones that skolnick and thedude0001 suggested.

Oh well, I got my icon, thanks everyone :).
Title: Re: SUSE directory
Post by: thedude0001 on March 21, 2005, 12:30:52 PM
skonlicks search didn't turn up anything because it is amule.xpm, not aMule.xpm. And mine didn't because it is amule.xpm, not amule.ico  :]
Title: Re: SUSE directory
Post by: CrEsPo on March 21, 2005, 09:16:41 PM
Yes, I used the correct notation but didn't pop up anything.