zoukankan      html  css  js  c++  java
  • openSUSE 高清屏设置

    参考 https://wiki.archlinux.org/index.php/HiDPI

    You can use KDE's settings to fine tune font, icon, and widget scaling. This solution affects both Qt and Gtk+ applications.

    To adjust font, widget, and icon scaling together:

    1. System Settings → Display and Monitor → Display Configuration → Scale Display (note: if you set a not integer value it may create issue with the font render in some application )
    2. Drag the slider to the desired size
    3. Restart for the settings to take effect

    To adjust only font scaling:

    1. System Settings → Fonts
    2. Check "Force fonts DPI" and adjust the DPI level to the desired value. This setting should take effect immediately for newly started applications. You will have to logout and login for it to take effect on Plasma desktop.

    To adjust only icon scaling:

    1. System Settings → Icons → Advanced
    2. Choose the desired icon size for each category listed. This should take effect immediately.

    Tray icons with fixed size

    If the tray icons are not scaled with the rest of the desktop, the size can be set in the Plasma configuration. System-wide configuration is located in the file /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/config/main.xml, where the dimension of icons can be controlled by editing the default value for iconSize (a value of 2 should be fine):

    /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/config/main.xml
    <entry name="iconSize" type="Int">
        <label>Default icon size for the systray icons, it's an enum which values mean, 
               Small, SmallMedium, Medium, Large, Huge, Enormous respectively. On low 
               DPI systems they correspond to 16, 22, 32, 48, 64, 128 pixels. On high
               DPI systems those values would be scaled up, depending on the DPI.</label>                    
        <default>2</default>
    </entry>
    

    User configuration is located in the file ~/.config/plasma-org.kde.plasma.desktop-appletsrc. The section containing the settings for the tray bar should look similar to this; if the iconSize field is not present, add it.

    ~/.config/plasma-org.kde.plasma.desktop-appletsrc
    [Containments][47][General]
    extraItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.printmanager,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.notifications,org.kde.plasma.networkmanagement,org.kde.plasma.devicenotifier
    hiddenItems=org.kde.ktp-contactlist,org.kde.plasma.battery
    knownItems=org.kde.plasma.mediacontroller,org.kde.plasma.battery,org.kde.plasma.printmanager,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.notifications,org.kde.plasma.networkmanagement,org.kde.plasma.devicenotifier
    shownItems=org.kde.plasma.notifications,org.kde.plasma.clipboard
    iconSize=2

    Firefox

    Firefox should use the #GDK 3 (GTK+ 3) settings.

    To override those, open Firefox advanced preferences page (about:config) and set parameter layout.css.devPixelsPerPx to 2 (or find the one that suits you better; 2 is a good choice for Retina screens).

    If you use a HiDPI monitor such as Retina display together with another monitor, you can use AutoHiDPI add-on in order to automatically adjust layout.css.devPixelsPerPx setting for the active screen. Also, since Firefox version 49, it auto-scales based on your screen resolution, making it easier to deal with 2 or more screens.

    fcitx

    设置字体

    
    
  • 相关阅读:
    复制、删除、移动文件、获取文件的版本信息、更改文件属性,删除只读文件
    How to use the MQ?
    StreamReader、 StreamWriter
    我的第一个AJAX程序
    XML操作
    SQL 使用XML数据修改语言
    认识 ASP.NET 3.5 MVC 路由解析分析
    北京2008奥运会开幕式&闭幕式下载(NBCBT附字幕)
    认识 ASP.NET 3.5 MVC 路由 理解默认路由表
    每天都有新发现 2009年10月21日 Decimal 和存储过程OUTPUT
  • 原文地址:https://www.cnblogs.com/penguins/p/7760323.html
Copyright © 2011-2022 走看看