≡ Menu

mac os x

Mozilla Asks To Display Firefox EULA In Ubuntu Linux

A software license agreement is a contract between a producer and a user of computer software which grants the user a software license. Most often, a software license agreement indicates the terms under which an end-user may utilize the licensed software, in which case the agreement is called an end-user license agreement or EULA. EULA is very common under Windows and other oses like Mac OS X.

A free software license grants the right to modify and redistribute the licensed software for any purpose, both of which would ordinarily be forbidden by copyright law. So you get considerably more rights than most EULAs provide. Now Mozilla asked Ubuntu to display EULA first time you launch Firefox. From the bug page:

Mozilla Corp asked that this be added in order for us to continue to call the browser Firefox. Since Firefox is their trademark, which we intend to respect, we have the choice of working with Mozilla to meet their requirements, or switching to an unbranded browser.

I don't see a big deal here. If you don't like EULA in Ubuntu, try Iceweasel - rebranded version of the Mozilla Firefox program.

shoes – A cross-platform Windowing Applikit

Shoes is a very informal graphics and windowing toolkit. It's for making regular old apps that run on Windows, Mac OS X and Linux. It's a blend of my favorite things from the Web, some Ruby style, and a sprinkling of cross-platform widgets. Shoes uses Ruby as its interface language.

It borrows a few things I like from the web:
=> Hyperlinks and URLs within Shoes and to the web.
=> Simple text layout -- though Shoes eschews floats.
=> Images and colors in the layout and in the background.
=> Margin and padding.
=> Resizable layouts.

How do I install shoes ?

First, get source code, enter:
$ cd /tmp
$ wget http://shoooes.net/dist/shoes-0.r925.tar.gz

Untar it:
$ tar -zxvf shoes-0.r925.tar.gz
$ cd shoes-0.r925
Now install required stuff under Debian / Ubuntu Linux:
$ sudo apt-get install libcairo2-dev libpixman-1-dev libpango1.0-dev libungif4-dev libjpeg62-dev libgtk2.0-dev vlc libvlc0-dev libsqlite3-dev libcurl4-openssl-dev ruby1.8-dev rake
If you are using RHEL / CentOS / Fedora Linux, enter:
# yum install giflib-devel cairo-devel libpixman-devel pango-devel libjpeg-devel gtk2-devel sqlite-devel vlc-devel libcurl-devel ruby-devel
Install it:
$ make
$ sudo make install

Sample output:

build options: shoes raisins (0.r925) [i486-linux]
CC       = cc
RUBY     = /usr
installing executable file to /usr/local/bin
installing libraries to /usr/local/lib/shoes

See READM for for more information.

Hello World application

Sample hello.rb

Shoes.app {
  para strong("Hello, "), " world!"


Shoes.app (:width => 200, :height => 50, :title => "Hi, Guest!") {
   para strong("Hello, "), " world!"
   @buttonQuit = button "Exit"
   @buttonQuit.click { exit() }

Run it as follows:
$ /usr/local/bin/shoes hello.rb
Another example:

Shoes.app {
  name = ask("Please, enter your name:")
  para "Hello, ", name

You can include images from web or create a simple links / urls:

Shoes.app (:title => "My App" ) {
  image "http://theos.in/wp-content/uploads/2008/06/honda-fcx-clarity-car-photo.jpg"
  para( link("Info").click{ alert ("The FCX Clarity, which runs on hydrogen and electricity, emits only water and none of the noxious fumes believed to induce global warming.") })
  para( link("Exit").click{ exit() } )

Sample output:

Loading images from the web

Fig.01: Loading images from the web

Sample applications

You can find sample application in /tmp/shoes-0.r925/samples/ directory. Here is animated clock program:

# Shoes Clock by Thomas Bell
# posted to the Shoes mailing list on 04 Dec 2007
Shoes.app :height => 260, :width => 250 do
  @radius, @centerx, @centery = 90, 126, 140
  animate(8) do
    @time = Time.now
    clear do
      stack do
        background black
        para @time.strftime("%a"),
          span(@time.strftime(" %b %d, %Y "), :stroke => "#ccc"),
          strong(@time.strftime("%I:%M"), :stroke => white),
          @time.strftime(".%S"), :align => "center", :stroke => "#666",
            :margin => 4
      clock_hand @time.sec + (@time.usec * 0.000001),2,30,red
      clock_hand @time.min + (@time.sec / 60.0),5
      clock_hand @time.hour + (@time.min / 60.0),8,6
  def draw_background
    background rgb(230, 240, 200)
    fill white
    stroke black
    strokewidth 4
    oval @centerx - 102, @centery - 102, 204, 204
    fill black
    oval @centerx - 5, @centery - 5, 10, 10
    stroke black
    strokewidth 1
    line(@centerx, @centery - 102, @centerx, @centery - 95)
    line(@centerx - 102, @centery, @centerx - 95, @centery)
    line(@centerx + 95, @centery, @centerx + 102, @centery)
    line(@centerx, @centery + 95, @centerx, @centery + 102)
  def clock_hand(time, sw, unit=30, color=black)
    radius_local = unit == 30 ? @radius : @radius - 15
    _x = radius_local * Math.sin( time * Math::PI / unit )
    _y = radius_local * Math.cos( time * Math::PI / unit )
    stroke color
    strokewidth sw
    line(@centerx, @centery, @centerx + _x, @centery - _y)
Fig. 02: Animated clock

Fig. 02: Animated clock

Shoes manual

The manual can be launched by typing the following command
$ shoes -m

Further readings:

TrueCrypt version 6.0 has been released and available for download. It is free open-source disk encryption software for Windows Vista/XP, Mac OS X, and Linux system. A perfect software for laptop or desktop system which allows data be to be protected even when the OS is not active, for example, if data is read directly from the hardware.

Version 6.0x offers parallelized encryption/decryption on multi-core processors (multi-processor systems). Increase in encryption/decryption speed is directly proportional to the number of cores and/or processors. Ability to create and run an encrypted hidden operating system whose existence is impossible to prove. Ability to create hidden volumes under Mac OS X and Linux.

(Fig. 01: TrueCrypt in action [image credit TrueCrypt project])

Download TrueCrypt Open Source Edition

Apple has released 230 page guide for securing and safeguarding Mac OS X system from the hackers and crackers. The Security Configuration Guides provide an overview of features in Mac OS X that can be used to enhance security, known as hardening your computer. Using this guide you can:

=> Lock down the system.
=> Protect Mac OS x from external attackers.
=> Avoid unauthorized access
=> Secure Mac by hardening your computer.
=> Mac OS X security and much more.

However, guide is heavily depend upon shell prompt (read as terminal) to perform recommended tasks. So you need to have some basic knowledge of terminal. From the Apple site:

Certain instructions in the guides are complex, and deviation could result in serious adverse effects on the computer and its security. The guides should only be used by experienced Mac OS X users, and any changes made to your settings should be thoroughly tested.

Download Mac OS X Security Configuration Guides

Download guide for Mac OS X v10.5 (Leopard) / Mac OS X v10.4 (Tiger) / Mac OS X v10.3 (Panther):

Download Google Gadgets for Linux

Google gadgets is an open-source implementation of Google gadgets platform for Linux and is now available for download. It is the first cross-platform desktop gadgets framework that works with Linux, Windows and Mac OS X computer system. From the google blog:

For Gadgets for Linux, we don't just want to simply release the final offering, but we also want to give everyone a chance to tinker with the code powering the gadgets. For this project, fostering a transparent and lively developer community is just as important as serving our users.

Google Gadgets for Linux provides a platform for running desktop gadgets under Linux, catering to the unique needs of Linux users. We are compatible with the gadgets written for Google Desktop for Windows as well as the Universal Gadgets on iGoogle. Following Linux norms, this project will be open-sourced, under the Apache License.

Google Gadgets for Linux

Download Google Gadgets for Linux

You can download Google Gadgets for Linux here at project website.

OpenOffice 3.0 beta has been released and available for download. With Version 3.0, OpenOffice.org is now able to run on Mac OS X without the need for X11. Thus, OpenOffice.org behaves like any other Aqua application. OpenOffice.org 3.0 already supports the features of the upcoming version 1.2 of the ISO standard OpenDocument Format (ODF). In addition to read and write support for the Microsoft Office binary file formats (.doc; .xls, .ppt, etc.), OpenOffice.org 3.0 is now capable of opening files created with Microsoft Office 2007 or Microsoft Office 2008 for Mac OS X (.docx, .xlsx, .pptx, etc.).

=> You can download latest version here

Operating Systems At War – But Who Wins?

Each OS has its own advantages and disadvantages. This article from Pc Advisor takes diffrent angle and considers normal joe user who just wanted to do their work:

When it comes to an OS, what should you choose? Each of the four biggest players; Linux, Mac OS X, Windows Vista and Windows XP all have their merits. So we've taken four experts and asked them to defend their chosen operating systems in an opinionated free-for-all.

=> Linux, Mac OS X, Vista and XP: head-to-head