aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SUSE directory  (Read 4394 times)

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
SUSE directory
« 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.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: SUSE directory
« Reply #1 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).
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: SUSE directory
« Reply #2 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/
« Last Edit: March 21, 2005, 01:21:42 AM by CrEsPo »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: SUSE directory
« Reply #3 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.
Logged

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: SUSE directory
« Reply #4 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.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: SUSE directory
« Reply #5 on: March 21, 2005, 02:24:29 AM »

get the oackage file and run:
rpm -l

also, ~/.aMule is the config directory.

Greets!
Logged

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: SUSE directory
« Reply #6 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.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: SUSE directory
« Reply #7 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.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: SUSE directory
« Reply #8 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 ;)
« Last Edit: March 21, 2005, 03:09:39 AM by thedude0001 »
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: SUSE directory
« Reply #9 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.
Logged

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: SUSE directory
« Reply #10 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 :).
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: SUSE directory
« Reply #11 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  :]
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: SUSE directory
« Reply #12 on: March 21, 2005, 09:16:41 PM »

Yes, I used the correct notation but didn't pop up anything.
Logged