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-16-2022, 06:35 PM   #1321
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,473

Rep: Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228

Quote:
Originally Posted by gbschenkel View Post
Patrick, the KDE Plasma Framework needs a patch, else it will upscale the interface. I don't know if you will need recompile all packages or not.

https://invent.kde.org/frameworks/pl...3fce7c47e3d8b2
https://bugs.kde.org/show_bug.cgi?id=461682

This patch will be included in update 5.101 but only be released at 10/12/22.
Yep
https://www.linuxquestions.org/quest...8/#post6392673
 
Old 11-17-2022, 02:12 PM   #1322
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,473

Rep: Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228
Plasma-frameworks 5.100.1

https://download.kde.org/stable/fram...5.100.1.tar.xz

The same, but patched upstream

+
kconfig 5.100.1
https://download.kde.org/stable/fram...5.100.1.tar.xz

Last edited by marav; 11-17-2022 at 02:14 PM.
 
Old 11-17-2022, 09:32 PM   #1323
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Arrow

Quote:
Originally Posted by LuckyCyborg View Post
Like in, ME: let's add some great value to Slackware, while YOU follows with: then let's chop off some another great value from Slackware.
That's not "great value" in my opinion. That's "needless work". (Cf. https://www.plutora.com/blog/feature-creep-problem ) As long as both KDE and GNOME are not required for most of other software, they should be considered "software that a user can install at their own pleasure".

Or, quoting the Revised^7 Report on Scheme:

Code:
Programming languages should be designed not by piling feature on
top of feature, but by removing the weaknesses and restrictions that
make additional features appear necessary. — Revised 7 Report on
the Algorithmic Language Scheme, Introduction.
it is the same thing for Operating Systems. Not piling up a DE on top of a DE, but providing the necessary libraries and hooks that would enable the user to _easily_ install any and all DE they wish.

Quote:
Originally Posted by LuckyCyborg View Post
So, because I proposed adding GNOME4 to Slackware, you propose the removal of Plasma5?
What the heck is the connection between Plasma5 and GNOME4 in your enlighten mind? Oh, well...
Both are not required for a full-featured operating system. Both are very polarizing in terms of user affiliation. Both require an enormous amount of work, and both have userbases large enough to bear the burden of maintaining them without spending Mr. Volkerding's effort.

Having _one_ GTK+ DE (xfce) for the purpose of ensuring the consistency of base libraries, and _one_ Qt DE (I would prefer LXQt), for the same purpose, make sense to me. But having _two_ is certainly not required, and KDE, while it serves the purpose of testing consistency with the rest of the Qt ecosystem, still has too much not-strictly-necessary low-quality components, in my opinion.

Again, I don't suggest "removing Qt-based DE entirely". I suggest replacing a bloated DE with a fairly moderate one, with an option to enable the big one easily (via SBo).

Last edited by Lockywolf; 11-17-2022 at 09:34 PM.
 
1 members found this post helpful.
Old 11-18-2022, 03:14 AM   #1324
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,473

Rep: Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228
NetworkManager 1.40.4

Changelog:
Code:
* dhcp: revert restarting DHCP when MAC address changes,
  for example during a bond fail over.
* various documentation fixes.
* fix non-exported ABI in libnm which was wrongly present
  in the header files but unusable so far.
* ifcfg-rh: fix writing ethtool pause settings to file.
* core: set "proto static" for manual routing rules configured
  by NetworkManager.
* Various minor bugfixes.
https://gitlab.freedesktop.org/Netwo...b/nm-1-40/NEWS
 
1 members found this post helpful.
Old 11-18-2022, 04:01 AM   #1325
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 192

Rep: Reputation: 130Reputation: 130
xfce4-screenshooter-1.10.0

https://archive.xfce.org/src/apps/xf...1.10.0.tar.bz2
 
2 members found this post helpful.
Old 11-18-2022, 08:44 AM   #1326
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Arrow

I would actually like to ask for something, but I do not actually know how to implement it efficiently, so maybe someone could propose a better solution than I have.

I want to have a hook for scripts running before hibernation and after wakeup.
(And perhaps, before and after suspend.)

At the moment I have an improvised solution, which works like this:

Code:
#!/usr/bin/python3
# Time-stamp: <2021-09-09 22:42:29 lockywolf>
# https://askubuntu.com/questions/183516/how-do-i-detect-when-my-system-wakes-up-from-suspend-via-dbus-or-similar-in-a-py
# slightly different code for handling suspend resume
# using login1 interface signals
#
import dbus      # for dbus communication (obviously)
from gi.repository import GObject as gobject  # main loop
from dbus.mainloop.glib import DBusGMainLoop # integration into the main loop
from gi.repository import GLib as glib
import subprocess

def handle_sleep_callback(sleeping):
  if sleeping:
    retval_sleep  = subprocess.run( [ "/etc/rc.d/rc.pre_sleep"  ] )
  else:
    retval_wakeup = subprocess.run( [ "/etc/rc.d/rc.post_sleep" ] )

DBusGMainLoop( set_as_default=True ) # integrate into main loop
bus = dbus.SystemBus()             # connect to dbus system wide
bus.add_signal_receiver(           # define the signal to listen to
    handle_sleep_callback,            # name of callback function
    'PrepareForSleep',                 # signal name
    'org.freedesktop.login1.Manager',   # interface
    'org.freedesktop.login1'            # bus name
)

loop = glib.MainLoop()          # define mainloop
loop.run()                         # run main loop
This does the job for me, but I cannot say that this is a clean solution, because python, dbus, glib, and having a resident-in-memory monitoring process is a bit of a crutch. So, any other suggestion welcome.

I am starting this python process from rc.local, and it just keeps running all the way, although, maybe an inittab entry would have been a better choice. But I think this would have made life better for laptop users, while keeping complexity at the minimal level.
 
Old 11-18-2022, 09:04 AM   #1327
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,473

Rep: Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228
Quote:
Originally Posted by Lockywolf View Post
I would actually like to ask for something, but I do not actually know how to implement it efficiently, so maybe someone could propose a better solution than I have.

I want to have a hook for scripts running before hibernation and after wakeup.
(And perhaps, before and after suspend.)

At the moment I have an improvised solution, which works like this:

Code:
#!/usr/bin/python3
# Time-stamp: <2021-09-09 22:42:29 lockywolf>
# https://askubuntu.com/questions/183516/how-do-i-detect-when-my-system-wakes-up-from-suspend-via-dbus-or-similar-in-a-py
# slightly different code for handling suspend resume
# using login1 interface signals
#
import dbus      # for dbus communication (obviously)
from gi.repository import GObject as gobject  # main loop
from dbus.mainloop.glib import DBusGMainLoop # integration into the main loop
from gi.repository import GLib as glib
import subprocess

def handle_sleep_callback(sleeping):
  if sleeping:
    retval_sleep  = subprocess.run( [ "/etc/rc.d/rc.pre_sleep"  ] )
  else:
    retval_wakeup = subprocess.run( [ "/etc/rc.d/rc.post_sleep" ] )

DBusGMainLoop( set_as_default=True ) # integrate into main loop
bus = dbus.SystemBus()             # connect to dbus system wide
bus.add_signal_receiver(           # define the signal to listen to
    handle_sleep_callback,            # name of callback function
    'PrepareForSleep',                 # signal name
    'org.freedesktop.login1.Manager',   # interface
    'org.freedesktop.login1'            # bus name
)

loop = glib.MainLoop()          # define mainloop
loop.run()                         # run main loop
This does the job for me, but I cannot say that this is a clean solution, because python, dbus, glib, and having a resident-in-memory monitoring process is a bit of a crutch. So, any other suggestion welcome.

I am starting this python process from rc.local, and it just keeps running all the way, although, maybe an inittab entry would have been a better choice. But I think this would have made life better for laptop users, while keeping complexity at the minimal level.
Hi Lockywolf

In order to allow everyone to participate to your post
What do you think to make a dedicated thread with that one?
 
Old 11-18-2022, 09:33 AM   #1328
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,408
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by Lockywolf View Post
... without spending Mr. Volkerding's effort.
Iirc KDE is what PV uses. Removing it sounds like useless request till that changes.

My 2c : KDE advocates well for several relatives that I would anyway help to maintain their system to go with Slackware.

@Lockywolf : there's hints in /etc/(e)logind/ or something related.
 
1 members found this post helpful.
Old 11-18-2022, 10:03 AM   #1329
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,473

Rep: Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228Reputation: 4228
Quote:
Originally Posted by Tonus View Post
Iirc KDE is what PV uses.
IIRC Mr. Volkerding uses Slackware
So, everything in it won't probably change for a long time
 
2 members found this post helpful.
Old 11-18-2022, 10:17 AM   #1330
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,640

Rep: Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518
Quote:
Originally Posted by Lockywolf View Post
I would actually like to ask for something, but I do not actually know how to implement it efficiently, so maybe someone could propose a better solution than I have.

I want to have a hook for scripts running before hibernation and after wakeup.
(And perhaps, before and after suspend.)

At the moment I have an improvised solution, which works like this:

Code:
#!/usr/bin/python3
# Time-stamp: <2021-09-09 22:42:29 lockywolf>
# https://askubuntu.com/questions/183516/how-do-i-detect-when-my-system-wakes-up-from-suspend-via-dbus-or-similar-in-a-py
# slightly different code for handling suspend resume
# using login1 interface signals
#
import dbus      # for dbus communication (obviously)
from gi.repository import GObject as gobject  # main loop
from dbus.mainloop.glib import DBusGMainLoop # integration into the main loop
from gi.repository import GLib as glib
import subprocess

def handle_sleep_callback(sleeping):
  if sleeping:
    retval_sleep  = subprocess.run( [ "/etc/rc.d/rc.pre_sleep"  ] )
  else:
    retval_wakeup = subprocess.run( [ "/etc/rc.d/rc.post_sleep" ] )

DBusGMainLoop( set_as_default=True ) # integrate into main loop
bus = dbus.SystemBus()             # connect to dbus system wide
bus.add_signal_receiver(           # define the signal to listen to
    handle_sleep_callback,            # name of callback function
    'PrepareForSleep',                 # signal name
    'org.freedesktop.login1.Manager',   # interface
    'org.freedesktop.login1'            # bus name
)

loop = glib.MainLoop()          # define mainloop
loop.run()                         # run main loop
This does the job for me, but I cannot say that this is a clean solution, because python, dbus, glib, and having a resident-in-memory monitoring process is a bit of a crutch. So, any other suggestion welcome.

I am starting this python process from rc.local, and it just keeps running all the way, although, maybe an inittab entry would have been a better choice. But I think this would have made life better for laptop users, while keeping complexity at the minimal level.
WOW! This is not only ridiculous complicated, BUT also there is NO need for this.

And you like to parade your fine knowledge of Slackware Architecture. Oh, well...

With all respect, LuckyWolf-sensei, the elogind from Slackware 15.0 has support for power management scripting (just like systemd) and any suspend/resume and hibernate/thaw hook scripts need to be in the directory /lib64/elogind/system-sleep/ and use the variables $1 (pre or post) and $2 (suspend, hibernate, or hybrid-sleep).

For example, a hook script could have the following format:
Code:
#!/bin/bash
case $1/$2 in
  pre/*)
    # Put here any commands expected to be run when suspending or hibernating.
    ;;
  post/*)
    # Put here any commands expected to be run when resuming from suspension or thawing from hibernation.
    ;;
esac
PS. These scripts should be executable.

Last edited by LuckyCyborg; 11-18-2022 at 10:19 AM.
 
1 members found this post helpful.
Old 11-18-2022, 10:36 AM   #1331
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,640

Rep: Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518
Quote:
Originally Posted by Lockywolf View Post
Both are not required for a full-featured operating system.
I'm afraid that we have a very different taste about what it's a "full-featured operating system" .

I for one, I believe that a "full-featured operating system" should ship at least both Plasma5 and GNOME4. Each one, being fully featured.

Quote:
Originally Posted by Lockywolf View Post
Both are very polarizing in terms of user affiliation.
That's exactly why I believe that the Slackware should ship both, if our BDFL wants a wider users base. And a wider user base is good, because this means more sales or donations or patreons.

After all, the GNOME is really widely used by the Linux users - because it's the main DE on Ubuntu, Fedora and even openSUSE. Millions of Linux users uses it. Millions of Linux users likes it.

Quote:
Originally Posted by Lockywolf View Post
Both require an enormous amount of work, and both have userbases large enough to bear the burden of maintaining them without spending Mr. Volkerding's effort.
Man, did you understand the phrase "Mr. Hameleers and Mr. Volkerding uses Plasma5" ?

So, now you tell to our BDFL how to use his own Slackware?

Last edited by LuckyCyborg; 11-18-2022 at 11:13 AM.
 
Old 11-18-2022, 10:40 AM   #1332
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 259

Rep: Reputation: 148Reputation: 148
Maybe removing the ctags bundling within the vim package and use https://github.com/universal-ctags/ctags as a separated package in stead? It is constantly maintained.
 
Old 11-18-2022, 12:38 PM   #1333
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,032

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
Quote:
Originally Posted by LuckyCyborg View Post
I for one, I believe that a "full-featured operating system" should ship at least both Plasma5 and GNOME4. Each one, being fully featured.

That's exactly why I believe that the Slackware should ship both,
Slackware did include gnome up to and including version 10.1 of Slackware. From the changelog for Slackware 14.2 at: http://ftp.slackware.com/pub/slackwa.../ChangeLog.txt

Quote:
+--------------------------+
Sat Mar 26 23:04:41 PST 2005
...
gnome/*: Removed from -current, and turned over to community support and
distribution. I'm not going to rehash all the reasons behind this, but it's
been under consideration for more than four years. There are already good
projects in place to provide Slackware GNOME for those who want it, and
these are more complete than what Slackware has shipped in the past. So, if
you're looking for GNOME for Slackware -current, I would recommend looking at
these two projects for well-built packages that follow a policy of minimal
interference with the base Slackware system:

http://gsb.sf.net
http://gware.sf.net

There is also Dropline, of course, which is quite popular. However, due to
their policy of adding PAM and replacing large system packages (like the
entire X11 system) with their own versions, I can't give quite the same sort
of nod to Dropline. Nevertheless, it remains another choice, and it's _your_
system, so I will also mention their project:

http://www.dropline.net/gnome/

Please do not incorrectly interpret any of this as a slight against GNOME
itself, which (although it does usually need to be fixed and polished beyond
the way it ships from upstream more so than, say, KDE or XFce) is a decent
desktop choice. So are a lot of others, but Slackware does not need to ship
every choice. GNOME is and always has been a moving target (even the
"stable" releases usually aren't quite ready yet) that really does demand a
team to keep up on all the changes (many of which are not always well
documented). I fully expect that this move will improve the quality of both
Slackware itself, and the quality (and quantity) of the GNOME options
available for it.

Folks, this is how open source is supposed to work. Enjoy. :-)
Many people thought that almost 6 years needed to produce stable Slackware 15.0 after 14.2 was a long time. But lets face it, if also Gnome would have still been included in Slackware version 15.0 would probably not have been released during 2022.

Slackware 10.1 which included Gnome was distributed using 4 cdroms with each iso having a size of about 650 MB. That would not be possible today when all software gets more bloated.

Creds to all people giving us third party packages with Gnome for Slackware! It is a hard work and sometimes things will break because of changes from upstream.

regards Henrik
 
3 members found this post helpful.
Old 11-18-2022, 11:03 PM   #1334
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by LuckyCyborg View Post
WOW! This is not only ridiculous complicated, BUT also there is NO need for this.

And you like to parade your fine knowledge of Slackware Architecture. Oh, well...
It's fine, I don't know _everything_ about Slackware. I am very happy to learn from you when what you are saying makes sense.


Quote:
Originally Posted by LuckyCyborg View Post
With all respect, LuckyWolf-sensei, the elogind from Slackware 15.0 has support for power management scripting (just like systemd) and any suspend/resume and hibernate/thaw hook scripts need to be in the directory /lib64/elogind/system-sleep/ and use the variables $1 (pre or post) and $2 (suspend, hibernate, or hybrid-sleep).

For example, a hook script could have the following format:
Code:
#!/bin/bash
case $1/$2 in
  pre/*)
    # Put here any commands expected to be run when suspending or hibernating.
    ;;
  post/*)
    # Put here any commands expected to be run when resuming from suspension or thawing from hibernation.
    ;;
esac
PS. These scripts should be executable.
It's a great suggestion, thank you.

If you'd like adding a "standard" /etc/rc.d/rc.sleep and/or /etc/rc.d/rc.wakeup, would you create a new thread, like marav suggested, proposing a default /lib64/elogind/system-sleep/handle-sleeping.bash?

Quote:
Man, did you understand the phrase "Mr. Hameleers and Mr. Volkerding uses Plasma5" ?
So, now you tell to our BDFL how to use his own Slackware?
I suspect that Mr. Volkerding is using software outside of base Slackware as well.
 
1 members found this post helpful.
Old 11-19-2022, 12:09 AM   #1335
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,997

Rep: Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565
As usual, lots of off topic post in here lately (my opinion), makes it hard to see the on topic post. Really wish folks would take disagreements off to a separate thread.
 
8 members found this post helpful.
  


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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 07:07 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