Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
very simple question: default paper size in qt apps [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2508
Location: Near Toronto

PostPosted: Fri Feb 23, 2018 11:16 pm    Post subject: very simple question: default paper size in qt apps [SOLVED] Reply with quote

I find that apps like okular, kwrite etc have a default printing page
size of A4 (also very bad margin settings)

these can be changed for a particular print job but revert

sorry for this elementary question but where is the setting to
permanently change default page size to letter?

(of course, the cups default is already letter ...)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)


Last edited by albright on Mon Feb 26, 2018 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6491
Location: Saint Amant, Acadiana

PostPosted: Sat Feb 24, 2018 2:11 am    Post subject: Reply with quote

I'm not a KDE user, but perhaps it comes from /etc/papersize?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1010
Location: Massachusetts USA

PostPosted: Sat Feb 24, 2018 6:16 am    Post subject: Reply with quote

Does https://forums.linuxmint.com/viewtopic.php?t=188878 help?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2508
Location: Near Toronto

PostPosted: Sat Feb 24, 2018 2:00 pm    Post subject: Reply with quote

thanks for the help;

despite high hopes the unix-way /etc/papersize is not obeyed by KDE apps

in my okular there is NO advanced tab; changing paper size for a print
job does not stick

there must be somewhere the A4 setting, but I fear - since we have lost
our way - not in a straightforward text file
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6449
Location: Austria

PostPosted: Sat Feb 24, 2018 2:27 pm    Post subject: Reply with quote

See bug: https://bugs.gentoo.org/617460

For 5.9 there is a huge patchset attached.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2508
Location: Near Toronto

PostPosted: Sat Feb 24, 2018 3:32 pm    Post subject: Reply with quote

Quote:
For 5.9 there is a huge patchset attached.


guess I'll wait then :)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6449
Location: Austria

PostPosted: Sun Feb 25, 2018 1:30 pm    Post subject: Reply with quote

You wait until Qt 5.11 arrives in tree? ;)
The patch set is too big to ever be included with an ebuild, but works with epatch_user.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2508
Location: Near Toronto

PostPosted: Sun Feb 25, 2018 2:00 pm    Post subject: Reply with quote

Quote:
works with epatch_user.


never used that; is there a guide somewhere?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6449
Location: Austria

PostPosted: Sun Feb 25, 2018 2:03 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki//etc/portage/patches#Adding_user_patches
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2508
Location: Near Toronto

PostPosted: Mon Feb 26, 2018 12:48 pm    Post subject: Reply with quote

thanks v. much - those patches work fine and the papersize now
defaults to "letter".
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum