[Share Experiences] 觉得启动器背景太丑?试试这个
Tofloor
poster avatar
deepin-superuser
deepin
2022-05-25 17:13
Author

dde-launcher.zip

使用方法

#下载文件
wget -t 3 -T 15 https://storage.deepin.org/thread/20220525091216114_dde-launcher.zip

#解压
7z x 20220525091216114_dde-launcher.zip

#替换系统文件
pkill dde-launcher && sudo cp ./dde-launcher /usr/bin/dde-launcher

修改前

截图_dde-launcher_20220525085038.png

修改后

截图_dde-launcher_20220525090250.png

当然,显示效果因壁纸而异,按各人喜好选择吧

Reply Favorite View the author
All Replies
1 / 2
To page
andktan
deepin
2022-05-25 17:19
#1

kissing_heart

Reply View the author
liwl
deepin
2022-05-25 17:27
#2

applaud

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-05-25 17:39
#3

都不丑~

Reply View the author
deepin-superuser
deepin
2022-05-25 17:42
#4
babyfengfjx

都不丑~

这个要看壁纸 有的壁纸原来的效果好看 有的壁纸现在的好看

我觉得我这张壁纸现在的效果好

Reply View the author
神末shenmo
deepin
Spark-App
2022-05-25 18:10
#5
deepin-superuser

这个要看壁纸 有的壁纸原来的效果好看 有的壁纸现在的好看

我觉得我这张壁纸现在的效果好

你 是 我 的 神 !!!!!

开一个额外的仓库吧

Reply View the author
deepin-superuser
deepin
2022-05-25 18:15
#6
神末shenmo

你 是 我 的 神 !!!!!

开一个额外的仓库吧

不会😂 ,不过你可以搞。代码给你

dde-launcher-5.5.19.1/src/boxframe/backgroundmanager.cpp

void BackgroundManager::getImageDataFromDbus(const QString &filePath)
{
    // 异步获取模糊以及pixmix算法处理后的桌面背景(分类模式的视图背景)
    QFutureWatcher *imageEffectWatcher = new QFutureWatcher(this);
    connect(imageEffectWatcher, &QFutureWatcher::finished, this, [this, imageEffectWatcher]{
        imageEffectWatcher->deleteLater();
        m_blurBackground = imageEffectWatcher->result();
        if (!m_blurBackground.isEmpty())
            emit currentWorkspaceBlurBackgroundChanged(m_blurBackground);
+           emit currentWorkspaceBackgroundChanged(m_blurBackground);
    });
    QFuture imageblurFuture = QtConcurrent::run([this, filePath]() ->QString {
        if (m_imageblur.isNull())
            return filePath;

        QDBusPendingReply blurReply = m_imageblur->Get(filePath);
        blurReply.waitForFinished();
+        return blurReply.value();
-        if (m_imageEffectInter.isNull())
-            return filePath;
-
-        // 处理完会触发BlurDone信号,总之 imageblurFuture 必须得有返回值,否则会导致imageEffectWatcher->result()获取不到值导致异常
-        QDBusPendingReply effectInterReply = m_imageEffectInter->Get("", blurReply.value());
-        effectInterReply.waitForFinished();
-        if (effectInterReply.isError())
-            return filePath;
-
-        return effectInterReply.value();*/
    });
    imageEffectWatcher->setFuture(imageblurFuture);

-    // 异步获取全屏桌面背景
-    QFutureWatcher *effectInterWatcher = new QFutureWatcher (this);
-    connect(effectInterWatcher, &QFutureWatcher::finished, this, [this, effectInterWatcher](){
-        effectInterWatcher->deleteLater();
-        m_background = effectInterWatcher->result();
-        if (!m_background.isEmpty())
-            emit currentWorkspaceBackgroundChanged(m_background);
-    });
-    QFuture effectInterFuture = QtConcurrent::run([this, filePath]() ->QString {
-        if (!m_imageEffectInter)
-            return filePath;
-
-        QDBusPendingReply effectInterReply = m_imageEffectInter->Get("", filePath);
-        effectInterReply.waitForFinished();
-        if (effectInterReply.isError()) {
-            qWarning() << "ImageEffeblur Get error:" << effectInterReply.error();
-            return filePath;
-        }
-        return effectInterReply.value();
-    });
-    effectInterWatcher->setFuture(effectInterFuture);
}
Reply View the author
神末shenmo
deepin
Spark-App
2022-05-25 19:13
#7
deepin-superuser

不会😂 ,不过你可以搞。代码给你

dde-launcher-5.5.19.1/src/boxframe/backgroundmanager.cpp

void BackgroundManager::getImageDataFromDbus(const QString &filePath)
{
    // 异步获取模糊以及pixmix算法处理后的桌面背景(分类模式的视图背景)
    QFutureWatcher *imageEffectWatcher = new QFutureWatcher(this);
    connect(imageEffectWatcher, &QFutureWatcher::finished, this, [this, imageEffectWatcher]{
        imageEffectWatcher->deleteLater();
        m_blurBackground = imageEffectWatcher->result();
        if (!m_blurBackground.isEmpty())
            emit currentWorkspaceBlurBackgroundChanged(m_blurBackground);
+           emit currentWorkspaceBackgroundChanged(m_blurBackground);
    });
    QFuture imageblurFuture = QtConcurrent::run([this, filePath]() ->QString {
        if (m_imageblur.isNull())
            return filePath;

        QDBusPendingReply blurReply = m_imageblur->Get(filePath);
        blurReply.waitForFinished();
+        return blurReply.value();
-        if (m_imageEffectInter.isNull())
-            return filePath;
-
-        // 处理完会触发BlurDone信号,总之 imageblurFuture 必须得有返回值,否则会导致imageEffectWatcher->result()获取不到值导致异常
-        QDBusPendingReply effectInterReply = m_imageEffectInter->Get("", blurReply.value());
-        effectInterReply.waitForFinished();
-        if (effectInterReply.isError())
-            return filePath;
-
-        return effectInterReply.value();*/
    });
    imageEffectWatcher->setFuture(imageblurFuture);

-    // 异步获取全屏桌面背景
-    QFutureWatcher *effectInterWatcher = new QFutureWatcher (this);
-    connect(effectInterWatcher, &QFutureWatcher::finished, this, [this, effectInterWatcher](){
-        effectInterWatcher->deleteLater();
-        m_background = effectInterWatcher->result();
-        if (!m_background.isEmpty())
-            emit currentWorkspaceBackgroundChanged(m_background);
-    });
-    QFuture effectInterFuture = QtConcurrent::run([this, filePath]() ->QString {
-        if (!m_imageEffectInter)
-            return filePath;
-
-        QDBusPendingReply effectInterReply = m_imageEffectInter->Get("", filePath);
-        effectInterReply.waitForFinished();
-        if (effectInterReply.isError()) {
-            qWarning() << "ImageEffeblur Get error:" << effectInterReply.error();
-            return filePath;
-        }
-        return effectInterReply.value();
-    });
-    effectInterWatcher->setFuture(effectInterFuture);
}

我不会Qt啊......

你源码包给我,我给你开个仓库可以(

之前那个dde-desktop也来一份可以

Reply View the author
神末shenmo
deepin
Spark-App
2022-05-25 19:14
#8
Reply View the author
deepin-superuser
deepin
2022-05-25 19:46
#9
神末shenmo

我不会Qt啊......

你源码包给我,我给你开个仓库可以(

之前那个dde-desktop也来一份可以

https://github.com/kt286/better-dde.git

dde-desktop 代码在 dde-file-manager 里

Reply View the author
pipigo
deepin
2022-05-25 21:01
#10

挺好挺好,这个效果大好的壁纸更好看,不好看的壁纸模糊弱化了丑。

Reply View the author
神末shenmo
deepin
Spark-App
2022-05-25 21:36
#11

Make DDE Better~

Reply View the author
Wootifer
deepin beta test group
2022-05-26 04:40
#12

applaud

Reply View the author
Wootifer
deepin beta test group
2022-05-26 04:48
#13

我擦忘了备份,使用某些壁纸会有bug

Reply View the author
deepin-superuser
deepin
2022-05-26 05:43
#14
Wootifer

我擦忘了备份,使用某些壁纸会有bug

sudo apt reinstall dde-launcher

另外你可以发一下你的壁纸,我看一下

Reply View the author
Wootifer
deepin beta test group
2022-05-26 06:11
#15
deepin-superuser

sudo apt reinstall dde-launcher

另外你可以发一下你的壁纸,我看一下

好的。

cosplay美女 电脑桌 键盘 机房 可爱 小姐姐4k壁纸3840x2160_彼岸图网.jpg

Reply View the author
Wootifer
deepin beta test group
2022-05-26 06:19
#16
deepin-superuser

sudo apt reinstall dde-launcher

另外你可以发一下你的壁纸,我看一下

我发现从彼岸网下载的几张壁纸都会有问题,并且使用系统默认的dde-launcher壁纸渲染也有点问题

这个是使用系统的dde-launcher:

截图_dde-launcher_20211023174614.png

这个是使用你的dde-launcher,背景是这样的:

image.png

Reply View the author
Wootifer
deepin beta test group
2022-05-26 06:27
#17

似乎只要使用非系统自带的壁纸,直接鼠标右击图片“设置壁纸”都会有问题。

Reply View the author
deepin-superuser
deepin
2022-05-26 16:06
#18
Wootifer

似乎只要使用非系统自带的壁纸,直接鼠标右击图片“设置壁纸”都会有问题。

嗯,确实有这个问题,不过我发现如果你选择设为壁纸后,再去设置壁纸里切换一下就可以了

Reply View the author
Wootifer
deepin beta test group
2022-05-26 20:49
#19
deepin-superuser

嗯,确实有这个问题,不过我发现如果你选择设为壁纸后,再去设置壁纸里切换一下就可以了

我这里去壁纸设置那去切换也不行,启动器还是显示黑色背景

Reply View the author
deepin-superuser
deepin
2022-05-26 21:01
#20
Wootifer

我这里去壁纸设置那去切换也不行,启动器还是显示黑色背景

wget -q -O - https://better-dde.github.io/ppa/better-dde.gpg | sudo apt-key add -
sudo sh -c 'echo "deb https://better-dde.github.io/ppa/ ./" > /etc/apt/sources.list.d/better-dde.list'
sudo apt update && sudo apt dist-upgrade
Reply View the author
1 / 2
To page