Install Balsamiq with WINE—使用wine安装Balsamiq

谈天论地 代码 2176浏览

balsamiq_big

Balsamiq is one of the best tools for quick wireframes creation. It allows you to efficiently and quickly create mockups that give you an idea of how design elements fit in the page.
Some years ago there was a package available for the most popular Linux distributions, but since Adobe dropped support for Linux and Balsamiq is built on top of Adobe Air, nowadays they don’t support Linux neither.
As you can see from the downloads page of Balsamiq, though, it luckily works well with wine.

Install Balsamiq with WINE—使用wine安装Balsamiq

First things first: install wine.

sudo apt-get install wine---安装wine

Now, let’s proceed with an easy step-by-step guide.

  1. Download the Balsamiq Bundle that includes Adobe Air———-点击该下载链接下载安装包文件。
  2. Open a terminal, unzip the bundle and move it to /opt (change the Downloads directory name according to your setup)——解压压缩包并移动文件到opt目录下
cd Downloads----进入Downloads目录,该处请修改为自己的文件下载目录
unzip Balsamiq*------解压文件
sudo mv Balsamiq* /opt-----移动文件到/opt目录

3.To make life easier, rename the .exe to simply balsamiq.exe

cd /opt/Balsamiq_Mockups_3/---进入文件目录
mv Balsamiq\ Mockups\ 3.exe balsamiq.exe----重命名文件名

4.Now you can run Balsamiq Mockups by running it with wine

wine /opt/Balsamiq_Mockups_3/balsamiq.exe----使用wine运行balsamiq

Add Balsamiq as an application—-创建Balsamiq图标

The last optional step can save you a lot of time in launching Balsamiq, because it saves you the hassle of writing the command in point 4 above every time you want to launch it (and remembering the Balsamiq executable location). This simply consists in creating a new desktop entry for Balsamiq, which will add it to the applications list of your operating system.

Create the file ~/.local/share/applications/Balsamiq.desktop with the following content:

[Desktop Entry]
Encoding=UTF-8
Name=Balsamiq Mockups
Icon=/opt/Balsamiq_Mockups_3/icons/mockups_ico_48.png
Exec=wine /opt/Balsamiq_Mockups_3/balsamiq.exe
Type=Application
Categories=Graphics;
MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg;

If you are on Ubuntu with Unity, you can add the following lines too:

StartupNotify=false
StartupWMClass=balsamiq.exe
X-UnityGenerated=true

Now, just save and have a look at your Dash or Activity Panel to see if it works.

 

转载请注明:代码'S Blog » Install Balsamiq with WINE—使用wine安装Balsamiq