Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma Workspace
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
64
Merge Requests
64
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Plasma Workspace
Commits
aba3d48c
Commit
aba3d48c
authored
Dec 16, 2017
by
Peter Eszlari
Committed by
David Edmundson
Dec 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set GTK scaling env vars
Reviewed-by: David Edmundson BUG: 387849
parent
63b4d471
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
startkde/startkde.cmake
startkde/startkde.cmake
+3
-0
No files found.
startkde/startkde.cmake
View file @
aba3d48c
...
...
@@ -48,6 +48,7 @@ kcminputrc Mouse cursorTheme 'breeze_cursors'
kcminputrc Mouse cursorSize ''
ksplashrc KSplash Theme Breeze
ksplashrc KSplash Engine KSplashQML
kdeglobals KScreen ScaleFactor ''
kdeglobals KScreen ScreenScaleFactors ''
kcmfonts General forceFontDPI 0
EOF
...
...
@@ -89,6 +90,8 @@ fi
if [
"$kdeglobals_kscreen_screenscalefactors"
]; then
export QT_SCREEN_SCALE_FACTORS=
"$kdeglobals_kscreen_screenscalefactors"
export GDK_SCALE=$kdeglobals_kscreen_scalefactor
export GDK_DPI_SCALE=`echo
"1 / $kdeglobals_kscreen_scalefactor"
| bc -l`
fi
#Manually disable auto scaling because we are scaling above
#otherwise apps that manually opt in for high DPI get auto scaled by the developer AND manually scaled by us
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment