2007年5月27日星期日

Make your firefox more beautiful in ubuntu!

One thing that has always bothered me about Ubuntu's firefox is that the buttons, radio buttons, drop down menus, text fields, and checkboxes (known as widgets) are very cruddy looking. Fortunately I found a simple way to fix this. What we have below is a replacement set of images and CSS code for the widgets which will make them much nicer on the eyes (see bottom of the post for screenshots).


The original widgets are done by Osmo Salomaa . I have written a bash script to make the installation and removal process easier. You can download this at the bottom of this post. Simply unpack the archive anywhere you like, open a shell, cd to the directory you unpacked and run install (do this with the ./install command). Now you are presented with a menu.

By default this script works with the default firefox directory: /usr/lib/firefox. To work with a different directory (such as /usr/local/firefox32 if you are using Kilz's firefox32 package) you can specify a new installation/removal (option 3). Make sure you enter the correct path to your firefox directory. You can also change the installation/removal directory with the "-p=" or "--path=" command line options when you initiate the script (run ./install --help or read the README for more information).

Once you have the correct path (or you are just using the default /usr/lib/firefox path), you can install by using option 1 in the main menu. To run the installer immediately and bypass the menu use the "-i" or "--install" command line options when executing the script. Use the "-h" or "--help" command line options to get more information (./install -h).

To remove the widgets (make sure you have the correct path first just like with installing), just select option 2 from the main menu. If you wish to bypass the menu and go straight to removal, envoke the "-r" or "--remove" option.

You can also use the "-p=" option in conjunction with the "-r" or "-i" command line options if you like.

Example) ./install --path=/usr/local/Iceweasel32 -i
This would install the widgets to the /usr/local/Iceweasel32 directory.

I should also mention, I have included a backup forms.css file incase you mess anything up. This file is from a default 64-bit Firefox 2.0 installation. The forms.css file an be found in Firefox's "res" directory. You won't need my backup unless you accidently delete your's or the script malfunctions (in which case please contact me).

Read the README for more information. Screenshots are below, enjoy!


Buttons


Check Boxes


Radio Buttons


Drop Down Menus


Text Fields


Before


After

Download script:http://www.mediafire.com/?8xs20zmmrhv
Read more

1 评论:

daspeac 说...

I have heard about another way of how to rebuild log file of mdf file. Besides, you can visit my blogs at: http://daspeac.livejournal.com/ or http://daspeac.blogspot.com/ where I’m trying to share my experience with regard to data corruption issues