Author Topic: colored syntax in Safari  (Read 2687 times)

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« on: February 09, 2009, 10:17:04 AM »
I saw this in MacWorld magazine.
Here is a site that has the 2 plugins that I want.
http://www.usingmac.com/2008/5/28/impressive-safari-plugins
scroll down and see SafariSource and Safari Tidy, those I would like to have.

So I followed the instructions and downloaded the SIMBL, which you see at the top.
Then found that the plugin folder would not accept the 2 .bundles, nor does it look to me that the plugin folder is where it should be.

I have 2 libraries!  Should there be 2?
 One is in the little house above apps and documents, and the other library is in the MacIntosh HD G5. They both have Application Support in them, but they both contain entirely different things.
Perhaps that could be the problem?

Do any of you have either of those 2 nice little plugins for Safari? If so how did you get them in.
Thanks,
Jane

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
colored syntax in Safari
« Reply #1 on: February 09, 2009, 12:37:26 PM »
Jane, everyone has 2 libraries. One is system-wide, the other account specific. You need both and yes, they're different. smile.gif The one in the "house" (home folder for you) folder is the one attached to your account. If someone else used your computer on a different account, they'd have their own Library folder too. It's where things like your preferences etc. live.

As for SIMBL, I can't get to the site to try downloading it right now - it seems to be down or overloaded or something. (Been that way for at least an hour)

But, it could be a case of location/permissions not being right:

http://forums.mactalk.com.au/13/43121-simbl-not-loading.html

http://blog.macromates.com/2007/inputmanagers-on-leopard/
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #2 on: February 09, 2009, 02:47:37 PM »
Hi Paddy,
I cant figure it out either, how would you know which library to put stuff into?
Looks like a trial and error thing to me, so I will take it out of that library and put it into the other one.
And see what happens.
Jane

Whoops, if you try to drag it out of the 'house' library, they dont, they stay in there and just make a dupe where you drag them out.
« Last Edit: February 09, 2009, 03:33:42 PM by jcarter »

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
colored syntax in Safari
« Reply #3 on: February 09, 2009, 05:58:43 PM »
QUOTE
if you try to drag it out of the 'house' library, they dont, they stay in there and just make a dupe where you drag them out.
This is normal behavior when moving an item from one volume to another. Are you sure you are actually moving these items within the same volume/disk?

Of course, the OS will simply not allow you to remove stuff that is vital to its stable operation (mostly). You may be able to over ride that safety feature but only at your own risk! eek2.gif It might be best to learn a little more about these two basic directories and what they are for before adding/moving stuff in them. Better safe than sorry. wink.gif

QUOTE
how would you know which library to put stuff into?
First of all, you don't normally need to do anything to put stuff in the correct one. Any integrated app will do that kind of thing for you. What you are looking at is a collection of files/plug-ins that are not an integrated app/product. That's why you have to do this manually.

Second, as Paddy said, the Library folder in the "little house" section is the "Home" folder for any particular user. No one should see that user's stuff except that user and an Admin user. That Library will have files that belong to that user but not to any other user on your machine. That's why it's called the "user's Library." smile.gif The Library in the HD directory is full of stuff that can (usually) be used by any user of the machine. That's why it is called a "system-wide" Library. Normally, only an Admin qualified user can move or add stuff to that folder, manually.

It's fairly important to understand the uses and differences in these two "library" folders. It's also important to understand what your "Home" or user folder/directory is and how to use it. <Here is a short Apple Support document that should get you started.> After you read it, you can start a new thread about things you want more info about.

Some day you may install a program that asks if you want to make it (or parts of it) "available to all users" on the machine. If you choose to do that, stuff will be placed in the HD/Library after you enter the Admin password. If you choose not to install things that way, only you will be able to use the app.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #4 on: February 09, 2009, 06:09:03 PM »
There is no other person or account on this machine?

Here is what the student who made the plug in said.
Quote,

"Hi Jane,

The problem is the Plugins folder there has the wrong permissions. Either that, or you are not an administrator. If you are an administrator, Get Info on the Plugins folder and change the permissions to Read/Write. If you are not an administrator, you can place the plugin in $HOME/Library/Application Support/SIMBL/Plugins instead (creating the SIMBL and Plugins folders if they don't already exist).

HTH,
Kevin Ballard"

This is greek to me, as I've never dealt with permissions before, everything Ive ever installed worked flawlessly.
Wouldnt I be the administrator?  And why is the permissions greyed out?
What a complex thing they have made out of this, everything Ive ever downloaded and installed has never ever gone thru this whacky situation.
My classmates would love to have these plugins for Safari, but I sure dont want to send them into a frustrating thing like this.
Things dont need to be this way with Macs.
Jane


Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
colored syntax in Safari
« Reply #5 on: February 09, 2009, 06:21:18 PM »
QUOTE
everything Ive ever downloaded and installed has never ever gone thru this whacky situation.
That may well be but that doesn't mean it's "wacky." See my post just above your last one for a simple explanation about this kind of 'install.'

His instructions involve only two steps, both of which any user is capable of doing.
1. Do a "Get Info" on the file you want to edit/move/change permissions/etc. command-i does that on any selected file.
2. Change the permissions as he stated.
Note: If that section is greyed out, I'll bet there is a little "locked lock" icon at the bottom right part of trhe Get Info window. Click on that locked lock and you'll be asked to enter your Admin password. If it's correct, the Permissions area will become active for editing. If you're not logged in as an admin or you can't remember your Admin password, you'll simply not be able to complete step 2.

"There ain't no step 3!" wink.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #6 on: February 09, 2009, 07:15:19 PM »
Did the getinfo, and there is nothing to do, its greyed out, and there is no padlock anywhere.
No way to change anything at all.
I dont have an admin password either.
Never had to put in a password except once in a long while when adding some software, adn I just type in 'password' and that takes care of that.
Companies like Adobe and all other plugins for any PS filters or anything never have been so odd as this has.
Perhaps they want us to pay?
Whew, its not worth the hassle.
But I sure would love to have the colored syntax for Safari.
Jane

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #7 on: February 09, 2009, 07:38:25 PM »
I guess that I will just continue to use Firefox when I need to view the source, as this whole thing is beyond me at this point, heres a screenshot of what I get with getinfo,

Its sad, as there are some pretty nice things here for Safari,,,,,
http://www.usingmac.com/2008/5/28/impressive-safari-plugins
Adobe could instruct them on how to offer and help people to use plugins, Ive got many of theirs and third party plugins and filters and never had to go thru this troublesome situation to get and install them. This SIMBL thing is their downfall.
So I give up for the time being, its time to walk Lilly and get away from this thing,
To be continued, I would say its not a great day for me with my webhost pulling a whammy and this frustrating thing to install 2 little plugins into Safari.
Though I did cook a great dinner!
Jane

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #8 on: February 10, 2009, 10:32:08 AM »
Solved!
I took everything out, and started over from scratch, put the SIMBL thing into the ~library one, not the library one. Well they are in both anyway now.
Restarted Safari, and there it is, its really nice, you can change the colors of the syntax yourself too.
Now Im going to grab a few more of those nice plugins for Safari,
http://www.usingmac.com/2008/5/28/impressive-safari-plugins
Jane

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
colored syntax in Safari
« Reply #9 on: February 10, 2009, 05:38:36 PM »
Just for future reference:
  • "~/" is used to indicate a users directory (also known as the users 'Home' directory, thus the 'house' symbol).
  • "HD" or "name of your boot drive" or something like that or just nothing in front of a "/" usually indicates the System directory.
Alas, we and some editors get too lazy to use even these simple indications. The problem is, there are numerous folders with exactly the same names on both the user(s) and System directories. It's generally best to leave the stuff ion the System directories alone unless you are sure of what will happen. wink.gif
« Last Edit: February 10, 2009, 05:40:53 PM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #10 on: February 10, 2009, 07:31:59 PM »
Gee, wish Id known that, it would have saved a lot of time.
But this whole installation process was a bit funky, and I took everything out and started from scratch. And restarted Safari, but more important, I restarted the Mac itself.
I think that might have been important. Both.

Anyway these 2 plugins for Safari are really really nice. Quite nice to customize the colors.
And I thank you all, and hope you try these plugins too.
Jane

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
colored syntax in Safari
« Reply #11 on: February 15, 2009, 02:22:25 AM »
For future reference, in the screenshot of the Get Info, if you click the arrow by Details you should see the lock or at least which person or group the item belongs to.  If the lock shows up, click on it and after typing your admin password in the window that appears you can change the drop downs to read/write for yourself.


A Techsurvivors founder

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
colored syntax in Safari
« Reply #12 on: February 15, 2009, 06:49:39 AM »
I think I tried it and the lock was grayed out. But cant remember.
Anyway those 2 plug-ins were worth the trouble, they are nice.
Jane