LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2020, 02:26 PM   #76
ziprun
Member
 
Registered: Apr 2018
Posts: 105

Rep: Reputation: Disabled

Hey Alien Bob! I hope you're reading this. Thanks for all your hard work on the slackware repos you maintain. You're a total bro and a huge help for not just me, but a lot of other people who use slackware.
 
7 members found this post helpful.
Old 11-04-2020, 02:40 PM   #77
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,691

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Quote:
Originally Posted by ziprun View Post
Hey Alien Bob! I hope you're reading this. Thanks for all your hard work on the slackware repos you maintain. You're a total bro and a huge help for not just me, but a lot of other people who use slackware.
Speaking of that, if you didn't know, Eric has a donation link if any one wants to give him a "atta boy" tip for all his KDE5, VLC, Handbrake, and countless other things he's done for Slackware over the years.

https://alien.slackbook.org/blog/
 
5 members found this post helpful.
Old 11-04-2020, 02:51 PM   #78
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,530

Rep: Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366
Quote:
Originally Posted by Alien Bob View Post
All words, no information. Useless.
Well, there's plenty of information: regarding the startup/shutdown needs of the Pipewire daemon as suspected by me, and how it interacts with Plasma5 and other applications.

What I use myself? Here's how.

First, a preamble: Pipewire (just like PulseAudio) from what I read and understand has a daemon supposed to be started by systemd after user login, running as user, and like I said already, this daemon to be stopped before the user logout. In the systemd World they name this "user target" and is about services similar with the ones we run on init runlevels, BUT per user. And we do NOT have available this feature even with elogind.

I did different experiments, but in the end I chosen to start Pipewire daemon with a XDG startup file: /etc/xdg/autostart/pipewire.desktop , like PulseAudio:
Code:
Desktop Entry]
Version=1.0
Name=PipeWire Media System
Comment=Start the PipeWire Media System
Exec=pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
This way, the Pipewire daemon is started in early stage of Plasma5 desktop loading.

However, you must stop this daemon when you logout, or bad things will happen from my experience.

For example, you logout into SDDM, but Pipewire (and PulseAudio) daemons continues to run. Logging as user again, those daemon will go nuts.

PulseAudio daemon will "only" eat CPU cores at 100% and/or the audio will stop working sometimes (even with X11), BUT the Pipewire daemon will crash the desktop at a random time and will send the user back into SDDM or console, specially with Wayland.

I found no other consistent solution to kill those Pipewire and PulseAudio daemons other than instructing elogind to kill the user processes.

This changing its config /etc/elogind/logind.conf like:
Code:
[Login]
KillUserProcesses=yes
This way, when the user will logout, all processes running as this particular user will be killed by elogind.

BUT, will have been very nice to have ability to kill particular user processes (those daemons), because configuring elogind this way, also processes like tmux or screen will be killed too.

For me, this is not a problem, as I have no intention to open "screen" in the same user as I run the desktop, but probably is better to have users for remote shell access and for desktop. This way, one could configure
Code:
[Login]
KillUserProcesses=yes
KillOnlyUsers=localuser
KillExcludeUsers=root,remoteuser
Honestly, I do not found yet a consistent solution at this lack of "user target" services into Slackware other than this described.

Last edited by LuckyCyborg; 11-04-2020 at 03:01 PM.
 
Old 11-04-2020, 03:01 PM   #79
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
Well "KillUserProcesses=yes" is a definite NO GO, for exactly the reasons you already mentioned.
I actually configure elogind to prevent that from being the default.

Try adding a script to your ~/.config/plasma-workspace/shutdown/ that stops pipewire, it will be executed when you logoff from your Plasma5 desktop.
 
1 members found this post helpful.
Old 11-04-2020, 03:05 PM   #80
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
sddm works now! Thanks for fixing it! I noticed ktown's poppler isn't included in testing. Slackware Current's poppler seems to work fine.

Last edited by RadicalDreamer; 11-04-2020 at 03:20 PM.
 
Old 11-04-2020, 03:11 PM   #81
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,530

Rep: Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366Reputation: 3366
Quote:
Originally Posted by Alien Bob View Post
Well "KillUserProcesses=yes" is a definite NO GO, for exactly the reasons you already mentioned.
I actually configure elogind to prevent that from being the default.

Try adding a script to your ~/.config/plasma-workspace/shutdown/ that stops pipewire, it will be executed when you logoff from your Plasma5 desktop.
I tried this - I have even a thread about this subject there in LQ.

I have even invented some scripts to start/stop the Pipewire daemon like in init, but working per user.

BUT, this is not consistent, as if the desktop crashes for various reasons (and while playing with Wayland may happen) the daemon(s) will be not stopped.

And as I said, issues have in my opinion also the PulseAudio daemon, and for exactly same reason.

Probably half of "PulseAudio sucks" threads are generated by this particular lack of stopping the PA daemon at the proper time on logout...

How many times you read of someone lamenting that PA eats 100% of CPU? Happens specially as unprivileged user.

Last edited by LuckyCyborg; 11-04-2020 at 03:38 PM.
 
Old 11-04-2020, 03:21 PM   #82
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by RadicalDreamer View Post
sddm works now! Thanks for fixing it! I noticed ktown's poppler isn't included in testing. Okular doesn't load pdf files.
poppler is already in Slackware current. Okular works here.
 
1 members found this post helpful.
Old 11-04-2020, 03:25 PM   #83
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by HubertPhava View Post
Thanks to Eric for his previous work on ktown and thanks to Pat for his vtown.
But, as gdiazlo, i hope digikam and friends will remain in the distro.
Please Pat...pleasepleaseplease
:-))
Eric has said that he'll maintain digikam if it is dropped. You could easily track that with slackpkg+, so no problem.
 
Old 11-04-2020, 03:25 PM   #84
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by gegechris99 View Post
poppler is already in Slackware current. Okular works here.
Thanks! I tested it a moment ago and it does work. ktown had its own version of poppler so that left me confused.
 
Old 11-04-2020, 05:23 PM   #85
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
While there is discussion of what software to package by default -
What about Calligra?
Is Calligra required for kde?
I have loaded and upgraded it too many times to mention
but I have used it and Karbon almost never. I never complained, and this is not complaint.
It's great having so many useful tools at my disposal. Empowering it is.
But I would guess that LibreOffice is the defacto standard office suite software
of the Slackware crowd. Indeed TeX has more going for it than its steep learning curve
and its seeming lack of compatibility with .ppt. Some might use OpenOffice and
I suppose there are Emacs enthusiasts (it seems so). Kate is awesome actually.
But does anyone much use Calligra? I have tried it but usually I am needing to write a
report or make some slides or a spreadsheet. I loved PeachCalc and Quattro and WordPerfect.
When I have started Calligra it because it is the default app for .doc files until i go fix that.
Are there hordes of Calligra users out there?
 
Old 11-04-2020, 09:39 PM   #86
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Well, I decided to test sddm - so I changed the inittab value from 3 to 4, and now I just get a black screen.
 
Old 11-04-2020, 10:00 PM   #87
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by Jeebizz View Post
Well, I decided to test sddm - so I changed the inittab value from 3 to 4, and now I just get a black screen.
You know you can test it without a reboot by doing `init 4` / `init 3`? But anyway, the black screen problem has been discussed here, you'll need the proper sddm files in /etc/pam.d/ directory. The latest changelog update has a fixed sddm package in testing:
Quote:
Wed Nov 4 19:33:47 UTC 2020
...
testing/packages/vtown/kde/sddm-0.18.1-x86_64-1_vtown_2.txz: Rebuilt.
Fixed installation of pam.d files. Thanks to alienBOB.
 
Old 11-04-2020, 10:38 PM   #88
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by LuckyCyborg View Post
I fully agree! The Digikam is a software which anyone must have.
I've got thousand of photos. I do understand the reasoning. The package is 115.1 MiB and the source chimes in at a whopping 566.0 MiB. I would have been nice as Eric mentioned in a post above if they had made the facial recognition code as an add-in. I have not had a chance to play with this new implementation in digikam. I not that impressed with the previous implementation as it required an lot of time to train it and results were not really that great.

At any rate, I built it before Eric added it to ktown, if it goes, I will do it again. I already build hugin for digikam.
 
Old 11-04-2020, 11:57 PM   #89
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by drgibbon View Post
You know you can test it without a reboot by doing `init 4` / `init 3`? But anyway, the black screen problem has been discussed here, you'll need the proper sddm files in /etc/pam.d/ directory. The latest changelog update has a fixed sddm package in testing:
Still getting a black screen
 
Old 11-05-2020, 12:14 AM   #90
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by Jeebizz View Post
Still getting a black screen
Check that you don't have any ktown packages remaining in your system. Some packages were renamed when moving from ktown to vtown (ex: sddm-qt5 => sddm).
 
  


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 04:23 AM.

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