个人工具
119.28.94.63
该IP地址的讨论
登录
查看“UbuntuHelp:BookSmart”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:BookSmart”的源代码
来自Ubuntu中文
←
UbuntuHelp:BookSmart
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/BookSmart}} {{Languages|UbuntuHelp:BookSmart}} Parent: [[UbuntuHelp:Software|Software]] == Introduction == BookSmart is a bookmaking application developed by Blurb, Inc. It allows users to design and publish books. Although Blurb do not offer or support a Linux version of BookSmart, it is a Java application which will run on Linux with a bit of fiddling. Website: http://www.blurb.com/ == Installation Instructions == These instructions are heavily based on the hard work done by Blurb forum member [http://www.blurb.com/user/clecuret Cedric Lecuret]. His original instructions are [http://sites.google.com/site/leucblog/Home/booksmart--linux here]. Firstly, download the latest version of BookSmart from [http://www.blurb.com/ here]. Make sure you get the Mac version, not the Windows version. Alternatively, download it from the commandline: <code><nowiki>wget http://downloads.blurb.com/booksmart/BookSmart_1.9.9.dmg</nowiki></code> Now install some software to convert the DMG file into something that Linux can mount, such as dmg2img. Follow these [[UbuntuHelp:DMG2IMG|DMG2IMG]] instructions. Then, convert the file using: <code><nowiki>dmg2img BookSmart_1.9.9.dmg</nowiki></code> Next mount the disc image: <pre><nowiki> sudo mkdir -p /macbooksmart sudo modprobe hfsplus sudo mount -t hfsplus -o loop BookSmart_1.9.9.img /macbooksmart </nowiki></pre> And install the BookSmart files: <pre><nowiki> sudo mkdir /usr/lib/booksmart/ sudo cp -r /macbooksmart/BookSmart.app/Contents/Resources/Java/lib/ /usr/lib/booksmart/ sudo cp -r /macbooksmart/BookSmart.app/Contents/Resources/Java/resources/ /usr/lib/booksmart/ </nowiki></pre> The 1.9.9 Mac version of BookSmart will only run under Java 1.5, so make sure that is installed: <code><nowiki>sudo apt-get install sun-java5-jre</nowiki></code> Now, create a script that can start BookSmart: <pre><nowiki> sudo echo '#! /bin/sh cd /usr/lib/booksmart classpath="" # Build classpath with all jars in the lib directory for jar in lib/*.jar do classpath=$classpath:$jar done /usr/lib/jvm/java-1.5.0-sun/jre/bin/java -Xincgc -ea -Xms256m -Xmx1024m -classpath $classpath com.blurb.booksmart.application.BookSmart exit $? ' > /usr/lib/booksmart/booksmart.sh sudo chmod a+x /usr/lib/booksmart/booksmart.sh </nowiki></pre> Finally, create a menu item to run BookSmart. Right-click on the Applications menu and select Edit Menu. Add a new entry under the Graphics menu called BookSmart which runs the following command: <code><nowiki>/usr/lib/booksmart/booksmart.sh</nowiki></code> == Getting Started With BookSmart == You can now run BookSmart by selecting Applications > Graphics > BookSmart from the menu. == Known Issues == The thumbnails for themes for the New Book wizard are missing/misnamed. [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:BookSmart
。