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

Is there a way to set a window size when starting the calculator? (Linux) #374

Open
eggbean opened this issue Mar 22, 2021 · 2 comments
Open

Comments

@eggbean
Copy link

eggbean commented Mar 22, 2021

This calculator is great and I use it a lot, often using the touchscreen on my laptop which I don't use for anything else.

However, the default window size is too big, as I am usually using it at the same time as using something else and I nearly always have to resize the window before using it. Is there any way it can be set?

I have tried copying the .desktop file from /var/lib/snapd/desktop/applications to ~/.local/share/applications and adding --geometry=328x504 to the end of the Exec line like this:

Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/uno-calculator_uno-calculator.desktop /snap/bin/uno-calculator --geometry=328x504

Is there possibly an envar or some other method I could use?

@jeromelaban
Copy link
Member

jeromelaban commented Mar 22, 2021

Thanks for the report!

This is an interesting issue. Uno does not explicitly follows the window size, but definitely should be.

What do other applications do in your window manager do? Do they keep the size you've already set when closing them ?

@mxvin
Copy link

mxvin commented Jul 12, 2022

Kwin (KDE WM) cannot control window properly (size, location) on boot, I try every parameter including enabling 'Ignore requested geometry' but nothing works. Maybe the problem coming from uno?

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

3 participants