Hello,

You can set a rule with the window manager. In case it is TWin (the standard Trinity window manager) first resize the window to the preferred size (optionally), then right-click on the titlebar of the KPDF window (or somehow else open the window menu), find an item which says something like "Special application settings", then enable the checkbox that defines the window size (the current window size is automatically filled in) and select either " Remember" or "Force" from the drop-down menu. TWin rules don't get overwritten by updates. Good luck! :-)

--
Philippe

Στις 15 Απριλίου 2022 2:47:31 μ.μ. EEST, ο/η phiebie@drei.at έγραψε:
Hi,

Whenever I call kpdf to view a pdf-document, it starts as a "small"
ribbon of approximately 240x1100 pixels on the top of the desktop. Of
course this window can be elongated via mouse actions. Tedious.
I altered the kpdf.desktop-file to execute "/opt/trinity/bin/kpdf
--geometry 950x1170 --caption "%c"" and now the window is expanded to
my liking.
But when Slavek releases an alteration to the kpdf package - quite often
the case - my .desktop gets overwritten and I get again the ribbon. And
must again correct the .desktop-file. Pita.
Is there a method to keep this file in "my" state and not overwrite it
blindely? The "i" flag is not a viable solution.

Rgds. Peter.
tde-users mailing list -- users@trinitydesktop.org
To unsubscribe send an email to users-leave@trinitydesktop.org
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydesktop.org