! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
List of / Documentation for mousepadrc
Status:
RESOLVED: MOVED
Product:
Mousepad
Component:
Documentation

Comments

Description hyper-nova 2018-02-20 17:39:57 CET
I have some stuff in my mousepadrc since I created the file to set the font sizes for printing. I can't figure out how to set the default paper to A4. It would be useful to have a wiki with a list of all the possible configuration options somewhere online to refer to. Wasn't sure how to raise this as an issue so I've added it as a bug here although it probably isn't quite the right place.
Comment 1 Matthew Brush editbugs 2018-02-21 01:12:41 CET
What version of Mousepad are you using?

I don't have a printer here, but Mousepad just uses standard Gtk+ printing so it may be that there is some non-app-specific info out on the web about configuring that (or maybe it's left entirely to the application?).
Comment 2 Matthew Brush editbugs 2018-02-21 01:21:32 CET
Apparently you can set the `LC_PAPER` environment variable to the locale with your desired paper default, for example if I run:

$ LC_PAPER="en_GB.UTF-8" mousepad

Then the print dialog defaults to A4 instead of my native locale's Letter default. Presumably you can set this variable in `~/.profile` for your user or `/etc/environment` for all users.
Comment 3 Theo Linkspfeifer editbugs 2020-05-22 13:10:09 CEST
Adding the following lines to mousepadrc seems to work:

[Print Settings]
page-setup-saved=true
paper-format=iso_a4

https://developer.gnome.org/gtk3/stable/GtkPaperSize.html#GtkPaperSize-struct
Comment 4 Git Bot editbugs 2020-05-24 01:30:26 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/mousepad/-/issues/23.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14235

Reported by:
hyper-nova
Reported on: 2018-02-20
Last modified on: 2020-05-24

People

Assignee:
Matthew Brush
CC List:
2 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information