Linux user thread

jg
jgould
Posts: 77
Joined: Tue Nov 23, 2010 3:16 pm
Platform: Mac + iOS
Location: Circleville, OH

Thu Nov 25, 2010 6:08 am Post

kewms wrote:
jgould wrote:Is anyone else having issues moving between the different versions of Scrivener with projects? I can bring a file from MacScriv version 1.54 and 2.0 to LinScriv, but I can't go the other way. MacScriv 1.54 claims that "No valid Scrivener 1.x project could be found at the specified path". I thought that version 1 was supposed to work interplatform across the board...

Any ideas?

Josh


The Mac 2.0 format is the same as the Win/Linux 1.0 format, and will work crossplatform.

The Mac 1.54 format is different, and the conversion is one-way. A 1.54 project can be converted to 2.0, but (Mac)Scriv 1.54 won't be able to read the result.

Katherine


Ok, I must have completely bungled that in my head. I think it would be nice to have a way to export a Mac 2.x project out as one that could be opened in Mac 1.54. I'm gonna have to figure out a way to keep this as a file I can still do something with after the betas/trials expire...

Josh

User avatar
AmberV
Posts: 24287
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Thu Nov 25, 2010 6:31 am Post

If you have no intention to upgrade to 2.0, you'll want to treat the trial in the same way you would have you had no intention of using Scrivener. At the end of the trial, use Compile and File/Export/Files... to get everything out of the project(s). Then in your case, you'll want to just drag that stuff into a fresh Scrivener 1.54 project.

But, if you step back to 1.54, you'll lose the ability to keep your projects floating between the Mac and your Linux system. So that is something to consider.

The beta expiration date will be reset with a new release before it expires. Nobody will left hanging without a binary they can use to access their work.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

jg
jgould
Posts: 77
Joined: Tue Nov 23, 2010 3:16 pm
Platform: Mac + iOS
Location: Circleville, OH

Thu Nov 25, 2010 6:56 am Post

AmberV wrote:If you have no intention to upgrade to 2.0, you'll want to treat the trial in the same way you would have you had no intention of using Scrivener. At the end of the trial, use Compile and File/Export/Files... to get everything out of the project(s). Then in your case, you'll want to just drag that stuff into a fresh Scrivener 1.54 project.

But, if you step back to 1.54, you'll lose the ability to keep your projects floating between the Mac and your Linux system. So that is something to consider.

The beta expiration date will be reset with a new release before it expires. Nobody will left hanging without a binary they can use to access their work.


I've given serious thought to making the switch to Linux for a while. It's mainly that I have a license for 1.54, so I would be able to keep the project in a manageable, editable form. I just want to keep my options open for any decisions I make in the future.

Josh

ca
catalinux
Posts: 49
Joined: Tue Oct 26, 2010 12:10 pm
Platform: Linux

Thu Nov 25, 2010 9:06 am Post

dday376 wrote:Got it. Had to do this differently on AMD64. Took a hint from Opera: https://help.ubuntu.com/community/OperaBrowser#32%20bit%20plugins


It worked!

Little tutorial for amd64 users to enable spell ckeck:

1. install libaspell15 and libaspell-dev (amd64)
2. manually extract the content of libaspell15 i386, than replace the libaspell* (amd64) from /usr/lib with the i386 ones (libaspell.so.15.1.4, libaspell.so.15 and the sym links)
aptosid xfce/scrotwm amd64

User avatar
roguish
Posts: 16
Joined: Mon Nov 22, 2010 12:20 pm
Platform: Linux

Thu Nov 25, 2010 10:08 am Post

dday376 wrote:
roguish wrote:does it matter where I put the deb file [scrivener-beta_1.3beta-4_i386.deb] in my file system before using dpgk? Or does dpkg do it all for you? The deb file is in downloads but perhaps it should be somewhere else?


Hi roguish - it does not matter where you put the .deb file, but you must install it as root. If you're doing it manually, do the following:

Code: Select all

sudo dpkg -i scrivener-beta_1.3beta-4_i386.deb


Or, since you're on Ubuntu, you can use GDebi by right-clicking the package an opening it.

Hope that helps!


Thanks dday376. GDebi did the trick and now I have a working version of Scrivener on Linux!
Roguish
Ubuntu 12.04 on Laptop/desktop/netbook

ra
randywallace
Posts: 27
Joined: Thu Oct 28, 2010 9:46 pm
Platform: Mac + Windows
Location: New York City

Fri Nov 26, 2010 5:39 am Post

considering all that I've caught up with, i should update the package to incl. libaspell-dev for i386 scrivener. Subsequently, I've referenced the issue on 64bit and it should be resolved according to this thread in the easiest manner using getlibs. should be something on the order of 'getlibs -i libaspell-dev' or something like that. in the future, i suppose i could add some sort of postinstallation step in the installation to do this automatically. Regardless, I will update the packages soon...
Ubuntu 10.10 i386 / Gnome

pu
pukeko
Posts: 1
Joined: Fri Nov 26, 2010 8:26 am
Platform: Linux

Fri Nov 26, 2010 8:33 am Post

Hi everyone.

I am easily able to install the beta-2-all package on Linux Mint 10 AMD64 but GDebi won't let me install the i386 version.

Code: Select all

sudo dpkg -i scrivener-beta_1.3beta-4_i386.deb
dpkg: error processing scrivener-beta_1.3beta-4_i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 scrivener-beta_1.3beta-4_i386.deb


I suggest you rename, at least for the ubuntu based versions, the .deb as "all".

Chris

PS. Did a rename. Did not work. I think we do need a 64 bit version, sorry -- and (of course) the old beta is past its use by date.
Last edited by pukeko on Fri Nov 26, 2010 8:56 am, edited 1 time in total.

ra
randywallace
Posts: 27
Joined: Thu Oct 28, 2010 9:46 pm
Platform: Mac + Windows
Location: New York City

Fri Nov 26, 2010 8:56 am Post

Well, here we go again, with aspell all fixed up for i386!

scrivener-beta_1.3beta5_i386.deb
scrivener-beta-1.3beta-6.i386.rpm
scrivener-beta-1.3beta5.tgz

for you amd64 guys (which amazes me how many of you there are!) it should be relatively easy to get libaspell-dev for i386 to install on your system. as far as i can tell, ubuntu64 doesn't give you guys an easy (apt-get) way to get it; but, if you refer to the link i gave in my previous post, it should be pretty easy to get that library following those instructions ^^

*note*: installing this package with dpkg will result in an error. specifically, dpkg will tell you that it can't be installed because libaspell-dev is not installed. dpkg is not as intelligent as apt, which means you have to actually install it separately. if, and when, i repository-ize this, probably through dropbox somehow, apt-get should resolve that ;)... regardless, before, or after, you attempt to install scrivener, just install libaspell-dev and it will finish ( or be prepared to) install scrivener.

Thus, on Ubuntu/Debian, installing is still as easy as:

Code: Select all

$ sudo apt-get install libaspell-dev
$ sudo dpkg -i scrivener-beta_1.3beta5_i386.deb
Ubuntu 10.10 i386 / Gnome

ra
randywallace
Posts: 27
Joined: Thu Oct 28, 2010 9:46 pm
Platform: Mac + Windows
Location: New York City

Fri Nov 26, 2010 9:48 am Post

@pukeko: Yeah, I've been stewing over packaging scrivener for amd64. Reluctantly, though, if I set it for all architectures, the dependencies get all screwed up; amd64 and i386 have different requirements. Furthermore, scrivener was never *compiled* for 64 bit, so the problem gets a little hairier. You see, I (we) can't compile scrivener because LiteratureAndLatte only provides pre-compiled binaries.

The only way Scrivener can work on AMD64 is thanks to the ia32-libs package on Ubuntu and the magical 32 bit compatibility mode on Intel/AMD 64 bit processors.

Thus, until I can figure it out (or, more specifically, put some time into it) the easiest way to install Scrivener is just to force-install the darn thing. Then, get libaspell-dev for i386 installed accordingly if you want spell-check (previously covered).

Code: Select all

$ sudo dpkg -i --force-architecture,depends scrivener-beta_1.3beta-5_386.deb
Ubuntu 10.10 i386 / Gnome

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Fri Nov 26, 2010 3:46 pm Post

So we have to *replace* our 64 bit aspell with the 32 bit version?

Won't that break aspell for all the 64 bit applications that use it?

If that's the case it'd be better just to use the windows version through wine. Breaking linux for one program isn't worth it...

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Fri Nov 26, 2010 6:19 pm Post

ubersoft wrote:So we have to *replace* our 64 bit aspell with the 32 bit version?

Won't that break aspell for all the 64 bit applications that use it?

If that's the case it'd be better just to use the windows version through wine. Breaking linux for one program isn't worth it...


No, you're not replacing the 64-bit aspell with the 32-bit version. You need to have the 64-bit version installed, and you need to add the 32-bit libraries. See my original original post. The files you add will go in either Scrivener's lib directory, or /usr/lib32, safely away from interfering with the native 64-bit libaspell files.

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Fri Nov 26, 2010 6:23 pm Post

Ah, ok. Will try...

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Fri Nov 26, 2010 6:28 pm Post

I'm starting to see multiple ways to do things on this thread, most notably on how to get 32-bit aspell on a 64-bit system, and I think we need to start putting this all in a single document somewhere. I actually wrote a post on my blog about this, but @randywallace already released new packages so my post is outdated.

I found this page on L&L's wiki (started by @randywallace). I'll find some time today to put what I can from our posts on there, and maybe @randywallace can maintain links to his packages there as well?
Last edited by dday376 on Fri Nov 26, 2010 9:02 pm, edited 1 time in total.

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Fri Nov 26, 2010 6:29 pm Post

It woooooooooooooooooooooooooooooooooooooooorked!

Huzzah!

Thank you so much. You are now officially my hero.

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Fri Nov 26, 2010 11:27 pm Post

OK, the next thing to figure out is how to modify the aspell vocabulary list. Scrivener is underlining a number of words that are spelled correctly. It also includes those words in its list of possible spellings when you right-click on them. However, when you select the word the underline does not disappear. I have to tell it to Learn the word in order for it to stop marking it as misspelled.

 

 

cron