[kde] [Bug 353040] New: After upgrading to frameworks 5.14, KDE ignores xrandr DPI setting
Jin Liu
m.liu.jin at gmail.com
Tue Sep 22 14:49:20 BST 2015
https://bugs.kde.org/show_bug.cgi?id=353040
Bug ID: 353040
Summary: After upgrading to frameworks 5.14, KDE ignores xrandr
DPI setting
Product: kde
Version: unspecified
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: m.liu.jin at gmail.com
I run "xrandr --dpi 168" in .xinitrc, before /usr/bin/startkde. In frameworks
<=5.13, this always works. But since I upgraded to 5.14, all KDE applications
and Plasma shell no longer respect this setting, and all UI elements are much
smaller than before.
If I run "xrandr --dpi 168" again after KDE startup, then any newly launched
KDE application would restore to the old behavior -- correctly sized UI. (The
only exception is the "Screen Scaling" dialog in systemsettings, where the UI
example is still small.) But UI in already running applications like Plasma and
kwin decorations would remain small.
Reproducible: Always
Steps to Reproduce:
1. Use a Hi-DPI screen.
2. Run "xrandr --dpi 168" in .xinitrc, before /usr/bin/startkde.
3. Reboot and start KDE.
4. All UI is too small.
5. Run "xrandr --dpi 168" in konsole.
6. Launch Dolphin.
7. UI in Dolphin is larger, where other applications remain small.
Expected Results:
UI size should be normal when KDE starts.
My .xinitrc:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
export DESKTOP_SESSION="plasma"
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
xrandr --dpi 168
xset -b
eval `ssh-agent`
xbindkeys
exec /usr/bin/startkde
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list