aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Ugly icon in Tiger's Dock  (Read 5288 times)

terran

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Ugly icon in Tiger's Dock
« on: July 03, 2005, 03:33:29 PM »

As you can see when i launch amule for mac os x tiger, the icon changes from the pretty one to the horrible black square.

Is this ok???

What can i do? i tried to change the icon, but it just changes when amule is closed, when opened black square appears again...




link to the image (takes a little bit to load)----> http://www.jotapeges.com/show.php?i=203534
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Ugly icon in Tiger's Dock
« Reply #1 on: July 03, 2005, 11:14:34 PM »

You have enabled the Tray Icon in your General preferences.  This feature doesn't really work right on the Mac.  Making the icon ugly is one of the side effects.  It can also cause aMule to crash, if you try to use the dock item's menu.  8o :]

Disable that preference setting and aMule should keep its pretty icon in the dock. :)
Logged

terran

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Ugly icon in Tiger's Dock
« Reply #2 on: July 04, 2005, 11:46:06 AM »

wow! thanks a lot  ;( ;( ;(

it was really simple, hehehe


Thank you again!
Logged

Lithogeek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ugly icon in Tiger's Dock
« Reply #3 on: August 01, 2005, 08:35:47 PM »

Quote
Originally posted by ken
You have enabled the Tray Icon in your General preferences.  This feature doesn't really work right on the Mac.  Making the icon ugly is one of the side effects.  It can also cause aMule to crash, if you try to use the dock item's menu.  8o :]

Disable that preference setting and aMule should keep its pretty icon in the dock. :)

I am having the same problem, and yes I (dumbly) enabled the Tray Icon. I should have known better, the tray is only a Windows thingy.

Anyway, the problem I have is IF aMule doesn't crash when I use the docks menu to get aMule to show up again, I go into the preference tools menu, and as soon as I unselect the Tray Icon feature, aMule crashes. When I relaunch it, it disappears again -- therefore the setting didn't take effect.

I've tried to find aMules preference file, so I could trash it and get back to defaults, but I can't find it anywhere. The only file that comes up with a search is org.amule.aMule.plist. Moving or trashing that file does nothing. Reinstalling doesn't work because there is no install, you just drop the app in the apps folder.

I've also tried to get into aMules temp folder, but cannot seem to get hidden files to show up. Following apples help file using Find/other/visibility/invisible also does not work, it displays nothing in my home folder, and displays the .trash for about 1 second if I search the entire computer.

System is a new iMac 2ghz 17", running Tiger.

Any help would be much appreciated, thanks in advance!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Ugly icon in Tiger's Dock
« Reply #4 on: August 01, 2005, 09:49:13 PM »

There should be a hidden folder called .aMule in your home/user directory (dunno how this is on a mac), where you'll find the file amule.conf. (Should be 'EnableTrayIcon')
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Ugly icon in Tiger's Dock
« Reply #5 on: August 01, 2005, 10:16:00 PM »

Lithogeek, in the Finder, select Go : Go to Folder...  In the dialog that comes up, type "~/.aMule" (without the quotes).  This will open the otherwise hidden .aMule settings directory.

As wuischke said, you can edit amule.conf with a text editor and change the values of EnableTrayIcon and MinToTray from 1 to 0.  Do this while aMule is not running, of course.

And by the way, no you were not dumb for enabling that option.  It should work.  It's our (my) fault that it doesn't.  And given that it doesn't, it's still our fault for leaving the option enabled on the Mac when it's only dangerous and not useful.
Logged

Lithogeek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ugly icon in Tiger's Dock
« Reply #6 on: August 02, 2005, 01:43:36 AM »

Thanks for your kind replies. :)

I came back here to report how I fixed it, only to see similar suggestions. Thank you also for the quick response. Scoot to the bottom for the fix(s) I used.

I have to admit, I am fairly new to OSX, and this iMac is only days old. I've never been under the hood of OSX or Unix. Yet, I've worked on Macs for years, although only recently under OSX. For what I do (prepress), there isn't much call or time to play with stuff, partially the reason I bought this iMac. Last two computers I've owned are dedicated PC gaming machines.

Anyway, I knew the prefs/settings/conf/cfg file must be kept in the temp folder, and remember seeing that it was in my user folder from a previous time I was in the options.

Following the help instructions in OSX, I tried to find the file/folder with the invisible filter, but for some reason nothing would show up, anywhere, any name (like .Trash, which I know exists), no matter what I did. I thought maybe it was an administrator rights problem, and even though I am set as admin I am not getting the rights. I read up on this some, as well as doing several searches on finding/viewing invisible files. Finally got a hint from a post on another forum to use terminal: ls -a command.

Bingo, I could now see hidden files. I then just had to figure out how to navigate to the folder -- cd .aMule... duh, then somehow get terminal to edit the file (got that on first guess, open amule.conf. The lines I need to change were right there.

In the midst of all this, I found a much easier way to access hidden files and folders, while pondering if I should activate and setup root login. And thats with a program called TinkerTool:

http://www.bresink.de/osx/TinkerTool.html

Flip one switch, and all is visible and editable. I am certain I'll need this again in the months to come.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Ugly icon in Tiger's Dock
« Reply #7 on: August 02, 2005, 08:36:02 AM »

Yeah.  Mac OS X inherited two different notions of invisible or hidden files, and made a third up on its own.

The first, from Mac OS 9, is the invisible flag that can be set on a file/folder.

The second, from Unix, is starting the file/folder name with a period ('.').

The third, is the file /.hidden at the root of the file system, which lists certain specific directories that the Finder shouldn't show to the user.  This has been deprecated in Tiger.

Anyway, it appears the Finder's find by visibility only finds the first kind of invisible file/folder.

By the way, in addition to the Go to Folder menu item in the Finder, if you type the tilde ('~') in most Open File dialogs, it will let you type a path and will jump to that location.  This includes hidden directories.  So, you could have just opened TextEdit, select File -> Open, and typed "~/.aMule" to see that directory.
Logged

Lithogeek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ugly icon in Tiger's Dock
« Reply #8 on: August 12, 2005, 02:57:55 AM »

Quote
Originally posted by ken
Yeah.  Mac OS X inherited two different notions of invisible or hidden files, and made a third up on its own.

Anyway, it appears the Finder's find by visibility only finds the first kind of invisible file/folder.

By the way, in addition to the Go to Folder menu item in the Finder, if you type the tilde ('~') in most Open File dialogs, it will let you type a path and will jump to that location.  This includes hidden directories.  So, you could have just opened TextEdit, select File -> Open, and typed "~/.aMule" to see that directory.

Good info, thanks! I'm learning this stuff a little at a time.

Found a nifty way to make the finder see hidden files. Not sure how risky it is, I tried it for a few minutes than turned it off and tucked it away for the next emergency. :)

It somehow logs the finder in as 'root'

Get this program - Pseudo_1.2.3.dmg.sit here:

http://personalpages.tds.net/~brian_hill/
http://personalpages.tds.net/~brian_hill/downloads.html

Follow the instructions by dropping the finder onto it, and poof, a finder window that shows everything. Pretty cool.
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Ugly icon in Tiger's Dock
« Reply #9 on: August 12, 2005, 05:54:51 AM »

Running Finder as root -> Not A Good Idea (TM)

If you do this you can
a) easily delete, move, etc. system files and folders accidentally (because you don't get prompted for an admin password anymore) and
b) create a mess with permissions: If you create files or folders with a rooted Finder these files and folders will be owned by root and not by your user, which will create problems once you switch back to the user-owned Finder.

Bottom line: Stay away from root if you don't now exactly what you are doing... ;)

If you want to see invisible files in the Finder the easiest way is to use TinkerTool to make them temporarily visible (TinkerTool also has a couple of other nice features btw.).
Logged
Current aMule CVS builds for OS X can be found here.

Lithogeek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ugly icon in Tiger's Dock
« Reply #10 on: August 13, 2005, 03:00:47 AM »

Absolutely good advise. Partially why I only took a spin with it, look around a bit then close it.

I tried TinkerTool, very effective and easy to use, it gets a permenant spot in my utilities folder, and I'll register it next time it saves my arse. :)

I was reading about how to log in as root in the terminal, and that is even more scary than using Pseudo. At least when/if I use Pseudo, it will be for a specific file or purpose, and I'd always be careful not to adjust anything else, and always make backups of anything I do modify. Still, I'd like to learn a lot more about using command line and terminal, just don't have enough room in my brain for memorising more than a few commands. :/
Logged

Lithogeek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ugly icon in Tiger's Dock
« Reply #11 on: August 13, 2005, 06:52:06 PM »

Quote
Originally posted by Lithogeek
I've tried to find aMules preference file, so I could trash it and get back to defaults, but I can't find it anywhere. The only file that comes up with a search is org.amule.aMule.plist. Moving or trashing that file does nothing. Reinstalling doesn't work because there is no install, you just drop the app in the apps folder.

Further note on this, as a longtime Mac user, I was used to older OS versions allowing "Find" or Sherlock to find invisible files. OSX seems to only find hidden files with the invisble flag, and not the other two (.filename and /.folder).

This nifty little tool gets around that:

EASYFIND 3.7
http://www.devon-technologies.com/products/freeware/applications.php

I grabbed it while surfing for some other utils, I was interested in it's ability to display the locations of found items without having to click the open arrow icon in Spotlight.

To my endless delight, upon doing my first search with EasyFind, it displayed a huge list of hidden files and folders that would otherwise be excluded from "Find" or Spotlight. I can see this will be a huge help for me when trying to locate various preferences, plists, etc.
« Last Edit: August 13, 2005, 06:55:39 PM by Lithogeek »
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Ugly icon in Tiger's Dock
« Reply #12 on: August 14, 2005, 09:49:29 AM »

Good advice. I remember reading about the inconsistent treatment of the different types of invisible files on macosxhints.com.
I usually do my searches via 'find' in the terminal but I think I will take a look at EasyFind...
Logged
Current aMule CVS builds for OS X can be found here.