ukui-greeter/0000775000175000017500000000000015167663411012122 5ustar fengfengukui-greeter/README.md0000664000175000017500000000145015167663411013401 0ustar fengfeng# ukui-greeter ![Check build](https://github.com/ukui/ukui-greeter/workflows/Check%20build/badge.svg?branch=master) ukui-greeter是UKUI桌面环境的基于Lightdm的登录程序 ### 依赖 ------ ### 编译依赖 - pkg-config - qtbase5-dev - libqt5x11extras5-dev - libqt5svg5-dev - liblightdm-qt5-3-dev - libx11-dev - libxtst-dev - libxrandr-dev - libglib2.0-dev - libopencv-dev - qttools5-dev-tools - libxi-dev - libimlib2-dev - libgsettings-qt-dev ### 运行依赖 - lightdm - ethtool ### 编译 ------ ```shell $ cd ukui-greeter $ mkdir build $ cd build $ qmake .. $ make ``` ### 安装 ------ ```shell $ sudo make install ``` ### 主体框架 - **InProgress** - [x] 界面绘制 - [x] 功能实现 - [x] 界面美化 - **TROUBLE** - 无 - **TODO** - 功能插件ukui-greeter/AUTHORS0000664000175000017500000000004315167663401013166 0ustar fengfengUIUI: yanghao ukui-greeter/greeter-nm-helper/0000775000175000017500000000000015167663411015444 5ustar fengfengukui-greeter/greeter-nm-helper/main.cpp0000664000175000017500000001334015167663411017075 0ustar fengfeng/* * Copyright (C) 2023, KylinSoft Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . * **/ #include "service.h" #include #include #include #include bool GreeterHelp::execConnWifiPWD(const QString connName,const QString password) { QString tmpPath = "/tmp/kylin-nm-btoutput-lightdm"; QString cmdStr = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';nmcli device wifi connect '" + connName + "' password '" + password + "' > " + tmpPath; qDebug()<<"cmdStr = "<