Jump to content

Hacking Leopard GUI


  • Please log in to reply
224 replies to this topic

#1
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
I just started to not really like the dock - So, I've started hacking on it... Check it out:

Attached File  lepdock.png   144.84KB   4550 downloads

#2
questionmark

questionmark

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Nice job, I really like how you changed the running programs mark on the the bottom of the icon, the blue light on leopard just blends to well with the background to be useful.

#3
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
Thanks! Yeah. that was one of my biggest gripes actually.

I left some transparency in this one, but I was using one without transparency, so the icon reflections did not show - which is nice too. Just can't make up my mind which way I prefer.

Only bummer is that you cannot change the shape of the dock, it is stuck as a trapezoid or whatever. I've search through all of the plists, code, etc.. and cannot find it. It must be hardcoded that way, which is a bummer as you wont be able to change the shape nor will you be able to completely remove the background and have a 100% clear dock.

I'm working on the Stacks stuff now - see what can be done with it.

#4
turpentine

turpentine

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts
wanna let me know how to do this? I want to make the running app icon more easy to tell.

#5
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
Sure, all of the files are inside the Dock.app which can be found at:

System>Library>CoreServices>Dock

Select the Dock app, and show package contents.

Inside the Content>Resources directory are all of the files for the Dock.

The one you want is called "indicator.png"

The ones for the Dock background are "scurve.png" and "frontline.png"

Hope that helps.

#6
DsurioN

DsurioN

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
Hey I really like your modifications. Could you post the "skin" here so others can enjoy your great work?

#7
turpentine

turpentine

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts
how do i replace the images? if i drop it in from desktop it authenticates then does nothing

#8
Guest: Ramm_*

Guest: Ramm_*
  • Guests
Here's one I made:
Posted Image

#9
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
Actually, you can do what I did.. delete the file you want to change from the terminal (sudo rm -rf and then drag the file to be deleted to the terminal window and it should autocomplete the path for you)- then drag the new file into its place in the originals spot in the resources folder which will ask you to authenticate. Then open activity viewer and find the dock process and force quit it.. the dock should quit and then immediately open back up with your changes displayed.

If you try to just move the file from its spot to the trash, it doesn't seem to "take" very well... thats why I outlined the method above - it seems the fastest easiest way and doesn't require loggin out and back in a thousand times.

I stress that you should have a copy of the original files before attempting any of this... and of course, the basic warning - you are altering core system files, so be careful. (there is not much danger in this unless you really muck something up but still be careful)



DsruioN - I will try and put something together once I figure out how to make them into a user-installable skin - right now it's just raw files being put into the resources folder as described above. Eventually I'd like to make a little installer app that allows you to select from a variety of dock styles and then puts the files where they need to go and restarts the dock.

#10
heiesuke

heiesuke

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
U lost me when U went to the terminal. LOL

#11
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
Open up the terminal.app

Type "sudo rm -rf " in the terminal window (be VERY careful here, if you mis-type an extra "/" at the end you will literally zero out your harddrive) - again, that is sudo[space]rm[space]-rf[space]

With that typed in, drag the file you want to be deleted onto the terminal window you just typed in. This will autocomplete the path to the file that you are trying to delete into the terminal window just after the sudo rm -rf part from above. Hit return.

You will be asked for your password and possibly given the standard warning about sudo commands.

Then thats it.. the file should be deleted. Now just drop your new revised graphic into the resources folder which should ask you for your password again... once that is done open up the Activity Monitor application. Select "dock" which should be one of the running processes. Then click the red stop sign button. Then click "Force Quit".

Voil, you're new dock should now be visible.

#12
turpentine

turpentine

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts
thanks, heres mine real quickly done. I'm going to do a few in perspective when I get the time.Attached File  Picture_1.png   31.9KB   1184 downloadsAttached File  indicator.png   2.99KB   355 downloads

#13
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
Nice!

#14
Sabr

Sabr

    Well, it was fun while it lasted.

  • Retired
  • 3,883 posts
  • Gender:Male
  • Location:United Kingdom.
That's pretty cool - nice work. I wish that Dock was available for Tiger...

- Sabr.

#15
turpentine

turpentine

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts

That's pretty cool - nice work. I wish that Dock was available for Tiger...

- Sabr.

no you don't

#16
Guest: Ramm_*

Guest: Ramm_*
  • Guests
Here are the files for mine if anyone wants them:
Attached File  Dock.zip   60.06KB   560 downloads

#17
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
lookin' good!

#18
macuser74

macuser74

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
  • Gender:Female

Open up the terminal.app

Type "sudo rm -rf " in the terminal window (be VERY careful here, if you mis-type an extra "/" at the end you will literally zero out your harddrive) - again, that is sudo[space]rm[space]-rf[space]

With that typed in, drag the file you want to be deleted onto the terminal window you just typed in. This will autocomplete the path to the file that you are trying to delete into the terminal window just after the sudo rm -rf part from above. Hit return.

You will be asked for your password and possibly given the standard warning about sudo commands.

Then thats it.. the file should be deleted. Now just drop your new revised graphic into the resources folder which should ask you for your password again... once that is done open up the Activity Monitor application. Select "dock" which should be one of the running processes. Then click the red stop sign button. Then click "Force Quit".

Voil, you're new dock should now be visible.


It keeps saying this after I enter my password :
'rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
What gives??? :boxing:

#19
SCARECR0W

SCARECR0W

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
No clue, maybe you didn't type things right? Not sure.

Below is how it should look -

sudo rm -rf /System/Library/CoreServices/Dock.app/Contents/Resources/scurve.png

#20
macuser74

macuser74

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
  • Gender:Female

No clue, maybe you didn't type things right? Not sure.

Below is how it should look -

sudo rm -rf /System/Library/CoreServices/Dock.app/Contents/Resources/scurve.png


Edit: I got it.
Thanks man





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy