내 노트북 디스플레이 가 HiDPI , (282.42 PPI 여분의 높은 밀도를 계산에 따라 ) 크기이며, 15.6 해상도 인치 3840 X 2160 의 크기를 조절 세트 더블 (200 %) 내에서 DPI 64 (계피 - 리눅스 민트 19.2 "티나" 비트) 일반 설정 :
DPI 설정을 250 %로 변경하고 싶습니다. 그러나 환경 설정 메뉴에서 GUI 스케일링 설정을 찾을 수 없습니다.
It has been installed via snap
, as of this moment it's in version:
$ snap list vlc
Name Version Rev Tracking Publisher Notes
vlc 3.0.7 1049 stable videolan✓ -
In the QT documentation, I have found these QT settings can be set either dynamically per application, or when export
ed, then I think would have a global effect on every QT application:
QT_AUTO_SCREEN_SCALE_FACTOR
QT_SCALE_FACTOR
QT_SCREEN_SCALE_FACTORS
Quoting the documentation:
QT_AUTO_SCREEN_SCALE_FACTOR
[boolean
] enables automatic scaling, based on the monitor's pixel density. This won't change the size of point-sized fonts, since point is a physical measurement unit. Multiple screens may get different scale factors.
QT_SCALE_FACTOR
[numeric
] defines a global scale factor for the whole application, including point-sized fonts.
QT_SCREEN_SCALE_FACTORS
[list
]는 각 화면의 배율을 지정합니다. 포인트 크기 글꼴의 크기는 변경되지 않습니다. 환경 변수는 주로 디버깅하거나 잘못된EDID
정보 (확장 디스플레이 식별 데이터)가있는 모니터를 해결하는 데 유용합니다 .
제 경우에는 만족스러운 결과를 얻기 위해 다양한 설정을 시도했습니다.
QT_SCALE_FACTOR=2.5
(디버깅 목적으로) 터미널에서 다음과 같이 일반 사용자로 실행할 수 있습니다.
$ QT_SCALE_FACTOR=2.5 vlc
이 변경 사항을 시스템 전체에 적용하고 싶지 않으므로 내가 한 것은 다음과 같습니다.
오른쪽 클릭-> 바탕 화면에 추가로 내 바탕 화면에 VLC 메뉴 항목을 복사했습니다.
.desktop
파일 Exec
항목을 다음으로 편집했습니다 .
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/vlc_vlc.desktop QT_SCALE_FACTOR=2.5 /snap/bin/vlc %U
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다