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
Many things within Linux can be done via terminal shortcuts. As many of my readers, Linux enthusiasts, and even developers would know, everything within Linux has a CLI equivalent. In many of the Gtk environments at least, you can alter your defaults to other specific programs or applications by using xdg-settings. These specific settings change mime defaults in the desktop itself. With xdg you could even change theme settings within the desktop, but for today I'm only focusing on changing default applications, more specifically the browser. To change the default browser application you can go to preferred applications and change it from a drop menu there, or you could open the terminal and type: $ xdg-settings set default-web-browser $browser.desktop, changing $browser for the name of the browser you wish to use.
One more item that I often change on my systems, this is set as default in my scripts because this applications is easier for new users, I change the default text editor to nano. This is a system based change. This alters between users, it is an environment variable set for most users on the machine. To set your default text editor to nano like I do, type: # echo "export EDITOR=nano" | sudo tee -a /etc/bash.bashrc. Any big variable changes you wish to make for the entire system, here is a place to do it. One can also set aliases in the bashrc file. More on this later, but to read ahead, check out my scripts.
Link to scripts: https://github.com/jackrabbit335/UsefulLinuxShellScripts
Comments
Post a Comment