• Uncategorized 22.02.2005

    One thing I never liked about running Linux on my iMac is the fact that the eject key doesn’t work.
    Using Debian, Gnome 2.8, Linux 2.6.8.

    Well the problem is now solved, or fixed, thanks to a bit of scripting and the eject executable.

    I wrote a little PHP script:

    #!/usr/local/bin/php
    

    And put it in /usr/local/bin/maccd
    Added a shortcut icon into the Gnome panel, and know all I have to do is click a button to eject and close my cd tray.
    At least it’s easier than going to the Terminal.

    Now if only I can somehow map the eject key to it…

    Posted by Arthur @ 12:00 am

    Tags:

  • One Response

    WP_Modern_Notepad
    • Gerald Says:

      I found that mapping Keycode-204 to the “eject -T” command worked beautifully on my US Apple Pro (Model M7803) keyboard. YMMV

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.