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

【功能增强建议】在下个版本中使用Greetd+QtGreet作为默认的显示管理器 #6

Closed
haha1121 opened this issue Sep 11, 2024 · 1 comment

Comments

@haha1121
Copy link

haha1121 commented Sep 11, 2024

据gxde os群的群友反馈,目前gxde os的图标总是出现略缩图渲染错误,gxde os的开发者shenmo回复说这是lightdm导致的问题,目前lightdm运行在gxde os上也总是莫名其妙崩溃(暂时找不到原因)加之lightdm目前并没有很多文档资料,因此本人有了使用greetd+qtgreet样式代替lightdm作为默认的显示管理器的想法。QtGreet使用qt作为主题,同时体积非常轻量,配置灵活多变,不需要安装很多依赖/过多配置就可以运行,所以很适合作为gxde os的默认显示管理器。
图片
下面是Archwiki对Greetd的描述:
greetd is a minimal, agnostic and flexible login manager daemon which does not make assumptions about what the user wants to launch, should it be console-based or graphical. Any script or program which can be started from the console may be launched by greetd, which makes it particularly suitable for Wayland compositors. It can also launch a greeter to start user sessions, like any other display manager.
greetd是一个最小的、多变和灵活的登录管理器守护程序,它不会假设用户想要启动什么,无论是基于控制台还是gui,任何可以通过控制台启动的程序或脚本都可以通过greetd启动,这使得它特别适合wayland合成器(经过我的测试,它也可以启动xorg桌面和窗口管理器)它还可以启动greeter(如上文提到的QtGreet)来启动用户会话,就像其他任何显示管理器一样。
而以下是QtGreet的仓库和README.md中对其的描述:
https://gitlab.com/marcusbritanicus/QtGreet
Qt based greeter for greetd, to be run under wayfire or similar wlr-based compositors.
话虽这么讲,这个简单的greeter也可以启动X11会话和桌面,仅需将启动使用的command设置为需要的桌面或留空(使用自动检测)即可,以下是README.md中对使用QtGreet启动x11会话的注意事项:
Note on launching X11 Sessions
While QtGreet launches sessions listed in /usr/share/xsessions, users may want to use startx to start a custom session defined in
~/.xinitrc. QtGreet has support for this kind of a setup by default. If the executable startx exists in your $PATH you'll find an entry
"Default X11 Session" in the list of sessions, which will simply execute startx, and start your session. Note that it is not possible for
QtGreet to check if this file is valid or not, and that responsibility solely rests with the user. RaZ0rr
Ray has drawn up some detailed
instructions to setup your session this way.
QtGreet拥有四个自带的主题可用,以下是仓库中的截图展示:
图片
图片
图片
不知道可否考虑一下

@gfdgd-xi
Copy link
Collaborator

暂不考虑

@gfdgd-xi gfdgd-xi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants