Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install qpdfviewer instead of Document Viewer as default to put pdfs in half of the screen with: start+arrow #41

Open
1 task
a-t-0 opened this issue Jan 2, 2022 · 2 comments

Comments

@a-t-0
Copy link
Contributor

a-t-0 commented Jan 2, 2022

https://forums.linuxmint.com/viewtopic.php?t=160764
Document Viewer does not allow one to make the pdf viewing window/application screen smaller than some value. This prevents me from shifting the pdf viewer into a half of the screen with: start+right arrow.

sudo apt install qpdfview

does allow this.

Reminder, zooming in and out there is Ctrl+up and Ctrl+down, instead of Ctrl+plus and Ctrl+minus.
Refresh: Ctrl+R.

  • Also include setting infinite zoom. Related for other program
gsettings set org.gnome.Evince page-cache-size 2014

Source: askubuntu

@mohitsaxenaknoldus
Copy link

Which file install this?

@a-t-0
Copy link
Contributor Author

a-t-0 commented Jan 8, 2022

There is no file for this yet, it (currently still) requires a few steps for a new installation choice to be added to the main.sh.

I forgot all the steps by heart. The structure of the repo is described here: https://github.com/HiveMinds/Productivity-setup#installation
I think the following files should be modified:

https://github.com/HiveMinds/Productivity-setup/blob/main/main.sh should be modified to include the new pdf viewer 
supported_software.txt
install_user_choice.sh

And then one should create a new installation management script, e.g.:

apt_qpdfview.sh

Which in turn calls different scripts with different functions that are performed. (I used to stick to 1 function per file), e.g. apt_signal.sh manages, then apt_3_1_install_signal.sh to apt_3_4_install_signal.sh install the actual software.

In the future, I would like to restructure, and automatically create the templates to add a new software installation choice. However, I think that restructuring is best done from a "cleaned house" (=e.g.g Google Style Guide compliance). So that has my priority right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants