[ / / / / / / / / / / / / / ] [ dir / animu / ausneets / cyoa / fascist / fast / s8s / sw / vg ]

/slackware/ - Slackware Linux



Posting will disabled for a few hours on September 21 from 0400 EST while we migrate our database to INNODB. Hardware upgrade downtime is still TBA.
August 2018 - 8chan Transparency Report
Comment *
File *
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.

File: 5be47f5cf7f28af⋯.png (14.4 KB, 109x108, 109:108, slackware.png)


This is a board for #slackware@irc.rizon.net

That is an IRC Channel hosted by Rizon. You can connect to it with an IRC Client, such as BitchX, HexChat, Pidgin, AdiIRC, WeeChat, Irssi, EPIC or mIRC (Windows).

The IRC Server is Rizon (irc.rizon.net) and the channel is #slackware (once connected, /join #slackware).

More details here: https://wiki.rizon.net/index.php?title=Servers

Post last edited at

File: ec093dda186e355⋯.png (10.45 KB, 460x92, 5:1, logo.png)


For those interested in installing LibreOffice 6 RPM binary by hand, read on. An alternative is to use Alien's packages (https://alien.slackbook.org/blog/ - http://www.slackware.com/~alien/slackbuilds/) or compile LibreOffice itself, which should take some time.

I'm using LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz in this guide, but it should work with any recent version.

$ mv LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz /tmp

$ cd /tmp

$ tar zxf LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz

$ cd LibreOffice_6.0.2.1_Linux_x86-64_rpm/RPMS/

$ sudo rpm2tgz -c '*.rpm'

If sudo or rpm2tgz aren't found in your $PATH, just use the complete path to those commands.

$ rm *.rpm

The RPM's aren't needed anymore

$ /sbin/explodepkg *.tgz

$ cd opt/ && ls

$ mv libreoffice6.0 /opt

$ cd opt/ && ls

$ sudo chown -R root:root libreoffice6.0

Now you can symlink to soffice (I use /opt/libreoffice6.0/program/soffice).

Post last edited at

File: 926c6292af30d42⋯.png (7.89 KB, 620x212, 155:53, 256colours.png)


In this thread I'm going to be sharing some XTerm (https://invisible-island.net/xterm/) tips and themes (that I have and online).

Tip #1: XTerm has fours menus. mainMenu, vtMenu, fontMenu and tekMenu. The most useful ones are the first three. For mainMenu, use Ctrl + Left Mouse button. For vtMenu, use Ctrl + Middle Mouse button. For fontMenu, use Ctrl + Right Mouse button.

Tip #2: XTerm is capable of displaying 256 colours. Download the "256colors2.pl" script from the following link and read the instructions. http://web.archive.org/web/20130125000058/http://frexx.de/xterm-256-notes/

Tip #3: Through the file $HOME/.Xresources you are able to configure various X.org programs, including XTerm colours and fonts. Once you have edited $HOME/.Xresources to your liking, do "$ xrdb ~/.Xresources". The changes will take effect in the next XTerm that you open.

My current $HOME/.Xresources looks like this:

$ cat ~/.Xresources

xterm*termName: xterm

xterm*font: 6x13

xterm*faceName: 6x13

xterm*faceSize: 10

xterm*saveLines: 4096

xterm*cursorBlink: true

xterm*cursorOffTime: 300

xterm*cursorOnTime: 300

xterm*cursorUnderLine: true

xterm*dynamicColors: true

xterm*utf8: 0

xterm*fastScroll: true

xterm*Background: #000000

xterm*Foreground: #FFFFFF

xterm*metaSendsEscape: true

Xft.antialias: 1

Xft.autohint: 0

Xft.dpi: 96

Xft.hiPost too long. Click here to view the full text.

Post last edited at

File: 98aafcb24774532⋯.jpg (30.37 KB, 350x93, 350:93, 71d057091b7b764553e49ae7e0….jpg)


The Slackware Store (https://store.slackware.com/) has apparently been misappropriating funds from Patrick Volkerding.

The news links are below.

Those who wish to donate, can do so here: https://www.paypal.me/volkerdi (post from Patrick Volkerding himself - https://www.linuxquestions.org/questions/slackware-14/donating-to-slackware-4175634729/page11.html#post5883695).

Do not use the Bitcoin address in his post.







Fri Jul 27 21:01:22 UTC 2018

Hey folks, my first order of business here needs to be a huge thank you to everyone who has donated at https://paypal.me/volPost too long. Click here to view the full text.

Post last edited at

File: d03607a814d967e⋯.png (29.62 KB, 140x180, 7:9, vbox_logo2_gradient.png)


If you ever want to use another Operating System without having to reboot into it, for example, you should try using a virtual machine.

In this thread, I'll be talking about VirtualBox. I installed four packages in total. Three from SlackOnly (pre-compiled) and one from SlackBuilds (I built it myself).





Those four worked fine here on a full Slackware64 14.2 installation.

I'm not going to get into the details of how to use VirtualBox. The VirtualBox Manual (https://www.virtualbox.org/manual/) should be a good reference if you're beginning to use VirtualBox.

Post last edited at

File: fa05a7b1e3a8e6f⋯.png (1.31 MB, 1920x1080, 16:9, twitch.png)


Trying to send the output of youtube-dl + Twitch through mpv didn't work me. The cache keeps zeroing out, no matter the youtube-dl or mpv options that I used. In order to fix this, the best alternative that I found was to snatch the .m3u8 and use mpv from there. Below are the commands.

This works horribly (do not use it):

$ youtube-dl -f 720p -o - 'https://www.twitch.tv/monstercat' | mpv -

Now let's do it the right way. First let's check the quality options for any given stream:

$ youtube-dl -F 'https://www.twitch.tv/monstercat'

Then I chose 720p quality but added a "-g":

$ youtube-dl -f 720p -g 'https://www.twitch.tv/monstercat'

Then copy/paste the output using mpv:

$ mpv https://video-weaver.slc01.hls.ttvnw.net/v1/playlist/CokDQvdLXkvrpe8AaYXXNdyXRrHvlRjY0hxeG3DOwRZeNiffMPKrDrMY-Uj3-TolDdE7SBsEzi2DJS-Iu_PgAc65aQ3ABGAXFW4THfYWlPJBExo5Wq1vIeU8KSGBdrBU6cPP2GGO7f7QiPvUmeKJAL0iJnDnpOCcr1O5G4O0ue30evMBTjwOMtmNZJJP92v5PmHL2WHgT4qqoUlvB4roafDgPePTrVj2dXxZLMHpSp0jGSbLa2p6lp7SlvwmqHzVDq8lBkeTius5KiXAxcafp1PzvN0bM-AVr7nLmExJY2s_vqQYyM8tt6RQRkuUGmVK_esy1Ne2pDho-ZVTeH933yhPost too long. Click here to view the full text.

File: c0dcd2d2a3a94d4⋯.png (28.17 KB, 914x195, 914:195, youtubedl_mpv.png)


As promised, here is how you can watch videos from YouTube or Twitch, by combining youtube-dl + mpv.

You should read the previous post on how to use youtube-dl.


$ youtube-dl -f 22 -o - 'https://www.youtube.com/watch?v=fauJ0JQJNM0' | mpv -

That command will pass the output through mpv instead of saving the file.

More information here: https://www.reddit.com/r/linux/comments/3un9pj/streaming_twitch_through_youtubedl/

Easy, fast and no browser exploits to deal with.

File: 07e56e94db77191⋯.png (76 KB, 1557x843, 519:281, youtube-dl.png)


This thread is about youtube-dl. What is youtube-dl?

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites.

I used SlackOnly's youtube-dl package on a full Slackware 14.2 installation. No extra dependencies required.


It isn't a new version, but so far it has worked flawlessly on YouTube and Twitch.

Examples for YouTube (How I do it):

$ youtube-dl -F 'https://www.youtube.com/watch?v=fauJ0JQJNM0'

Choose the format that you want. The one on the bottom (22) is also the "(best)".

$ youtube-dl -f 22 'https://www.youtube.com/watch?v=fauJ0JQJNM0'

The video will be downloaded to your current directory.

For more options: $ youtube-dl –help

In the next thread I'll explain how to combine youtube-dl with mpv, so you can watch videos from YouTube or Twitch without a browser. Much faster and less resource hungry!

Until then.

File: d7558abb0624f4f⋯.png (309.65 KB, 610x435, 122:87, chcase.png)


One of the scripts I've used a lot in the past is chcase. I still use it to this day, but with less frequency.

It is a perl script for renaming files. Slackware comes with "rename" if you want something else.



Very nice.



You're welcome! :)

File: 7963309e8a8e2e5⋯.jpg (3.38 KB, 151x151, 1:1, mpv.jpg)


Currently my favourite video player is mpv.

Overview: mpv is a media player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types.




I prefer to compile mpv myself instead of using a SlackBuild or downloading a pre-compiled package.

Installation instructions (read Generic Instructions): https://github.com/mpv-player/mpv-build

It's important to notice that you don't need to run ./install (read Generic Instructions). Just copy the binary to /user/local/bin or any other place of your choice (preferably inside a executable path).

mpv creates the directory $HOME/.config/mpv

The watch_later directory according to the documentation "Contains temporary config files needed for resuming playback of files with the watch later feature." Use Shift+q/Q to quit a video with resume playback. Play the file normally again and you'll notice it'll resume from when you quit. Quite handy.

You can edit the files in $HOME/.config/mpv to your taste, but here goes my mpv.conf (I have no GUI for mpv):

$ cat .config/mpv/mpv.conf

# Write your default config options here!


# Profile:



# Gui:





Post too long. Click here to view the full text.
Post last edited at

File: 56d0bda2528dd2f⋯.png (87.03 KB, 640x480, 4:3, umatrix.png)


I use the Pale Moon Browser, and some time after updating to version 27.9.1 I got a warning about NoScript. I should have taken a screenshot, but now NoScript has been uninstalled. You can read more information here: https://forum.palemoon.org/viewtopic.php?f=46&t=17619&sid=c7f6d33ac4abb02a3344d2b17b5bfbb5

So keeping just uBlock Origin + hosts file (https://pgl.yoyo.org/adservers/) internet filtering wasn't enough for me. Javascript is a real pain, not as much as Adobe Flash (I know they're different), but I dislike both because of security issues.

I decided to look around and I found uMatrix (http://addons.palemoon.org/incompatible/ recommends version 1.1.4) from the same developer of uBlock Origin, and it is awesome.

Check this tutorial: https://www.electricmonk.nl/docs/umatrix_tutorial/umatrix_tutorial.html

uMatrix Wiki: https://github.com/gorhill/uMatrix/wiki

Various Links:




It might take some time to get used to it, but it's worth learning.

The gHacks guide above recommends disaPost too long. Click here to view the full text.

Post last edited at

File: e459887426a4d27⋯.png (69.61 KB, 1920x1057, 1920:1057, slackpkg.png)


There are two commands that I use to update Slackware 14.2 packages on Stable.

First: $ sudo /usr/sbin/slackpkg update

Second: $ sudo /usr/sbin/slackpkg upgrade-all

The "update" will download the latest package lists from a Slackware mirror selected in /etc/slackpkg/mirrors.

The "upgrade-all" will prompt which packages will be updated, and the user can select/deselect at will.

This method will not install non existent packages, neither will it upgrade your installation to Current. Check slackpkg's man page for more information.

A few important things to notice:

1. To use sudo, you need to add your username to /etc/sudoers like this (you have to edit as root):


## User privilege specification


root ALL=(ALL) ALL

myusername ALL=(ALL) ALL

If you don't know your username, try: $ id

2. Read the files in /etc/slackpkg. They contain important information on how to configure slackpkg, selecting a mirror (you need only one) and blacklisting packages.

Post last edited at

File: 2e9c0305dc5f5fb⋯.png (162.25 KB, 807x799, 807:799, mkinitrd.png)


I'll explain here how I upgrade my kernel, using the official upgrade packages for Slackware 14.2. I used to upgrade my monolithic kernel using the ones provided by kernel.org, but some things always broke in one way or another, so I've been using only the official Slackware kernel upgrades now.

Before I begin, a few important things to consider:

I'll be focusing on an initrd kernel here. If you want a monolithic one, don't make an initrd, create the symbolic links to the proper *huge* kernel in /boot, edit /etc/lilo.conf properly and don't forget to run lilo.

Do not upgrade your kernel if you're unable to reboot as soon as possible, unless you're running a monolithic (non initrd) kernel. The reason for this is that once you upgrade, the old kernel modules are gone and a initrd kernel (loaded in memory) might request them and they won't be found, because you upgraded to a newer version. That breaks things, so unless you're using a monolithic kernel, reboot the new kernel once the upgrade procedures are done.

It's recommended that you use an initrd instead of a monolithic kernel. You can read more here: https://www.distributednetworks.com/configure-key-linux-components/module2/modular-monolithic-kernels.php

Make sure you haven't blacklisted the kernel packages in /etc/slackpkg/blacklist. If you have, slackpkg will not upgrade the kernel packages at all.

# /usr/share/mkinitrd/mkinitrd_command_generator.sh –longhelp, because it has useful information.

Also read /usr/doc/mkinitrd-1.4.10/README.initrd

I'll be using lilo, not grub.

Let's begin:Post too long. Click here to view the full text.

Post last edited at

File: 21a0a08a936a090⋯.png (36.35 KB, 556x555, 556:555, current_changelog.png)


There has been a massive ChangeLog.txt update for Slackware Current.

Patrick explains the changes there.

Have fun!



I can smell 15.0.



I hope it's close.


Slack 15 pls pls pls

File: 73e1e39e1ddb76f⋯.png (5.97 KB, 599x108, 599:108, iptables.png)


As promised, here is the IPTables script that I use.

It's designed to block internet connections while the VPN is disabled.

I've made some modifications of my own.

In /etc/rc.d/rc.inet2 there is a section left for rc.firewall where you can enable it.

I hid the –dport on purpose.

There is also /usr/doc/openvpn-2.4.6/sample-config-files/firewall.sh, for those that have upgraded to OpenVPN 2.4.6 and want a sample IPTables that's specific for OpenVPN.

Source: https://linuxconfig.org/how-to-create-a-vpn-killswitch-using-iptables-on-linux

$ cat /etc/rc.d/rc.firewall


# Base Rules

# Before you configure iptables to allow any traffic you need to switch its default to disallow all traffic. Add these three rules to drop all traffic by default.

/usr/sbin/iptables -P INPUT DROP

/usr/sbin/iptables -P FORWARD DROP

/usr/sbin/iptables -P OUTPUT DROP

# Input

# It's most secure to only allow inbound traffic from established or related connections. Set that up next.

/usr/sbin/iptables -A INPUT -m conntrack –ctstate RELATED,ESTABLISHED -j ACCEPT

# Loopback and Ping

# Next, allow the loopback interface and ping.

# This assumes that your VPN connection is on tun0. Check that with ip a, if you're not sure.

/usr/sbin/iptables -A OUTPUT -o lo -j ACCEPT

/usr/sbin/iptables -A OUTPUT -o -tun0 -p icmp -j ACCEPT

#Post too long. Click here to view the full text.

Post last edited at

Delete Post [ ]
Previous [1] [2]
| Catalog | Nerve Center | Cancer
[ / / / / / / / / / / / / / ] [ dir / animu / ausneets / cyoa / fascist / fast / s8s / sw / vg ]