Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
如何获取当前屏幕的缩放比例
社区开发
1393
views ·
3
replies ·
To
floor
Go
sd3252
deepin
2018-12-14 19:18
Author
程序需要获得屏幕的缩放比例来调整,请问如何获取,目前只有在deepin1:1的情况才能运行
Reply
Like 0
Favorite
View the author
All Replies
许自强
deepin
2018-12-16 01:03
#1
这个应该可以用dde-api查吧,不过我不会。哈哈
https://bbs.deepin.org/user/25870
Reply
Like 0
View the author
许自强
deepin
2018-12-16 02:44
#2
我发现了
gsettings get com.deepin.xsettings scale-factor
Copy the Code
Reply
Like 0
View the author
sd3252
deepin
2018-12-21 21:30
#3
https://bbs.deepin.org/post/172415
我发现了
谢谢,,,,,,,,,,,,,,,
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More