Mac menubar

呵呵,因为上周的时候系统换成了AMD64,以前下的很多东东都不能用了,像Mac menu那些i386的deb包,上ubuntuforms.org上去找答案!~晕,一干就是一下午,苦啊!~~呵呵,先说说i386吧,毕竟玩这个的人占绝大多数。(方法来自:avb)!

  1. 安装macmenu-applet_0.1-2_i386.deb
  2. 下载libgtk2.0.tar.bz2
  3. 解压libgtk2.0.tar.bz2并将其中的文件libgtk-x11-2.0.so.0.1200.0复制到/usr/lib
    1. sudo mv /usr/lib/libgtk-x11-2.0.so.0.1200.0 /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup
    2. tar -jxf libgtk2.0.tar.bz2
  4. 右击面板–>Add to Panel,选择“Mac Menu”
  5. 重新登陆或killall gnome-panel。

AMD64现在还没有deb的包,所以得要自己编译(./configure;make;make install),当初玩LFS的时候,这几个东东可是打得非常熟的,呵!看到avb做了个i386的包,偶也想去傐 个amd64的deb包,呵!~安装的步骤就和上面的差不多了!~

  1. 安装macmenu-applet_0.1_amd64.deb
  2. 下载libgtk2.0.tar.bz2
  3. 解压libgtk2.0.tar.bz2并将其中的文件libgtk-x11-2.0.so.0.1200.0复制到/usr/lib
    1. sudo mv /usr/lib/libgtk-x11-2.0.so.0.1200.0 /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup
    2. tar -jxf libgtk2.0.tar.bz2
  4. 右击面板–>Add to Panel,选择“Mac Menu”
  5. 重新登陆或killall gnome-panel。

下面是来自lxevolution的源码安装方法,呵,偶就是用他的方法做的!但不知为啥,偶安装完后,libgtk-x11-2.0.so.0.1200.0竟然有14.3M之巨,而原来的那个只有4M左右!而且fcitx不能用!~~

Here’s how I did it and it worked.

I’m on Gutsy x86_64 (Turion64 HP dv2000).

1. Download the gtk patch that detaches menus From gnome windows.
(http://ubuntuforums.org/attachment.p…chmentid=47782)

2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.p…chmentid=48014)

3. Install the necessary dependencies for compiling gtk

Code:

sudo apt-get install build-essential autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev

3. Get GTK source

Code:

apt-get source libgtk2.0-0

4. Patch and compile GTK source

Code:

gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
cd gtk+2.0-2.12.0/
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install

5. Reboot.

6. Compile the applet.

Code:

sudo apt-get install libwnck-dev libpanelappletmm-2.6-dev
tar -xvzf macmenu-applet-0.1.tar.gz
cd macmenu-applet-0.1/
make
sudo make install

7. Restart gnome-panel

Code:

killall gnome-panel

Mac menu

Mac menu

如果缺少上面的某个文件的话,可以找偶,因为divshare的文件可以直接发到Email里!~

This entry was posted in Ubuntu and tagged , , , . Bookmark the permalink.

10 Responses to Mac menubar

  1. AndyWxy says:

    哈哈! 我就知道Walker肯定会把这个问题搞定滴~ 收藏鸟!
    另外我的blog地址变了! 烦请更新下咯! andywxy.com
    🙂

  2. SkyWalker says:

    [Comment ID #226575 Will Be Quoted Here]

    呵呵,你的域名多少米买的啊?

  3. AndyWxy says:

    万网官价。。。。

  4. SkyWalker says:

    [Comment ID #226628 Will Be Quoted Here]

    晕,万网要¥139/Y啊!~~还不如去国外注册一个了!~ Enom才$10/Y.

  5. AndyWxy says:

    Enom是哪儿? 最近忙也没细挑

  6. SkyWalker says:

    [Comment ID #227076 Will Be Quoted Here]

    是美国的!~~www.enom.com!可惜偶的工行国际信用卡不能用,有时间去工行问个清楚,呵呵!~

  7. AndyWxy says:

    我靠,你小子还有自己的工行国际信用卡啊。。。我都用我妈的,不过担心安全问题没敢用来买这些,只是交交考试费~
    工行国际信用卡在线支付功能要打电话去开通,我倒是去开了,但是想了下还是没用,呵呵~

  8. SkyWalker says:

    [Comment ID #227096 Will Be Quoted Here]

    呵呵,偶的工行信用卡在线支付早就开通了,在国内买东西没有问题,但就是买不了大陆以外的东东,今天又去ebay.com.hk看了看,也用不了!~~
    至于安全问题的话,偶就不担心了,因为偶有U盾,呵,工行送的哦!~ 🙂

  9. 左倾45度 says:

    8O有尝试过一次64位…..用不满一天马上闪……….

Leave a Reply

Your email address will not be published. Required fields are marked *