Skip to content

v2.1.0 — taskbar transparency & flattening, desktop menu settings

Choose a tag to compare

@Enumber Enumber released this 21 Jul 08:52

Taskbar controls filled out, and the desktop right-click menu is now wired into the app.

任务栏补齐了控制项,桌面右键菜单也接进了设置界面。

Taskbar / 任务栏

  • Transparency — pick how the dock decides its background (follow theme / fixed / dynamic) and set the opacity when it is fixed.
    A gotcha worth knowing: the opacity value is only read when the mode is Fixed. Left on the default mode, dragging an opacity slider writes the value correctly and changes nothing on screen — so dragging it here switches the mode for you (and that switch is recorded too, so Restore Defaults undoes both).
    透明度 —— 选择背景模式(跟随主题 / 固定 / 动态)并在固定模式下调不透明度。有个坑:不透明度只有在固定模式下才会被读取,停在默认模式上怎么拖都没有视觉变化,所以拖滑块时会自动帮你切到固定模式(这次切换也进备份,能一起还原)。
  • Size — the existing icon-size control now states the allowed 16–64 range and that it is an upper bound, not a fixed size.
    大小 —— 图标大小项补上了 16–64 的允许范围说明,并说清它是上限而不是固定值。
  • Flattening — three separate switches, because they are three different things: extend to the full screen edge, square off the rounded corners, and shrink the padding.
    展平 —— 拆成三个开关,因为它们本来就是三件事:顶满整条屏幕边、去掉圆角、收紧内边距。

Desktop right-click menu / 桌面右键菜单

The menu items that are genuinely backed by settings — arrangement order, keep arranged, keep stacked, sort special folders, starting corner, and the show/hide group for home, trash, volumes, network, link emblems and drop position — are now in the app. The desktop's own menu binds to these same settings, so the two stay in sync instead of fighting each other.

菜单里真正有设置项支撑的部分——排列顺序、保持排列、保持堆叠、特殊文件夹排序、起始角落,以及主目录/回收站/磁盘/网络/链接角标/放置位置的显示开关——都进了界面。桌面自带的右键菜单绑的就是同一批设置,所以两边实时同步,不会各写各的。

What is deliberately absent: "New Folder", "New Document", "Open in Terminal" and "Show Desktop in Files" are added to the menu unconditionally by the desktop-icons extension — there is no setting anywhere to show or hide them. Rather than offer switches that quietly do nothing, the app and the READMEs say so outright.

故意没做的:「新建文件夹」「新建文档」「在终端中打开」「在文件管理器中显示桌面」是桌面图标扩展无条件加进菜单的,代码里没有任何开关能控制它们。与其摆几个按了没反应的开关,不如在界面和文档里直说。

Unchanged / 不变

Everything still goes through gsettings — no system file is modified, nothing needs root, and no extension is ever installed automatically. Restore Defaults still puts back your values, recorded the first time each setting is touched; all the new settings are covered by it too.

依旧全部通过 gsettings 完成——不改系统文件、不需要 root、不自动安装任何扩展。「恢复默认」恢复的仍是你自己原来的值(每项第一次被改动时记下),新加的项也一样纳入。

Install / 安装

git clone https://github.com/Enumber/deskctl.git
cd deskctl
bash install.sh

Already on v2.0? Just git pull.

Tested on / 实测环境

Ubuntu 24.04 / GNOME 46 / Xorg, with Desktop Icons NG (DING) and Ubuntu Dock. Other extension combinations are detected through the same mechanism but have not been tested on real hardware.

Full documentation: README · 中文说明