Default Windows position

Gaël Bonithon trash.paradise at protonmail.com
Sun Nov 15 13:54:15 CET 2020


For Leafpad I don't know, but for Mousepad you can set this with `gsettings` under
* `org.xfce.mousepad.state.window` for the geometry (see `gsettings list-recursively org.xfce.mousepad.state.window`);
* `org.xfce.mousepad.preferences.view` (key `font-name`) for the default font.

Then, you can override `mousepad` command with a little script in your `~/bin` that forces these settings before launching Mousepad, or simply disable "Remember window position/state" in Mousepad preferences dialog (and uncheck "Use system monospace font").

Cheers,
Gaël

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, November 14, 2020 6:51 PM, ToddAndMargo <ToddAndMargo at zoho.com> wrote:

> Hi All,
>
> Fedora 33
> Xfce 4.14
>
> Since --geometry has been discontinued so many places,
> I have been temporarily altering leafpad's rc file
> to set a custom window size and font (read in,
> write out custom settings, start leafpad, restore
> original settings).
>
> Problem: I have yet to figure out where Leafpad (or
> others) get their default position from.
>
> $ cat ./.config/leafpad/leafpadrc
> 0.8.18.1
> 885 <-- X
> 545 <-- Y
> Monospace 12 <-- Font size
> 0
> 0
> 0
>
> Any idea where I find that?
>
> Many thanks,
> -T
>
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>     Computers are like air conditioners.
>     They malfunction when you open windows
>
>
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org




More information about the Xfce mailing list