LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-07-2020, 08:50 PM   #181
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386

Keep in mind if you are running Vtown (or even Ktown) in --Current and even did not include KDE4 in your --Current install - the older Akonadi in L-Series is still installed unless you did an expert install or remembered to remove it later on. Also that brings up something interesting, if all the Plasma5 deps will go in L. I personally think the deps and KDE should just be in the KDE folder when it is merged (or VTown) - if Pat decides to just keep that name .
 
Old 11-07-2020, 09:01 PM   #182
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557
As far a akonadi is concerned. It matters not that is was an 'L' series package. It should have been over written by the newer vtown akonadi if the directions in the read me or from Eric's blog comments were followed. Which also has me wondering what other things @gargamel might have missed.

Last edited by chrisretusn; 11-07-2020 at 09:02 PM.
 
Old 11-07-2020, 10:41 PM   #183
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by Jeebizz View Post
Also that brings up something interesting, if all the Plasma5 deps will go in L. I personally think the deps and KDE should just be in the KDE folder when it is merged (or VTown) - if Pat decides to just keep that name .
They'll probably go in L. Don't want anything in the KDE series (yes, it will keep that name) that might become a dependency of something else outside of it. Not that the whole series thing has ever guaranteed anything, but it's safer that way.
 
5 members found this post helpful.
Old 11-08-2020, 02:01 AM   #184
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
You could add a really simple command to the rc.local_shutdown to verify... something like:

Code:
touch /local_shutdown-works
This would create a text file in the root partition and you could verify whether or not it is there on the next startup.
Thanks! I knew the trick...

I left it there to touch /var/log/last_shutdown so I can keep track if it ever stop working by comparing with $(last) output.

I could confirm /etc/rc.d/rc.local_shutdown is running upon shutdown or restart with plasma, even that its output is not displayed in tty1. In fact, after X is gone, you could hit CTRL+ALT+F7 to bring tty7 up. If you're fast enough, rc.local_shutdown output (if any) will be there.

Thanks again, @ZhaoLin1457 for pointing that out.
 
Old 11-08-2020, 04:54 AM   #185
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 177

Rep: Reputation: 43
Quote:
Originally Posted by drgibbon View Post
I meant that doing `ntpdate pool.ntp.org` from a terminal should set your system time correctly, and Plasma should follow that.

Regardless, I think something must be borked with authenticating to superuser through Plasma, since the "Set date and time automatically" option does not work for me either.


I don't have ConsoleKit2 installed either, but the "Set date and time automatically" option fails for me too (not that I need it, but still).
It's because of systemd. As part of systemd, elogind still follows some of systemd rules and that is including time keeping service (https://www.freedesktop.org/wiki/Sof...emd/timedated/). Gentoo OpenRC fixed this by emulating the systemd-timesyncd using openrc-settingsd.
 
Old 11-08-2020, 05:16 AM   #186
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by walecha View Post
It's because of systemd. As part of systemd, elogind still follows some of systemd rules and that is including time keeping service (https://www.freedesktop.org/wiki/Sof...emd/timedated/). Gentoo OpenRC fixed this by emulating the systemd-timesyncd using openrc-settingsd.
There's a standalone timedate1 service for Slackware: https://github.com/Dlackware/slack-timedate

However, I do not found the need to use it, at least in the past, 'till present.

BUT, if the times changes, maybe someone could maintain/improve it.

Last edited by LuckyCyborg; 11-08-2020 at 05:49 AM.
 
Old 11-08-2020, 06:02 AM   #187
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by walecha View Post
It's because of systemd. As part of systemd, elogind still follows some of systemd rules and that is including time keeping service (https://www.freedesktop.org/wiki/Sof...emd/timedated/). Gentoo OpenRC fixed this by emulating the systemd-timesyncd using openrc-settingsd.
It's got nothing to do with systemd. If you look at the popup when your mouse hovers over the "set date and time automatically" you'll notice the message "can not find ntpdate". That is caused by ntpdate only being in root's $PATH.
I created a symlink /usr/bin/ntpdate which points to /usr/sbin/ntpdate and now the tool finds ntpdate. I can check that box and Plasma5 pops up a request for the root password. Done.
 
9 members found this post helpful.
Old 11-08-2020, 06:06 AM   #188
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by Alien Bob View Post
It's got nothing to do with systemd. If you look at the popup when your mouse hovers over the "set date and time automatically" you'll notice the message "can not find ntpdate". That is caused by ntpdate only being in root's $PATH.
I created a symlink /usr/bin/ntpdate which points to /usr/sbin/ntpdate and now the tool finds ntpdate. I can check that box and Plasma5 pops up a request for the root password. Done.
BUT, setting the system's date and time should be the exclusive business of root account, right?

I believe that Plasma5 shouldn't even present options to change date/time to unprivileged users.

Last edited by LuckyCyborg; 11-08-2020 at 06:14 AM.
 
Old 11-08-2020, 06:25 AM   #189
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,300

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Quote:
Originally Posted by LuckyCyborg View Post
BUT, setting the system's date and time should be the exclusive business of root account, right?

I believe that Plasma5 shouldn't even present options to change date/time to unprivileged users.
it's the case, because it use kdesu, here.
 
Old 11-08-2020, 06:35 AM   #190
Jimmy Johnson
LQ Newbie
 
Registered: Aug 2018
Distribution: AntiX, MX, PCLOS, Slackware
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
I've done the switch on three machines without any real problems, just followed Eric's instructions, thank you Eric for all the work you've put into this project.

Who ever ports a fixed and working "KDF" to KDE5 will become a Jedi Rock Star.

But a broken kdf is better than none.

And yes, I know we can mount using dolphin, but as a linux tester I have a dozen partitions all the same size and it seems that size is the only description dolphin gives and a pain it is.

May the Force be with you!
 
1 members found this post helpful.
Old 11-08-2020, 06:49 AM   #191
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by Alien Bob View Post
It's got nothing to do with systemd. If you look at the popup when your mouse hovers over the "set date and time automatically" you'll notice the message "can not find ntpdate". That is caused by ntpdate only being in root's $PATH.
I created a symlink /usr/bin/ntpdate which points to /usr/sbin/ntpdate and now the tool finds ntpdate. I can check that box and Plasma5 pops up a request for the root password. Done.
Well, I've just asked some friends of mine to take a quick look on this possible wrong behavior, and they said that Slackware have the ntpdate tool in an, let's say... uncommon path.

Also they suggested a quick patch for plasma-desktop v5.20, as in to change plasma-desktop-5.20.2/kcms/dateandtime/helper.cpp on line 71, from:
Code:
    QString ntpUtility = QStandardPaths::findExecutable(QStringLiteral("ntpdate"));
to:
Code:
    QString ntpUtility = QStandardPaths::findExecutable(QStringLiteral("ntpdate"), exePath.split(QLatin1Char(':')));
This will make the helper to look for ntpdate also into /sbin and /usr/sbin and most likely will find it.

This is the patch:
Code:
diff -urN plasma-desktop-5.20.2.orig/kcms/dateandtime/helper.cpp plasma-desktop-5.20.2/kcms/dateandtime/helper.cpp
--- plasma-desktop-5.20.2.orig/kcms/dateandtime/helper.cpp      2020-10-27 14:23:48.000000000 +0200
+++ plasma-desktop-5.20.2/kcms/dateandtime/helper.cpp   2020-11-08 14:52:13.812091405 +0200
@@ -68,7 +68,7 @@
     config.writeEntry("servers", ntpServers );
     config.writeEntry("enabled", ntpEnabled );
 
-    QString ntpUtility = QStandardPaths::findExecutable(QStringLiteral("ntpdate"));
+    QString ntpUtility = QStandardPaths::findExecutable(QStringLiteral("ntpdate"), exePath.split(QLatin1Char(':')));
     if (ntpUtility.isEmpty()) {
         ntpUtility = QStandardPaths::findExecutable(QStringLiteral("rdate"));
     }
Maybe also "rdate" should get the same way of looking for.

PS. I've just built the plasma-desktop package with this patch applied and looks like Plasma5 finds the ntpdate as unprivileged user, even from /usr/sbin .

Last edited by LuckyCyborg; 11-08-2020 at 07:28 AM.
 
2 members found this post helpful.
Old 11-08-2020, 07:24 AM   #192
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by chrisretusn View Post
akonadi-1.13.0-i586-16 should have been replace by akonadi-20.08.2-i586-1_vtown_1.txz
kde-runtime-4.14.3-i586-8 is still part of the slackware tree and should have been removed when you removed kde from slackware.
Ah, thanks, right. I guess manually deleting akonadi before installing vtown wasn't necessary, then.
Regarding kde-runtime, I see that there are also some other KDE4 packages left over in vtown, e.g. qtruby and, of course, qt4. I didn't check that, because I thought everything qt4 and KDE4 had been eliminated already after reading the changelog of 3rd Nov., 2020:

"...Qt4 won't even be sticking around..."

So, I could have known the above, if I just hadn't been too lazy to check out... Thanks again!
 
Old 11-08-2020, 10:24 AM   #193
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 906

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by Jimmy Johnson View Post
Not happy with kpat missing.
Me neither and I suspect many others feel that way, also. But it's Pat call and I respect and trust his judgment.

However, this shouldn't detract us from stepping forward and providing the relevant SlackBuilds. Speaking generically, the ideal way forward would be to have something like SBo but for Plasma5 packages. We can't use SBo since it's based on stable 14.2 which do not have Plasma5, so there are lots of applications which can not be included there. In my case, I have working SlackBuilds for ksnip, which is a great screenshoot app, but whose inclusion in Slackware would be very doubtful since it also carries two additional dependencies.

Eric did a superb job including most applications needed for daily use with Plasma5, so this need was not as acute before as it is now

It would be very nice and, as I said, I would be willing to contribute a SlackBuild of a very interesting app with its dependencies.
 
2 members found this post helpful.
Old 11-08-2020, 10:43 AM   #194
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 177

Rep: Reputation: 43
Quote:
Originally Posted by Alien Bob View Post
It's got nothing to do with systemd. If you look at the popup when your mouse hovers over the "set date and time automatically" you'll notice the message "can not find ntpdate". That is caused by ntpdate only being in root's $PATH.
I created a symlink /usr/bin/ntpdate which points to /usr/sbin/ntpdate and now the tool finds ntpdate. I can check that box and Plasma5 pops up a request for the root password. Done.
In my case, it's not about using ntp* to sync the clock (I'm using ntpd to keep the clock sync), but to change timezone from the desktop.
 
Old 11-08-2020, 11:02 AM   #195
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,300

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Quote:
Originally Posted by walecha View Post
In my case, it's not about using ntp* to sync the clock (I'm using ntpd to keep the clock sync), but to change timezone from the desktop.
this work perfectly here
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Solus Readies KDE Plasma Edition Testing ISO with Latest KDE Plasma 5.14 Desktop LXer Syndicated Linux News 0 10-25-2018 03:03 PM
LXer: KDE Plasma 5.13 Desktop Reaches End of Life, KDE Plasma 5.14 Arrives October 9 LXer Syndicated Linux News 0 09-15-2018 10:30 PM
KDE plasma touch interface on Debian testing [plasma desctop 5.8] eswues Debian 0 12-11-2016 04:56 PM
LXer: Sebastian Kügler: KDE's Plasma Mobile is running on Plasma 5 and Kubuntu LXer Syndicated Linux News 0 07-26-2015 01:48 AM
[SOLVED] Please tell me how to tell KDE to run plasma-desktop instead of plasma-netbook Kenny_Strawn Linux - Software 7 07-19-2010 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration