

I use qBittorrent, I have used I2PSnark in the past, and it felt clunky and slow, and it was kinda difficult to use
I use qBittorrent, I have used I2PSnark in the past, and it felt clunky and slow, and it was kinda difficult to use
Ive been torrenting on I2P with qBittorrent for a lil while now, its not as fast as the clearnet, the fastest speed down ive ever got so far is 1.7MB/s, and this was on a torrent with loads of seeders. Its possible to increase your tunnel quantity and lower the amount of hops each tunnel has for better performance, but you will have less anonymity with less tunnel length.
But so far its been nice, there is no need to think about NAT/Firewall, as all peers can communicate with each other, but it doesnt have as much content as the clearnet, so I try to cross-seed what I can. But when im torrenting, I try to go I2P-first, and then fallback on the clearnet if I couldnt find what I was looking for.
Idk if im allowed to link it here, but for anyone having trouble accessing TG, they offer an onion service on tor, which is gonna be a whole lot harder to block, you can find the link on their official proxy list
Ive only had to setup a nvidia system once, so I might be missing some packages, but I think pacman -Rns nvidia nvidia-utils lib32-nvidia-utils
should get rid of all of it.
But if you wish to continue, you can erase all the EFI variables using the rm utility, I dont think you will be able to completely zero out the chip on the system from inside of Linux as its read-only.
But to delete all the EFI variables, cd into /sys/firmware/efi/efivars
, if this directory is not availiable, either the efivarfs is not mounted, or you are booted in legacy BIOS mode. But once you are in this directory, run chattr -i ./*
as root or sudo to remove the immutable bit on all the files, then run rm ./*
as root. This WILL break your system. Only do this if you know how to restore your system using like a chip programmer.
This happened to me too. I had to grab the box that comes up and resize it like I would with a normal window, mine glitched a lot when I tried it, try resizing it as far as you can, it will try and glitch back, but just keep fighting it until it becomes a usable size, then log out of Plasma and log back in, and then you can size it back down to a normal size. Hopefully there will be an official fix for this soon
What about something like this:
for i in /media/johann/5461-000B/DCIM/100MEDIA/*.AVI; do newpath="$HOME/Public/240321/$(basename "$i" | sed 's/^IMAG/240321_/g')"; ffmpeg -i "$i" -ss 00:00:00 -t 00:00:20 "$newpath" && rm "$i"; done
Dolphin + mpv for me so I can see the album covers and metadata and see whats available, if I have a specific song in mind, then ill just use the terminal and mpv.
I took a quick look at the plugin and it looks like it depends on the diff
command line utility. I dont think it comes installed with Microsoft Windows, but if you manually installed it, id open a new terminal and try running the diff utility manually to see if its on the executable path.
But if you want to try installing it, I think it comes with Git bash for windows.
I hope this helps, have fun with Neovim!
I just gave it a try on my system and it worked just like it did before! Ill have to change my scripts to mount to /run/nextroot
instead of /mnt
, but i am very relieved that it is still possible. I was having trouble with it all morning. Thank you so much for your reply! It is much appreciated!
Im glad I was able to help!
Something that should be noted when adding colors to your shell prompt function is adding the non printable characters that keep the terminal from buggin out, this caused me a massive headache until I figured it out. When putting it in the PS1 variable directly you will put \[
to begin a color sequence and \]
to end one, but printf will print a literal [
and ]
so instead you will have to use \001
to start and \002
to end, I also recommend changing \e
to \033
or \x1B
to make things a bit more portable. For a quick example \[\e[1;31m\]
would become \001\033[1;31m\002
. Without these characters the terminal will like glitch out when you type a long command and then go back to the front.
If you are like messing around or trying to learn a new programming language, you can try like porting your shell prompt to that language, Ive ported mine to C and set it using the same subsitution shell method, I thought it was a fun lil challenge.
But anyways, I hope you have fun customizing your shell prompt!
A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like [ -w "$(pwd)" ]
and set the color to red or print a symbol if it doesnt return true.
Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:
__shellprompt ()
{
if [ "$(id -u)" = 0 ]; then
local PROMPT_EMBLEM='#'
else
local PROMPT_EMBLEM='$'
fi
printf "%s" "$(whoami)@$(uname -n):$(pwd)"
printf "\n%c " "$PROMPT_EMBLEM"
}
PS1='$(__shellprompt)'
Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this PS1='$(__shellprompt $?)'
and like print it out if its non-zero so you wont have to like echo $?
to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.
In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed hostname
to uname -n
), if you cant find it feel free to send a message or just ask, and I will send you the code.
I designed this prompt shortly after I switched to Linux, I’ve been using it for a while, it has a few features like putting the exit code if it isn’t 0, changing the hostname color if its detected that you are over ssh, changing the directory color to red if it isn’t writeable, changing the prompt color to red if your euid is 0, and instead of printing I have no name!
when your user does not have an entry in the passwd file, it will just print your uid in red. I also have a version that I wrote in C that works the same way with a subsitution shell, but it was harder to sync across all my devices when I made a change, so I rewrote it in posix shell that could be synced with just my .bashrc
and work almost anywhere.
I don’t know how to post a screenshot, sorry for the long paragraph, but here is the source code, feel free to share or do whatever with it!
#-----PS1-----#
BOLDRED="\001\033[1;31m\002"
BOLDBLUE="\001\033[1;34m\002"
BOLDPURPLE="\001\033[1;35m\002"
BOLDCYAN="\001\033[1;36m\002"
BOLDGREEN="\001\033[1;32m\002"
COLORRESET="\001\033[0m\002"
CURSOR_BLINK="\001\033[5 q\002"
INFO_COLOR=$BOLDGREEN
SUPERUSER_COLOR=$BOLDRED
NORMALUSER_COLOR=$BOLDCYAN
SSH_COLOR=$BOLDPURPLE
__shellprompt ()
{
if [ "$(id -u)" = 0 ]; then
PROMPT_COLOR=$SUPERUSER_COLOR
PROMPT_EMBLEM='#'
else
PROMPT_COLOR=$NORMALUSER_COLOR
PROMPT_EMBLEM='$'
fi
# [user@hostname]
printf "%b%s%b" "${PROMPT_COLOR}[${INFO_COLOR}" "$(whoami 2>/dev/null || (printf "%b%s" "${BOLDRED}" "UID:$(id -u)"))" "${PROMPT_COLOR}@"
if [ -n "${SSH_TTY}" ] || [ -n "${SSH_CLIENT}" ]; then
printf "%b" "$SSH_COLOR"
else
printf "%b" "$INFO_COLOR"
fi
printf "%s%b" "$(hostname)" "${PROMPT_COLOR}]"
# :
printf "%b" "${COLORRESET}:"
# (/pwd)
printf "%b" "${PROMPT_COLOR}("
if [ -w "$PWD" ]; then
printf "%b" "${INFO_COLOR}"
else
printf "%b" "${BOLDRED}"
fi
if [ -n "$HOME" ] && [ "$HOME" != "/" ] && { [ "$PWD" = "$HOME" ] || [ "$PWD" != "${PWD#"$HOME/"}" ]; }; then
printf "%s" "~${PWD#"$HOME"}"
else
printf "%s" "${PWD}"
fi
printf "%b" "${PROMPT_COLOR})${COLORRESET}"
# :(EXITCODE)
if [ "$1" != 0 ]; then
printf "%b" "${COLORRESET}:"
printf "%b%s%b" "${PROMPT_COLOR}(${BOLDRED}" "${1}" "${PROMPT_COLOR})${COLORRESET}"
fi
# ->$
# ->#
printf "%b" "\n${PROMPT_COLOR}->${PROMPT_EMBLEM} ${COLORRESET}${CURSOR_BLINK}"
}
export PS1='$(__shellprompt $?)'
#-----PS1-----#
Heres a python script I made up from just modifying another script I use, it depends on qbittorrent-api, but to use just fill out the connection info and add all the trackers you want to remove in the
TRACKERS
array, I’ve included 2 rarbg trackers just as an example.#!/usr/bin/env python3 import qbittorrentapi import sys TRACKERS = [ "udp://9.rarbg.to:2770/announce", "udp://9.rarbg.me:2730/announce" ] conn_info = dict( host = "qbittorrent.localhost", port = 80, username = "admin", password = "PASSWORD" ) def main (argv, argc): qbt_client = qbittorrentapi.Client(**conn_info) try: qbt_client.auth_log_in() except qbittorrentapi.LoginFailed as e: print(e) return 1 for torrent in qbt_client.torrents_info(): #urls = [] #for tracker in torrent.trackers: #print(tracker) #urls.append(tracker.url) torrent.remove_trackers(urls=TRACKERS) #torrent.add_trackers(urls=TRACKERS) qbt_client.auth_log_out() return 0 if __name__ == "__main__": sys.exit(main(sys.argv, len(sys.argv)))