I want evince to start horixontally centered, and at 10% down vertically, with a size of a full A4 page (not much more).

Asked by ralph.ronnquist

Currently the evince program, whether selected from the app menu or as "show pdf" in thunderbird (and others), starts in a small window down to the right of my screen in a smallish window.

I want it to start "in the middle" of the screen, in 100% view, with a window width of a full a4 page (not full screen), and height about 80% of the screen. Something like centered horiontally, and about 15% from the top of the screen, down to 5% from bottom of the screen.

How do I get that to happen with Ubuntu 12.04.5 ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu evince Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

You can do that sort of thing with devilspie

Revision history for this message
ralph.ronnquist (ralph-ronnquist-gmail) said :
#2

I've tried this, but without success. Maybe I don't get its rule right? Or maybe it's because I'm using xfce, and thus have xfwm4 as window manager?

Ideally I was hoping for some configuration settings of evince itself, but if devilspie could do it I could live with that.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can install maximus and make evince be opened with maximus to make it maximize but not full screen.

Also worth a look.

Revision history for this message
ralph.ronnquist (ralph-ronnquist-gmail) said :
#4

Got devlispie to work; mostly it just needed to be restarted after changing rules.
Thus, in short:
install "gdevilspie",
then use it to add a rule for window class "Evince" with good geometry.

Thanks.

Revision history for this message
ralph.ronnquist (ralph-ronnquist-gmail) said :
#5

Thanks actionparsnip, that solved my question.