Skip to main content

Blocklist-Update.sh

Blocklist-Update.sh is a script that I wrote to manage blocklists from bluetack etc to be used in conjunction with Transmission torrent downloader in Linux/MacOS. The script can be taylored to work with Qbittorrent as well, but the placement of the blocklists means you'd have to redirect the blocklist to go somewhere locally manageable as Transmission uses its own blocklist directory in .config. I believe there are about 10 lists there now. It works well for my needs. It can be ran weekly using crontab in standard user profile.  To download:  blocklist-update.sh To download the others:  Github

HOW TO INSTALL APPS WITHOUT USING SOFTWARE MANAGEMENT IN LINUX

In Linux, both Debian-based and Arch-based, there are more than a couple of browsers to choose from. Most browsers can be found easily in the repositories, but the better ones(Opera and Vivaldi), still have to be downloaded from the net. Firefox also has other editions which are not in the Ubuntu repositories. To install these browsers, you have to go to the website and manually download the browser first. Of course, Vivaldi and Opera have deb packaging that helps with their installation in Ubuntu-based systems, but this is not the case in Arch. In Arch you have tarballs. Tarballs are archives that many packages are placed in as a way to compress large files into smaller ones as to make downloading hundreds of said packages at any given time more efficient. The way in which a tarball is extracted depends greatly on what extension the maintainer used when compressing. Some typical extensions include; tar.gz, tar.bz2, etc. For this tutorial, I’m going to use a package from the AUR, a tar.gz package.

Most tar files can be extracted using graphical programs such as archive managers, however, it’s faster and easier to use commands once you get the hang of it. Assuming that you saved the tarball in Downloads, you’ll need to open a terminal by pressing Ctrl + Alt + t to open the terminal, in xfce, this can open a drop down, depending on whether or not it is preconfigured as it is in Manjaro. Once open, you can either use cd and go to downloads like so cd ~/Downloads/, or you can open a file manager window and drag and drop the directory into the terminal. Once in downloads type ls to see the files and folders listed inside the directory. Search for Vivaldi.tar.gz. Once found, you can type gunzip vivaldi.tar.gz, which should leave vivaldi in a plain tarball. Hit ls again to be sure that it worked. This time you should find Vivaldi without a gz at the end. Now to untar the file, use tar -xvf vivaldi.tar, this should leave you with a new directory called vivaldi.

To get into the new directory, you have to use cd again. Very simple, just cd vivaldi and then once there run makepkg -si which continues to build the package and install it. Linux isn’t like your previous operating system. In Linux, you don’t have to commit to anything. Everything is a file or folder under Linux. Installed software can be moved to other parts of the system or even removed with a command.You can probably see where I am heading with this. Now that vivaldi is made, you should be able to run it. If all goes ok, you can then move the entire vivaldi directory to another place. For this demonstration, I’m going to move it to /opt. Pamac naturally does this when installing from the AUR through it. My scripts actually offer to build Vivaldi for you, but only do it within the scope of the home directory. To move to a new directory type: sudo mv vivaldi /opt. This moves the entire directory to the opt directory which is the same directory that many users who install Firefox in a similar way often place it. This isn’t all, with vivaldi in opt you now have to create a symlink to point to it so that you can create a launcher. This is only practical if you don’t want to type it out the long way to start the browser every time.

In order to create a symlink, you have to type the following command from your home directory. Sudo ln -s path to folder path to destination. The destination path is important because it lets the system know that wherever the file is on the system, it is to be ran as a program. Installing scripts is possible in this way, that’s another thing I’m secretly working on. More about that in a few weeks.
This is focused mostly on browsers, but many apps can be installed a similar way.

Comments

Popular posts from this blog

NOSCRIPT CONFIGURATION FOR PALE MOON SPECIFICALLY

I wrote an article before about making Pale Moon more private. I covered a few of the settings and back end changes I make each time I install it. I mentioned Noscript, but I didn’t give any details about how I set it up. First though, you have to get the version already marked for your version of “Firefox” or in this case, Pale Moon. If you went to https://addons.palemoon.org/addon/noscript/ you would probably find the Pale Moon addons page devoted to the newest possible Noscript being marked specifically for Pale Moon. Other versions may work, but these are hybrid addons and the closer we get to Noscript 10, the less I trust it to work with Pale Moon specifically. I just opt to stick with 5.0.6. There have been people asking about what happens when Maone, the developer stops supporting the hybrid versions of Noscript, “Will it work with Pale Moon?” Why yes it will. Noscript blocks scripts, that’s its main function and it will do that as long as Java script exists on a page.

SSD PARTITION ALIGNMENT

I was searching for more information regarding SSDs last night as that is what I now use, I found an interesting little tip that most users will never have to worry about, but people using Arch Linux, Manjaro or Windows that was cloned from another drive may want to consider checking this. The Partition manager within Linux normally takes good care to ensure that you have some free space to be used by the SSD in the event that a cell becomes worn out or corrupted. Also, Linux generally ensures that a proper amount of unallocated drive space is set aside preceeding the partition. However, on my own image of Manjaro, I discovered that this was not the case. The partition was “out of alignment”. To fix this situation, I found an article on  Lifehacker that went into instructional detail about how to solve this from a live environment or an image of Gparted . Gparted is a separate live environment of Linux that is based on Debian and uses Gparted as the main tool to manage par

PALE MOON PRIVACY SETUP

I did a review of Pale Moon back when 27.6.2 came out in linux. I had mostly great things to say about the browser then and my feelings towards it have not changed. Pale Moon is a very useful tool for scowering the net. It has privacy at its core with a few implementations made by Moonchild, the lead developer, built in. I also mentioned the point that Pale Moon has a canvas poisoning feature in the backend, however, I wasn’t very clear about how to turn it on. I thought in this tutorial, I’d show with a series of screen shots, some of the useful settings and preferences that I change to make Pale Moon a bit more private. I also thought I’d take this time to rant a little more about some of the not so savory issues with Firefox which have recently come under scrutiny by various people in the the Linux world. First order of business, if you haven’t heard, Mozilla recently added an extension into their browser which gave people ads. That’s right, they were ads for a specific t