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
Can't see 'system settings' section inside Configuration Center #1307
Comments
|
If by 'system settings' you mean "KDE System Settings" (systemsettings5), I've never seen it inside "Configuration Center", as it shouldn't be there. |
|
My mistake! You meant the section "System settings", not KDE's app with the same name.
Change their category to something like this if you want them under "System settings": |
|
BTW, there's no reason for all config apps to appear on "Configuration Center". As you've found out, they should be in certain categories. If you find any inconsistency, feel free to reopen this issue! |
|
None of them appear :( They only appear inside main menu -> Preferences |
|
Do you mean that you changed their categories to |
|
I just rebooted and everything is working now. Thanks, man! :) |
|
Sorry for bringing this back, but although 'Date and Time' now appears inside Configuration Center, if I change anything inside it, I receive this error: Also, when executing lxqt-admin-user with lxqt-sudo, if you try to change current user password, you'll have to re-enter the new password 3 times through lxqt-sudo dialog, which isn't clear at all. Is this the expected behavior? |
|
I don't think this can be about LXQt. |
|
hmm - a non-systemd config? |
|
@tsujan, is there any forum or any other channel where we can ask things about how LXQt works on the user/configuration level? I'm asking this because I'm having a few problems compiling and configuring LXQt. And this not only for my personal use, but for a community. So it would be really nice if I could find a place where people exchange their knowledge about LXQt. I think it would help spreading this wonderful -- and, at the moment, little known/used -- DE. @agaida, what you mean exactly? What 'Date and Time' needs in order to change system date/time setting? |
|
@fulalas Which package does provide "Date and Time"? LXQt should be compatible with all Qt5 apps. |
|
Sorry, but I didn't understand your question. 'Date and Time' is part of LXQt as 'lxqt-admin-time' bin. I'm using Qt 5.8.0. |
Oh, I thought "Date and Time" was a foreign app. Since I don't use GUI apps for administrative jobs, I shouldn't reply in this case. I apologize for that. If you've found a bug in 'lxqt-admin`, please report it separately. |
|
It's probably not a bug since some distros have this working flawlessly. Maybe I'm missing some additional package in order to make it work. The question is: what 'lxqt-admin-time' (I think it's better calling this way :) ) depends on? Also, there's this other problem regarding lxqt-admin-user. I can't see any issue section inside lxat-admin git page. Do I have to use main lxqt issue page? |
It uses the interface provided by systemd/timedated daemon. |
|
@palinek, thanks for the tip. I'll try to fix that. I would like to ask you something: why depend on systemd if we can change date/time natively? Lots of Linux distro don't use systemd, right? |
It was based on liboobs before, which is obsolete... see #495 and lxqt/lxqt-admin#34. If you know about something more "universal", let us know... |
|
QProcess + https://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/ What you think? |
|
Yes, you can set the current time with |
|
Get current localtime -> /etc/localtime (it's a symlink pointing to /usr/share/zoneinfo/selectedLocalTime) Set localtime -> create the symlink /etc/localtime pointing to /usr/share/zoneinfo/selectedLocalTime I think it worths the effort since by doing that we're not creating a dependency anymore. :) Take a look at this list of distros that don't use systemd: http://without-systemd.org |
|
So basically do the very same, that the timedated daemon does? https://github.com/systemd/systemd/blob/master/src/timedate/timedated.c I'm not sure if it's worth when other parts of LXQt already depend on other systemd components. |
|
Personally I don't like the idea of having a dependency on something that is not trivial to install. One thing is depending on one or two simple libs. Other completely different is to depend on a huge and controversial project like systemd, a project that is being reject by so many people and distros. So, yes, sometimes I think it's better to re-write the wheel (or copy it, ha ha) if it extends compatibility. BTW, what other parts of LXQt depends on systemd? |
I'm interested on this too (could not find anything over at the wiki here). I started using LXQt not long ago, and ended up packaging it for Gentoo, but did not bump into such a dependency before seeing this. If it becomes something LXQt can't live without, then I'll be unfortunately unable to package it (or use it) any longer. :\ |
|
There are no real dependencies on systemd - thats all, nothing to see here. And for the timedate and user administration please have a deeper look into the code. (I didn't, but i know we get BSD patches for that) - so i guess that there are no hard dependencies on systemd. EDIT: Thats about systemd-dependencies - i will interpret this as systemd being PID 0 - that say nothing about tools that might be built from the systemd source tree - but anyways, in case there are problems, we will be glad to accept patches from people running systems that run no systemd. Linux, BSD etc included as we did in the past. |
|
@agaida, you said: 'hmm - a non-systemd config?'. I didn't understand exactly what you meant. Then I made some research and found that 'org.freedesktop.timedate1' refers to systemd. Now you're saying that there's no dependency on systemd. It's a bit confusing for me. Could you elaborate? I just want to make it work and I don't want to install systemd. Thanks! :) |
|
org.freedesktop.timedate1 reads like a freedesktop interface - so if one outside of systemd implement it it should just work (tm) - second thing is: one can use binaries from the systemd source tree without the need of systemd as PID1. Downside of this: the applications need the interface provided by libsystemd or so - i had endless discussions about this dependency with users back in 2013 :) |
|
I've tried to install just systemd libs and freedesktop interfaces, but when I try to change date/time I receive a generic error (something like: system returns with error 1), so I can't investigate it further. It seems there's no easy way to fix that without a true systemd installation. Do you have a more specific solution? Thanks! |
|
the culprit is: so you will need something that provide this dbus interface EDIT: in *BSD it should be systembus - wild guess - in Linux the only implementation is in systemd, so i guess you need some kind of shim or so - if interested you should have a look into systemd-shim, a former ubuntu package that was/is used to run sysv/upstart as PID1 and act as a shim for running the systemd binaries without systemd being PID1. Another hint might be to have a look into devuan - how they handle that. Please bare with me, but i don't want to look into devuan ... |
|
@agaida, thanks for the tips. I tried, but there's no systemd-shim for Slackware, so I tried to adapt Ubuntu package. It turns out that it depends on cgmanager, and after installing it I got 2 warnings and a critical error regarding systemd. After fixing the critical error and finally running shim, lxqt-admin-time, I still get this error when trying to change date and/or time: I'm wondering if this endless systemd issue is more reasonable than simply get rid of it on LXQt, since changing date/time manually is not that hard. Although I'm not an expert on Linux/LXQt/systemd, I know I'm above the medium user, and even considering that I can't find a solution. Imagine that as me and Chiitoo, others also could give up putting LXQt inside some distros because of this. And it would be sad because LXQt is really amazing in almost every aspect. |



This is more like a question. I'm building a LXQt module for Porteus distro and I've noticed that I don't have the section 'system settings' inside Configuration Center, although this is present in many other LXQt distros usually with lxqt-admin-time, lxqt-admin-user and gparted.
Edited: I've figured it out. You have to edit each /usr/share/applications/*.desktop and add 'Settings' in the section Categories
The text was updated successfully, but these errors were encountered: