Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

尝试去kde化 #15

Open
clsty opened this issue Oct 25, 2023 · 1 comment
Open

尝试去kde化 #15

clsty opened this issue Oct 25, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@clsty
Copy link
Owner

clsty commented Oct 25, 2023

注意,这只是尝试,因为最后得到的结果未必令人满意(在此情况下当然就不会做什么改变)。

众所周知,dolphin 和 konsole、partitionmanager 等会带一堆k字头的(显然大多属于kde)的依赖项,从而可能产生较大的空间占用。于是,一个简单的想法就是去kde化,并且可能的话也进行去qt化,以此来推对镜像体积的精简。

但是,这个想法的问题在于:

  • 本项目依赖 Qt 的软件并不少,而且有些并没有替代品,比如 efibooteditor。
  • 上述三个k家软件,确实是久经考验、适合大众的优秀之作。如果要换掉,要么在功能性上无法达到要求,要么体积还会更大。
  • 还有一些软件包,明明不是 kde 系的,也依赖于 kde 系软件,比如 xfce 的设置面板(这个依赖链里甚至有 kwayland)。

各软件的具体讨论如下:

Dolphin

功能:具有 MTP 支持的图形界面文件管理器。

可以考虑使用 Thunar + gvfs-mtp 。

EDIT: Dolphin 已被替换为 Thunar。

Konsole

功能:具有多标签页功能的终端管理器。
此外还必须支持在开机启动时运行特定命令(以便展示 /etc/motd-zh_CN ),见 https://github.com/clsty/arCNiso/blob/main/homebase/skel/.config/autostart/originalterminal.desktop
另外,考虑到美观性,最好支持半透明背景。

候选:wezterm 或 tilix,但是在体积上可能甚至更大。

EDIT: Konsole 已被替换为 Tilix。

Partition Manager

功能:集分区、格式化、磁盘测试等与一体的磁盘管理器。
候选替代:Gparted(?)

@clsty
Copy link
Owner Author

clsty commented Nov 9, 2023

试验:用tilix替换konsole,对比两次的arCNiso体积。

  • konsole:1673MB
  • tilix:1688MB

结论:只加了15MB,考虑到只有当未来全面去 kde 化时体积才能锐减(换句话说,换成 tilix 算是一个铺垫,不会当即生效),这还可以接受。
(而且 tilix 还挺帅的;其自带 Quake 形态,类似于 kde 家的 yakuake)
此外,其实tilix支持--maximize,因此还省一个wmctrl。

@clsty clsty changed the title 尝试去掉dolphin和konsole 尝试去kde化 Nov 9, 2023
@clsty clsty added the help wanted Extra attention is needed label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant