Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 25 lines 730 B view raw
1diff --git a/bin/dde-system-daemon/wallpaper.go b/bin/dde-system-daemon/wallpaper.go 2index 6ee26e27..67dc77dc 100644 3--- a/bin/dde-system-daemon/wallpaper.go 4+++ b/bin/dde-system-daemon/wallpaper.go 5@@ -24,7 +24,7 @@ import ( 6 7 const maxCount = 5 8 const maxSize = 32 * 1024 * 1024 9-const wallPaperDir = "/usr/share/wallpapers/custom-wallpapers/" 10+const wallPaperDir = "/var/lib/dde-daemon/wallpapers/custom-wallpapers/" 11 12 func GetUserDir(username string) (string, error) { 13 dir := filepath.Join(wallPaperDir, username) 14@@ -136,7 +136,7 @@ func (d *Daemon) SaveCustomWallPaper(sender dbus.Sender, username string, file s 15 "-u", 16 username, 17 "--", 18- "head", 19+ "@coreutils@/bin/head", 20 "-c", 21 "0", 22 file, 23-- 242.40.1 25