LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-15-2012, 10:58 AM   #1
zx_
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
Setting Evince to my viewing preference


Hi,

I use Evince 2.32.0 as PDF viewer and have small problem.

My preferred viewing options are:
scroll: "no scroll",
zoom: "best fit"
screen: "two pages"

That is how I configured it and saved settings.

However because of some bug when I open a file, I get totally opposite setting - "scroll pages", "fit width", "one page" on screen - funny yeah

This is not because of Evince remembering document state, because it's also on some files I open for first time. Maybe they have some flag inside telling Evince to display like that, maybe not...

So I want to set Evince always to open files like I prefer, without exception.

Can someone offer such solution?

PS. It was like this with any version I run AFAIK (from 2.26.0 as first one I think)

TIA

Last edited by zx_; 02-16-2012 at 04:55 PM.
 
Old 02-15-2012, 09:55 PM   #2
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
Select "Edit" in the menu at the top. Then select "Save Current Settings as Default". Does that solve your problem?
 
Old 02-16-2012, 12:01 PM   #3
zx_
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Yes I already said that I saved the settings and some files does not respect it.

I found solution nonetheless - regardless this saved state, there is file which on Ubuntu 11.04 is located here:

Code:
/usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml
where this can be set. I don't understand why it's made like this, but it works fine for me, after changing values in this file

Last edited by zx_; 02-16-2012 at 12:23 PM.
 
Old 02-16-2012, 04:54 PM   #4
zx_
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
I removed [Solved] flag as seems that problem is twofold.

I think that changing above XML file (aside saving configuration) impacts Evince display, but just now I opened a file (for the first time) and it did not respect my settings. Again.

Some time ago I was annoyed by a PDF bookmark problem - whenever I clicked some bookmark on some documents, it changed zoom level from my current view. I then grabbed some PDF tool (I think I was using Python with pyDPF) and started to look for clues, when I found that only bookmarks with set flag to "fith" (I think it was named like that, probably meaning fit horizontal width) cause problems. BTW I learned that there are other flags, which Evince doesn't care about, but only respect this. Well, let it respect some clueless PDF creator setting zoom flags in PDF files (something Adobe clearly does not recommend, but allows as feature) but then I think that Evince should provide setting to user to override this obvious flooded decision or more likely bug, as only this flag is followed.

So I think this is the problem - document has flag set to "fith" on opening. I don't know of a better PDF viewer and tried all of them. I like SumatraPDF (based on mupdf) when using Windows, but unfortunately developers does not know Linux, and I don't like to use wine to view PDF files.

If someone has idea how to solve this, without writing bug reports, please post

Cheers

Last edited by zx_; 02-16-2012 at 04:57 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install rehdat from NFS using kickstart -- without IP hard-coding gxgtudor Red Hat 2 02-28-2009 03:40 AM
viewing command coding. dr_zayus69 Linux - Software 4 12-16-2004 11:17 PM
Wine and viewing hard drives Bill Hicks Linux - Newbie 1 09-30-2003 12:57 PM
ATA Hard Drive Preference no1zhome General 16 04-17-2002 02:40 PM
Ethernet adapter hard coding rchessher Linux - Networking 0 10-12-2001 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration