Linux user thread

Here’s a weird bug:

I changed the default font. My cursor disappeared, so I changed the font back to the default by clicking on the “default” button in options. Now every once and awhile when I start the program, the colors for the lines on the synopsis card disappear. Clicking on the default color in the appearance tab brings them all back.

Here’s another: in fullscreen mode, the text is left justified, not centered. (Once and awhile it’ll display normally. ETA: changing the paper width in fullscreen mode will fix the text.

On my install, in fullscreen mode the text orientation doesn’t change. Also no problems with fonts or cursor.

But I can say that “Defaults” does nothing at all.

Wow! You folks have been busy. Looks like we need to get a forum area sorted for you faster than I expected.
I believe a lot of these font issues are going to dissapear once we fix the font in the rich text parser for Windows. Also, it looks like we’ll need to revisit short-cut keys and make them OS independent - which will probably work for most keys, but not all. This way you’ll feel more at home with Linux specific key strokes instead of Windows. I’ll add this to the feature list.
Lee

Okay, this might help.

First, the ‘e’ is there in the path so it was only the readme that is wrong i.e. LiteratureAndLatte is correct.

Second, detail on where the libraries are loaded from. The first part of running ldd on Scrivener after it is installed should look like:

/usr/local/LiteratureAndLatte/bin$ ldd Scrivener
linux-gate.so.1 => (0x00b63000)
libQtWebKit.so.4 => /usr/local/LiteratureAndLatte/lib/libQtWebKit.so.4 (0x00b64000)
libphonon.so.4 => /usr/local/LiteratureAndLatte/lib/libphonon.so.4 (0x003db000)
libQtSql.so.4 => /usr/local/LiteratureAndLatte/lib/libQtSql.so.4 (0x00110000)
libQtXml.so.4 => /usr/local/LiteratureAndLatte/lib/libQtXml.so.4 (0x001c2000)
libQtGui.so.4 => /usr/local/LiteratureAndLatte/lib/libQtGui.so.4 (0x042e2000)
libQtNetwork.so.4 => /usr/local/LiteratureAndLatte/lib/libQtNetwork.so.4 (0x00207000)
libQtCore.so.4 => /usr/local/LiteratureAndLatte/lib/libQtCore.so.4 (0x0059e000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00303000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00954000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0031c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00342000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x1125b000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00361000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0036b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00431000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0039b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x1cff7000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x003ab000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x003b1000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x004a7000)
libz.so.1 => /lib/libz.so.1 (0x003ba000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x003cf000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00845000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00571000)
/lib/ld-linux.so.2 (0x00581000)
libexpat.so.1 => /lib/libexpat.so.1 (0x0085e000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00885000)
libpcre.so.3 => /lib/libpcre.so.3 (0x0089f000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00575000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x0057a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x008d0000)

Lee

Yeah, getting a community supported Linux sub-board is something I’ll address as soon as I get a moment sometime tomorrow or… well at some point in the next hazy spool of hours.

Great work you all, getting these package installer issues sorted out so more people can get in and try it without pulling their hair out with custom shell scripts! And good luck to any of you who are doing NaNo this year.

For LinScriv users who are doing NaNoWriMo and are using Gnome as their desktop manager, I have some help for toning down the bright white windows of doom (since we can’t yet change the background colors of documents in Scrivener, and the white was making my eyeballs want to bleed). This works with Ubuntu 10.04. If you have a different distro, your mileage may vary. :wink:

If you have CompizConfig Settings Manager installed (with the extra plugins, I think–if you look for these settings and they aren’t available in CCSM, you need to install the compiz-fusion-plugins-extras package), you might like to try this:

In CCSM, under Accessibility, enable the Negative plugin. The default keyboard shortcut on my install is Superkey + N, this can be changed if you have something else mapped to that shortcut. Anyway, click on the Scrivener window and use the Negative keyboard shortcut. This will reverse the colors of the window to black background with white text. If you want different colored text, use Scrivener to select all and change the font color. Remember it will be reversed, so a blue font will get you a golden font when you use Negative. You can change the default font color in Scrivener’s options, but some people have had trouble with changing the defaults–so far as I know, if you lose your cursor after changing defaults, you’ll have to go back to the defaults to get your cursor. Remember you will have to use the shortcut to enable Negative each time you start Scrivener. Be sure you click inside the Scrivener window before using your shortcut, or it won’t take effect.

For an additional layer of control over the darkness of your Scrivener window, or just to have fun, you can enable the Opacity, Brightness and Saturation plugin under Accessibility in CCSM. A BIG WARNING here: BE CAREFUL with this plugin. If you don’t have the keyboard shortcut for killing xwindows enabled, you can get stuck with a totally transparent user interface and no way to easily get out of the mess. If that doesn’t terrify you, here’s how to use the plugin: click on the plugin, then the Opacity tab. Middle of the page, there’s a button that says New. Click on that, and before you do ANYTHING else, click on the slider that says 0 to 100 and drag the slider all the way to 100. If something happens as you are changing settings, this should prevent the Incredible Disappearing Interface. :slight_smile: In text area where you specify Window, type: name=Scrivener. Drag the opacity slider to something you’d like to try–I’m using 80. You can always go back to the plugin, highlight the Scrivener entry, and click edit to change the opacity back to 100 or any setting you’d prefer.

If these instructions don’t work with Maverick (I think you have a newer version of Compiz), perhaps a Maverick user can add some information that will help. Also, I have no idea how to get this effect under KDE. Sorry. :blush:

This is my desktop using Scrivener with Negative and Opacity under CCSM (also, I have the Gnome panel at the right on autohide and AWN at the bottom on autohide).

I hope this is helpful. Good luck with your NaNoWriMo writing projects. :smiley:

Visiting this thread is becoming an increasingly astonishing and revelatory experience. Cathedralistic almost. I offer you a Linux anthem.
youtube.com/watch?v=eh31j6L95Ok
Fluff

I was taking a break from writing to check the forum, and…wow. Thank you, Fluff, for a much-appreciated moment of peace. That’s some of the most beautiful music I’ve ever heard in my entire life. :slight_smile:

You`re welcome :wink:

Isn`t it just. :slight_smile:
Fluff

Ooooh. I love early music. Thanks! :slight_smile:

Has anyone else tried opening the tutorial project? It comes up as a blank basic project for me.

There’s apparently also supposed to be a PDF document included with the Novel template in the Research folder. I can see it in the binder, but it’s blank or not really there when I select it.

Same here. Blank project, no tutorial I can make out.

I haven’t tried that yet, but I’m going to dl it in a minute.

And pmfji. I’ve been lurking for the past few weeks. I’ve always coveted Scrivener, but never had a Mac, so I was already excited about the Windows version and am now hopping on fire with the Linux one. I don’t know how much I can contribute, since I’m not even familiar yet with how Scrivener works originally, but I’ll pop in if something comes up.

I just wanted to say thanks to Lee for the awesomeness and all you other Linuxers for sharing your stuff. I’ve got it installed and running and will now disappear to watch the tutorial video.

If I ever ask stupid questions, please don’t eat me, just point me to the fm. :wink:

Selecting Tutorial only let you to create a blank project. No further actions.

Anyway, I’m happy with this beta version for Linux. This is already more than we, Linux people, ever expected :slight_smile:

Naw, we’re pretty friendly here. For the record, I absolutely hate it when old-school linux/unix types just say “read the man page.” When I was learning linux all those years ago, man pages were about as comprehensible as trying to read Sanskrit while drunk. With more “user-friendly” distros like ubuntu, I think a lot of those attitudes are changing.

Thanks, much appreciated. (I’ve meanwhile digested a number of introduction videos and installed the windows version on the laptop, so I can do the built in tutorial. Sleek, even with a few missing buttons.)

losing formating?

The 9pt default font is too small for me on my 13" laptop. Changing the font under the Editor tab in the Options menu works fine and applies to any new pages. However, closing and reopening the document the font is changed back to 9pt and the tab spaces are gone. New pages are set to my font changes.

I don’t think that’s our bug specifically…there’s been a few formatting bugs reported over in Bug Hunt.

Had to register and let you know that your instructions worked perfectly for Compiz on KDE 4, Fedora 13. The information and instructions that others have posted here have been very helpful and seem to be always spot on.

I have had the same issue that others have reported with the Inspector panel being a minimum height that forces the window height to be larger than the screen height. All works well as long as the Inspector isn’t visible, but not the best with it showing. I’ve had none of the cursor issues that others have reported.

(Linux user thread - #12 by garpu - Scrivener on Linux (Unofficial) - Literature & Latte Forums)]alias that garpu postedThe works well in bash also; I pasted it into my .bashrc file so it will automatically be available.

For addition to your list of systems tested with so far, I’m running KDE 4 on Fedora 13 (as noted above), x86 64 bit kernel 2.6.34.7

Thanks for making this beta available, and thanks to everybody for the support that they’ve been giving it.

Chris Beckenbach

Hi, Chris. Welcome to the Scrivener on Linux gang. :smiley: Always glad to have another courageous Linux user joining in the beta-testing fun.

Thanks for letting me know those instructions also work on KDE. I hope those Compiz settings help other Linux users. I was getting real eyestrain from looking at the white screens too long. I know Lee is working on adding features to the text editor at a frantic pace, but in the meantime, it’s good to have a workaround–especially since I am currently behind on my NaNoWriMo wordcount.

Speaking of which, I’d better get back to the writing now… :wink:

i looked up the various libraries LAP mentioned earlier according to what Ubuntu packages they derive from; pretty simple stuff:

i386:
libc6, libstdc++6, libgcc1, libxrender1, libfontconfig1, libfreetype6, libxext6, libx11-6, libglib2.0-0, zlib1g, libsm6, libice6, libexpat1, libxcb1, libpcre3, libuuid1, libxau6, libxdmpc6

amd64:
ia32-libs, libc6-i386, lib32z1

this must explain why no one is having ‘additional library’ issues.

for the astute, notice that the libraries LAP showed point to directories from a Xen installation… so don’t expect your ldd output to be 100% like his…

subsequently, if i use dpkg-shlibdeps to find Scrivener’s library dependencies on i386 i get:

Depends=libc6 (>= 2.3.6-6~), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libphonon4 (>= 4:4.3.0), libqt4-network (>= 4:4.5.3), libqt4-sql (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.7.0~beta1), libqtwebkit4 (>= 2.0.0), libstdc++6 (>= 4.1.1), phonon

and a bunch of errors about missing symbols in the Qt packages, this would explain why installing Qt 4.7 still causes loading issues. Thus, I will adjust the ubuntu package I created to use the non-Qt packages only, leaving the Dependencies at:

Depends=libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)

This means that Scrivener should be compatible all the way back to Ubuntu Hardy 8.04.

Here we go,

RPM format, i386: scrivener-beta-1.0beta-4.i386.rpm
Deb/Ubuntu, i386: scrivener-beta_1.0beta-3_i386.deb
Deb/Ubuntu, all Architectures (no dependencies): scrivener-beta_1.0beta-2_all.deb

For those on AMD64, the only addl. dependencies are: ia32-libs, libc6-i386, lib32gcc1, lib32stdc++6, and lib32z1. These should already be on your system… thus far I haven’t figured out how to mangle my control file to represent this so it can build for i386/amd64, regardless, you can force install in amd64 and it should be fine.