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.
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 459
Rep:
Quote:
Originally Posted by SCerovec
Do note it's not as "plug and play" as one might expect (like florence ought to be)
Yeah, getting florence to behave took some time. I had to disable resizing to prevent crashes, and it seemingly likes to make excessive inputs unless keystroke repeat is turned off. Either way, it's a nicer experience in general if the keyboard attachment is plugged in.
This is awesome, can you link what icon/theme packages you used?
Sure, here's the details:
- Qt theme is Plastik
- Plasma theme is klassik with icons copied from this oxygen theme
- Color scheme is Plastik
- Icons are crystalSVG, can't find a link but i got them from "Get new icons" in system settings
A bit of nostalgia, I guess. I always thought the NT line was superior to the 95,98,ME line. More stable, less rebooting and crashing. I left Windows in 2003, after ME, diving straight into Slackware. I actually had both of those systems on bare hardware. Now I'm exploring getting Samba to talk to them and a bit of retro gaming. The other systems are OpenVMS 7.3 on Microvax3900 (SIMH) and a ESA/390 IBM mainframe (SDL Hercules) running the last version of the Michigan Terminal System before it was closed down in the '90s.
Thanks for the reply,jayjwa, as well as the screenie. I share some of that nostalgia as I was formerly TeamOS2 and recognized NT was still fundamentally OS/2, MS just changed the name after the split and made up some lame excuse involving an ex DEC employee.
IMHO 98 was what 95 should have been, as far as one could (or should) go on a DOS backbone. ME was horrible, possibly worse than Vista. XP was decent but Win2k was MS Pinnacle for me. Win7 was a watered down version of 2K but still pretty decent. Everything after just mostly sucks and any good parts are eclipsed by the ridiculous EULA... well and of course there's betting on Touchscreens for PCs... but that's just typical microsoft.
running the last version of the Michigan Terminal System before it was closed down in the '90s
Oh, my. There is an OS I have not heard of in years... When I was at the University of Alberta in the early 1990s, they had one of the few remaining mainframe installations using MTS - one of six in the world, IIRC. Not a good memory...
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
Quote:
Originally Posted by enorbet
Thanks for the reply,jayjwa, as well as the screenie. I share some of that nostalgia as I was formerly TeamOS2 and recognized NT was still fundamentally OS/2, MS just changed the name after the split and made up some lame excuse involving an ex DEC employee.
IMHO 98 was what 95 should have been, as far as one could (or should) go on a DOS backbone. ME was horrible, possibly worse than Vista. XP was decent but Win2k was MS Pinnacle for me. Win7 was a watered down version of 2K but still pretty decent. Everything after just mostly sucks and any good parts are eclipsed by the ridiculous EULA... well and of course there's betting on Touchscreens for PCs... but that's just typical microsoft.
Anyway I like what you've done.
Fundamentally NT was conceived as 32-bit OS by Dave Cutler who also designed VAX VMS (also 32-bit and preceding NT) OS/2 was 16-bit a the time. So in fact there is much more in common between Windows 3.1 (16bit) or later Windows 9.x (hybrid 16bit/32bit) and OS/2.
Win2k and win7 were really good (for me best was NT 3.51 (most stable) and 4.0). I had system (OS) as read only (I had to use regedit to make single branches of windows registry writable by Photoshop) which made windows quite resistant to most viruses at the time.
Fundamentally NT was conceived as 32-bit OS by Dave Cutler who also designed VAX VMS (also 32-bit and preceding NT) OS/2 was 16-bit a the time. So in fact there is much more in common between Windows 3.1 (16bit) or later Windows 9.x (hybrid 16bit/32bit) and OS/2.
Win2k and win7 were really good (for me best was NT 3.51 (most stable) and 4.0). I had system (OS) as read only (I had to use regedit to make single branches of windows registry writable by Photoshop) which made windows quite resistant to most viruses at the time.
It should be obvious that we must agree on the historical points and dates such as the importance of Dave Cutler but the fact remains that NTFS was detected as HPFS by numerous applications as late as ~2004, and NT had considerable OS/2 underpinnings and even had OS/2 copyrights in some of the software. This is exactly why MS named their OS/2 release "Microsoft OS/2 New Technology" which became just "NT" after the split.
There's little point in additional tangent but none of the DOS-based Windows versions could even access multiple processors or drives simultaneously while OS/2 v2.0 could because it was ALL 16bit and not merely a shell. That's just one example of the vast differences in capability between OS/2 and early Windows. OS/2 with v4 adopted emx runtimes to avail itself of Unix software which is how I learned about Linux from running an Enlightenment desktop in place of Presentation Manager.
While early on OS/2 would run DOS, and therefore Win 3x apps, 3x was a 16 bit shell on 8 bit DOS. OS/2 was 16bit all the way as of version 1.2. It could run multiple instances of Win-OS/2 which was basically licensed Win 3x. It became 32 bit in 1992 with OS/2 2.0.
Just tde-base (the 'R' packages in the build script) and tdepowersave for the battery icon and power profiles. The base comes with kwrite and kate as well as konqueror. Screen shot is with the Windows 'personality' which is quite nostalgic.
Runs better than xfce4 4.18 on the Thinkpad X61s (2008) and runs very well on the T42 (2006). Under 3 hours to build on the X61s with a 'generic' i586 machine arch selected. The binary packages installed fine on the T42.
I use it as main desktop. Its very stable i have 0 problems.... You can try to play with it.
I also have kde plasma and gnome 44 in my installation. Some gtk4 apps which are builded with libadwaita dont follow theme for window decoration also some apps to be in dark mode need their own config. If you want to play do it.... Its very beautiful and stable.
I will upload a video of desktop when i have time and give you link....
I use it as main desktop. Its very stable i have 0 problems.... You can try to play with it.
I also have kde plasma and gnome 44 in my installation. Some gtk4 apps which are builded with libadwaita dont follow theme for window decoration also some apps to be in dark mode need their own config. If you want to play do it.... Its very beautiful and stable.
I will upload a video of desktop when i have time and give you link....
Great! I still have an old Thinkpad T430 to test it on, so I'll give it a try. Looking forward to the video as well. It's good to know that it's stable and you haven't encountered any issues. Thanks for sharing!
Bored of low uptime and slackingly low system load screenshots?
I thought so, enjoy
Instead of listing the nuisances ad nauseam i'll just post the neofetch and info since i use the quite common XFCE4 desktop on this somewhat leading edge Radxa Rock 5 SBC
The surfing (and this very post) is done with vivaldi for arm64 i was able to acquire thanks to ruario's kindly provided script i had to somewhat modify so it works for arm64 too.
here the script latest-vivaldi.sh:
Code:
#!/bin/bash
# latest-Vivaldi Version 1.6.5
# This script will find the latest Vivaldi binary package, download it
# and repackage it into Slackware format.
# Copyright 2019 Ruari Oedegaard, Oslo, Norway All rights reserved.
#
# Redistribution and use of this script, with or without modification,
# is permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Check if the user asked for auto-install
if [ "$1" = "-i" -o "$1" = "--install" ]; then
if [ "$UID" = "0" ]; then
AUTO_INSTALL=Y
else
echo "You must be root to auto-install, $1 ignored!" >&2
AUTO_INSTALL=N
fi
else
AUTO_INSTALL=N
fi
# Use the architecture of the current machine or whatever the user has
# set externally
ARCH=${ARCH:-$(uname -m)}
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
elif [[ "$ARCH" = i?86 ]]; then
DEBARCH="i386"
elif [[ "$ARCH" = arm* ]]; then
ARCH=arm
DEBARCH="armhf"
elif [[ "$ARCH" = aarch64* ]]; then
ARCH=aarch64
DEBARCH="arm64"
else
echo "The architecture $ARCH is not supported." >&2
exit 1
fi
# Set to snapshot to track that channel instead of stable Vivaldi
VIVALDI_STREAM=${VIVALDI_STREAM:-stable}
if [ "$VIVALDI_STREAM" = "stable" ]; then
VIVALDIBIN=vivaldi
elif [ "$VIVALDI_STREAM" = "snapshot" ]; then
VIVALDIBIN="vivaldi-$VIVALDI_STREAM"
else
echo "The stream $VIVALDI_STREAM is not supported." >&2
exit 1
fi
# Work out the latest stable Vivaldi if VERSION is unset
VERSION=${VERSION:-$(wget -qO- http://repo.vivaldi.com/archive/deb/dists/stable/main/binary-$DEBARCH/Packages.gz | gzip -d | grep -A6 -x "Package: vivaldi-$VIVALDI_STREAM" | sed -n "/Version/s/.* //p" | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1)}
# Error out if $VERISON is unset, e.g. because previous command failed
if [ -z $VERSION ]; then
echo "Could not work out the latest version; exiting" >&2
exit 1
fi
if echo $VERSION | grep -Fq '-'; then
VIVALDIREVISION=${VERSION#*-}
VERSION=${VERSION%-*}
else
VIVALDIREVISION=""
fi
# Don't start repackaging if the same version is already installed
if /bin/ls /var/log/packages/vivaldi-$VIVALDI_STREAM-$VERSION-* >/dev/null 2>&1 || /bin/ls /var/log/packages/$VIVALDIBIN-$VERSION-* >/dev/null 2>&1 ; then
echo "Vivaldi $VIVALDI_STREAM ($VERSION) is already installed; exiting"
exit 0
fi
SRCPACKAGE="vivaldi-${VIVALDI_STREAM}_$VERSION-${VIVALDIREVISION}_$DEBARCH.deb"
CWD="$PWD"
TMP="${TMP:-/tmp}"
OUTPUT="${OUTPUT:-/tmp}"
BUILD="${BUILD:-1}"
TAG="${TAG:-ro}"
PKGTYPE="${PKGTYPE:-tgz}"
PACKAGE="$OUTPUT/vivaldi-$VIVALDI_STREAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
# If the package was made previously, no need to make it again. ;)
if [ -e "$PACKAGE" ]; then
echo "$PACKAGE already exists; exiting"
exit 0
fi
REPACKDIR="$TMP/repackage-vivaldi-$VIVALDI_STREAM"
# Define this script's name as we will copy into doc directory later on
SCRIPT="${0##*/}"
# This function can be used in place of Slackware's makepkg, with the
# added bonus that it is able to make packages with root owned files
# even when run as a regular user.
mkpkg() {
if [ "$1" = "-n" ]; then
TAROWNER=""
shift 1
else
TAROWNER="--group 0 --owner 0"
fi
if find * -type l | grep -qm1 .; then
mkdir -p install
find * -type l -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete > install/symlinks
if [ -f "install/doinst.sh" ]; then
printf '\n' | cat - install/doinst.sh >> install/symlinks
fi
mv install/symlinks install/doinst.sh
fi
case "$1" in
*tbr) cmp="brotli --quality ${BROTLI_QUALITY:-5}" ;; # Experimental support for Brotli compression
*tbz)
if command -v lbzip2 >/dev/null 2>&1; then
cmp=lbzip2
else
cmp=bzip2
fi
;;
*tgz)
if command -v pigz >/dev/null 2>&1; then
cmp=pigz
else
cmp=gzip
fi
;;
*tlz) cmp=lzma ;;
*txz) cmp="xz -T0" ;;
*tz4) cmp=lz4 ;; # Experimental support for lz4 compression
*tzo) cmp=lzop ;; # Experimental support for lzop compression
*) echo "Unknown compression type" >&2 ; exit 1 ;;
esac
if [ -x /bin/tar-1.13 ]; then
tar-1.13 $TAROWNER -cvvf- . | $cmp > "$1"
else
tar cvvf - . --format gnu --xform 'sx^\./\(.\)x\1x' --show-stored-names $TAROWNER | $cmp > "$1"
fi
echo "Slackware package \"$1\" created."
}
# Since packaging is about to begin errors become more important now,
# so exit if things fail.
set -eu
# If the repackage is already present from the past, clear it down
# and re-create it.
if [ -d "$REPACKDIR" ]; then
rm -r "$REPACKDIR"
fi
mkdir -p "$REPACKDIR"/{pkg/install,src}
# Save a copy if this script but remove execute persmissions as it will
# later be moved into the doc directory.
install -m 644 "${0}" "$REPACKDIR/src/$SCRIPT"
# Check if the current directory contains the correct Vivaldi
# binary package, otherwise download it. Then check that it matches the
# version number defined.
if [ -e "$SRCPACKAGE" ]; then
(
cd "$REPACKDIR/src/"
ln -s "$CWD/$SRCPACKAGE" "$SRCPACKAGE"
)
else
echo "Downloading Vivaldi ${VERSION} for ${ARCH}"
wget "https://downloads.vivaldi.com/$VIVALDI_STREAM/$SRCPACKAGE" -P "$REPACKDIR/src/"
fi
# Now we have all the sources in place, switch to the package directory
# and start setting things up.
cd "$REPACKDIR/pkg"
# Extract the contents of the Vivaldi binary package
ar p ../src/"$SRCPACKAGE" data.tar.xz | tar xJ ./opt ./usr
# Remove debian menu system
if [ -d usr/share/menu ]; then
rm -r usr/share/menu
fi
# Move any man directories to the correct Slackware location
if [ -d usr/share/man ]; then
mv usr/share/man usr/
fi
# Move the doc directory to the correct Slackware location
mv usr/share/doc usr/
mv "usr/doc/vivaldi-$VIVALDI_STREAM" "usr/doc/vivaldi-$VIVALDI_STREAM-$VERSION"
# Copy this script into the doc directory
cp ../src/$SCRIPT usr/doc/vivaldi-$VIVALDI_STREAM-$VERSION/$SCRIPT
# Replace vivaldi executable symlink, with a relative one
if [ -h "usr/bin/vivaldi-$VIVALDI_STREAM" ]; then
rm usr/bin/vivaldi-$VIVALDI_STREAM
(
cd usr/bin
ln -s ../../opt/$VIVALDIBIN/$VIVALDIBIN vivaldi-$VIVALDI_STREAM
)
fi
# Symlink desktop environment icons
for png in opt/$VIVALDIBIN/product_logo_*.png; do
pngsize="${png##*/product_logo_}"
mkdir -p usr/share/icons/hicolor/${pngsize%.png}x${pngsize%.png}/apps
(
cd usr/share/icons/hicolor/${pngsize%.png}x${pngsize%.png}/apps/
ln -s ../../../../../../opt/$VIVALDIBIN/product_logo_${pngsize} vivaldi-$VIVALDI_STREAM.png
)
done
# Fix desktop file icon reference for stable builds
sed -i "s/^Icon=vivaldi.*/Icon=vivaldi-$VIVALDI_STREAM/" usr/share/applications/vivaldi-$VIVALDI_STREAM.desktop
# Fetch and install Widevine
if [ -e opt/$VIVALDIBIN/update-widevine ]; then
sed "s|WIDEVINE_INSTALL_DIR=\"|&$PWD|;s|\(VIVALDI_INSTALL_DIR=\).*|\1\"$PWD/opt/$VIVALDIBIN\"|" opt/$VIVALDIBIN/update-widevine | sh -eus -- --system >/dev/null 2>&1 ||:
# Fix Widevine symlinks (first is for <2.9 and the second ≥2.9)
if [ -h "opt/$VIVALDIBIN/libwidevinecdm.so" ]; then
rm "opt/$VIVALDIBIN/libwidevinecdm.so"
ln -fs "../../var/opt/$VIVALDIBIN/libwidevinecdm.so" "opt/$VIVALDIBIN/libwidevinecdm.so"
elif [ -h "opt/$VIVALDIBIN/WidevineCdm" ]; then
rm "opt/$VIVALDIBIN/WidevineCdm"
ln -fs "../../var/opt/$VIVALDIBIN/devineCdm" "opt/$VIVALDIBIN/WidevineCdm"
fi
fi
# Fetch and install 'Proprietary Media' (H.264/AAC) support (≥2.9)
if [ -e opt/$VIVALDIBIN/update-ffmpeg ]; then
sed "s|FFMPEG_INSTALL_DIR=\"|&$PWD|" opt/$VIVALDIBIN/update-ffmpeg | sh -eu >/dev/null 2>&1 ||:
fi
# Now create the post-install to register the desktop file and icons.
cat <<EOS> install/doinst.sh
# Setup menu entries
if command -v update-desktop-database >/dev/null 2>&1; then
update-desktop-database -q usr/share/applications
fi
# Setup icons
touch -c usr/share/icons/hicolor
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
gtk-update-icon-cache -tq usr/share/icons/hicolor
fi
EOS
# Create a description file inside the package.
cat <<EOD> install/slack-desc
vivaldi-$VIVALDI_STREAM: vivaldi-$VIVALDI_STREAM (Vivaldi web browser)
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM: Vivaldi browser is made with power users in mind by people who love
vivaldi-$VIVALDI_STREAM: the Web.
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM:
vivaldi-$VIVALDI_STREAM: Homepage: https://vivaldi.com
vivaldi-$VIVALDI_STREAM:
EOD
# Make sure the file permissions are ok
chmod -R u+w,go+r-w,a-s .
# Create the Slackware package
mkpkg "$PACKAGE"
# Install if the user requested it
if [ $AUTO_INSTALL = "Y" ]; then
/sbin/upgradepkg --install-new "$PACKAGE"
fi
NOTE: as i used an obsolete script (compared to ruario's git) for my base this script is inherently obsolete FWIW.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.