0

I am trying to open a pdf using Zathura by terminal, but it opens at the size that Gnome 3 considers.

My goal is to automatically place it divided to the right. To open it the script is something like this:

zathura MyFile.pdf

And it shows this: Image Open Estandar My goal is for it to open as follows: Image Open Spliteed Is this possible using only the terminal?

Thanks!

macorreag
  • 320
  • 3
  • 11

1 Answers1

0

(taken from my answer here)

You have 2 options:

If you only need it to work in an X session, then this is relatively easy to do using xdotool (short summary in this SO answer).

The Wayland protocol does not allow this by default for security reasons. If you want to be able to support both X and Wayland, you'll have to get to the inner working of GNOME Shell by installing an extension (you can find several that are related) or by writing one yourself.

nielsdg
  • 2,318
  • 1
  • 13
  • 22