zoukankan      html  css  js  c++  java
  • UOS如何修改右下角水印

    水印的配置文件为 /usr/share/deepin/dde-desktop-watermask.json

     

    #cat /usr/share/deepin/dde-desktop-watermask.json
    {
        "isMaskAlwaysOn": true,
        "maskLogoUri" : "/usr/share/deepin/uos_logo1.svg",
        "maskLogoLayoutAlign" : "center",
        "maskLogoWidth": 300,
        "maskLogoHeight": 300,
        "maskText" : "",
        "maskTextLayoutAlign" : "center",
        "maskTextColor" : "#04d5f7",
        "maskTextFontSize": "22px",
        "maskTextAlign": "center",
        "maskTextWidth": 0,
        "maskTextHeight": 0,
        "maskLogoTextSpacing": 0,
        "maskWidth": 300,
        "maskHeight": 300,
        "xRightBottom": 50,
        "yRightBottom": 695
    }
    

    maskLogoUri: 水印的图片路径

    maskLogoLayoutAlign: 水印图片对齐方式

    maskLogoWidth/maskLogoHeight: 水印宽和高

    maskText: 水印文字内容

    maskTextColor:水印文字颜色

    maskTextFontSize: 水印文字字号,

    maskTextAlign: 水印文字对齐方式

    maskTextWidth: 水印文字宽度,

    maskTextHeight: 水印文字高度,

    maskLogoTextSpacing: 图片文字的间隔像素,

    maskWidth: 整个水印的宽度

    maskHeight: 整个水印的高度

    xRightBottom: 距离右下角水平偏移像素

    yRightBottom: 距离右下角垂直偏移像素

    整个水印可以包含logo和文字, uos的水印默认不包含文字所以没写。

    大概如下,可以自行配置后, killall dde-desktop 杀掉桌面等桌面重启后查看效果。

    删除水印可以将 maskLogoUri 和 maskText 设置为空就行。


     

  • 相关阅读:
    golang --写test测试用例
    Golang ---testing包
    golang --Converting and Checking Types
    python ---升级所有安装过的package
    给定数组和某个值,求和等于某值的序号
    https://leetcode-cn.com/
    Java8内存模型—永久代(PermGen)和元空间(Metaspace)
    TJ Holowaychuk是怎样学习编程的?
    Idea代码可视化插件
    python3插入数据
  • 原文地址:https://www.cnblogs.com/drgcaosheng/p/14659931.html
Copyright © 2011-2022 走看看