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

[Suggestion] Option to set custom value for scaling #327

Open
onlyreportingissues opened this issue May 14, 2024 · 4 comments
Open

[Suggestion] Option to set custom value for scaling #327

onlyreportingissues opened this issue May 14, 2024 · 4 comments

Comments

@onlyreportingissues
Copy link

I changed my monitor and everything looks too small with 100%, but 125% looks already too big.
With a custom value I could choose something between those two though.

@leucome
Copy link

leucome commented May 27, 2024

Yes, and also maybe an way to set scale for each app.
Is there an environment variable to set scale already? I tried to find this information but I kinda failed to find anything.

@bbb651
Copy link

bbb651 commented May 31, 2024

There are some toolkit/app specific environment variables/flags/settings to override scale, but there's no general way to override it per app because the default way they get the scale value is directly from the compositor with the fractional scale protocol. Also worth noting that the protocol communicates scale as x/120 where x is an unsigned integer, so it is possible to have this range of scales between 100% and 125% if it was exposed in the settings

100.00%
100.83%
101.67%
102.50%
103.33%
104.17%
105.00%
105.83%
106.67%
107.50%
108.33%
109.17%
110.00%
110.83%
111.67%
112.50%
113.33%
114.17%
115.00%
115.83%
116.67%
117.50%
118.33%
119.17%
120.00%
120.83%
121.67%
122.50%
123.33%
124.17%
125.00%

@mmstick
Copy link
Member

mmstick commented May 31, 2024

There is COSMIC_SCALE

@bbb651
Copy link

bbb651 commented May 31, 2024

I assume that’s either for cosmic apps or the cosmic compositor, there’s no way for the compositor to pick up an environment variable given to an application to have per app scale in a generic way

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

4 participants