SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Pat, perhaps create a placeholder file for /etc/default/run-parts as part of the dcron package? Might improve "discoverability"? (Refer to dcron and /etc/default/run-parts).
Not quite sure but at this moment there is a group of Slacker's working on upgrading Gnome 45 to Gnome 46 which would include gvfs. All of there work is based on Slackware-Current. Gnome is tightly integrated just like KDE (Plasma) is.
Not quite sure but at this moment there is a group of Slacker's working on upgrading Gnome 45 to Gnome 46 which would include gvfs. All of there work is based on Slackware-Current. Gnome is tightly integrated just like KDE (Plasma) is.
what is the minimum gjs version needed for Gnome 45 and for Gnome 46 ?
Please consider the following. For me I prefer the -q option to reduce some boot log spew, but for this patch I have not requested that be the default config. I have been using this configuration with no issues probably going back to before Slackware 14.2. As always, thanks for your time.
Code:
# /etc/default/sysctl
# Parameters to support /etc/rc.d/rc.S.
# Use this file to override defaults.
# -e: Use this option to ignore errors about unknown keys.
# --system: Load settings from all system configuration files.
# -q: Use this option to not display the values to stdout.
SYSCTL_OPTIONS="-e --system"
/etc/rc.d/rc.S
Code:
--- /tmp/rc.S
+++ /tmp/rc.S.new
@@ -301,13 +301,18 @@
fi
# Configure kernel parameters:
+SYSCTL_OPTIONS="-e --system"
+if [ -r /etc/default/sysctl ]; then
+ # Source user defined options.
+ . /etc/default/sysctl
+fi
if [ -x /sbin/sysctl -a -r /etc/sysctl.conf -a -z "$container" ]; then
- echo "Configuring kernel parameters: /sbin/sysctl -e --system"
- /sbin/sysctl -e --system
-elif [ -x /sbin/sysctl -a -z "$container" ]; then
- echo "Configuring kernel parameters: /sbin/sysctl -e --system"
+ echo "Configuring kernel parameters: /sbin/sysctl $SYSCTL_OPTIONS"
+ /sbin/sysctl $SYSCTL_OPTIONS
+elif [ -x /sbin/sysctl ]; then
+ echo "Configuring kernel parameters: /sbin/sysctl $SYSCTL_OPTIONS"
# Don't say "Applying /etc/sysctl.conf" or complain if the file doesn't exist
- /sbin/sysctl -e --system 2> /dev/null | grep -v "Applying /etc/sysctl.conf"
+ /sbin/sysctl $SYSCTL_OPTIONS 2> /dev/null | grep -v "Applying /etc/sysctl.conf"
fi
# Check all the non-root filesystems:
I am hoping a change is possible with respect to updating /etc/motd.
My thought is the file should be touched only when the file is formatted in the default manner and only when the kernel is updated. I have a test system where I monitor file changes. The way rc.S is now configured the file date stamp gets modified with every boot even when the kernel version has not changed. The change with the file date stamp always bubbles up in the monitoring.
Another hiccup is when a user does not want and explicitly deletes the file. The default rc.S script then spews an error message from sed.
Thanks for considering.
P.S. I tried embedding a full patch but the cloudfare challenge nonsense won't let me.
Jeremy, please consider removing the challenge blocking. Just about everybody finds the blocking annoying. Thanks.
Code:
rc.S
# Update the current kernel level in the /etc/motd (Message Of The Day) file,
# but only if the file exists, the file contains a line beginning with the
# word 'Linux', and the kernel version is incorrect.
cloudfare blocked criteria:
if [ -r /etc/motd ]
if [ -n "$(grep "^Linux" /etc/motd)" ]
if [ -z $(grep "^Linux.*/$(/bin/uname -sr)" /etc/motd) ]
if [ -x /bin/sed ]
Many whom computer/software program/develop on Slackware use chroots, and Debian/Devuan handles these in /etc/bash.bashrc (too wordy... may as well be /etc/bashrc or best just /etc/profile where $PS1 already is). I like their code for this but don't entirely know recall it works... pasting some (with an addition) here to see if Slackware could consider doing similar. I added the middle section 'set to your chroot name' because that's how I use Debian-/Devuan-based chroots, but I guess normally one might set this in command_line or maybe /etc/debian_chroot.
Code:
#/etc/bash.bashrc
#[...]
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set to your chroot name
#debian_chroot=devuan
# set a fancy prompt (non-color, overwrite the one in /etc/profile)
# but only if not SUDOing and have SUDO_PS1 set; then assume smart user.
if ! [ -n "${SUDO_USER}" -a -n "${SUDO_PS1}" ]; then
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
#[...]
For my Slackware chroots (to avoid ruining /etc/profile which happened in past) I currently just copied part of /etc/profile into /etc/profile.d and added what I want like the following. You can see another thing I've used for years is show tty, which might be nice also (Slackware derivative (open)SUSE does by default) (in past I'd also shown time but that gets distracting fast).
Code:
#/etc/profile.d/environment.sh
#[...]
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then PS1='! ${PWD/#$HOME/\~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then PS1='$ '
# original
#else PS1="\u@\h:\w\$ "
# show tty
#else PS1='\u@\l${STY#[0-9]*.}.\h:\w\$ '
# show time and tty
#else PS1='\D{%Y.%m.%d}.\A|\u@\l${STY#[0-9]*.}.\h:\W\$ '
# chroot
else PS1='\u@chroot.\h:\w\$ '
fi
#[...]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.