Here is the complete list of dependencies.
- git / diff-so-fancy
- zsh / powerlevel10k
- Neovim / vim-plug
- tmux / fzf
- nvm / node / npm / yarn
- openvpn
Warning
There is NO backup system. This installation instruction is for clean install only. Use at your own risk.
-
Install
git
,zsh
and a nerd font (e.g., MesloLGS NF). -
Download this repository in
$HOME/Workspace
and initialize submodules.cd ~ mkdir -p Workspace && cd Workspace git clone https://github.com/InfiniteSynthesis/dotfiles.git cd dotfiles git submodule update --init --recursive
-
Setup
git
user information by copyinggit/user-config.exmaple
and renaming it asgit/user-config
. Updateemail
,name
andsigningkey
if needed. -
Run package installation script
./install.sh
. -
Set
zsh
as default shell and relaunch terminal. Then setuppowerlevel10k
theme.chsh -s $(which zsh)
-
Install
vim-plug
and the plugins.vim -S $DOTFILES/nvim/plug-snapshot
-
Run optional package installation script in
install/package
. This will installqbittorrent-nox
,sigil
andvirtualbox
. -
Install
Anime4K
shaders formpv
. -
Set
qbittorrent-nox
as a system service (official wiki).-
Create a new file,
/etc/systemd/system/qbittorrent.service
.sudoedit /etc/systemd/system/qbittorrent.service
-
Save the file with the following contents or similar. Replace
qbtuser
if needed.[Unit] Description=qBittorrent-nox service Documentation=man:qbittorrent-nox(1) Wants=network-online.target After=network-online.target nss-lookup.target [Service] # if you have systemd < 240 (Ubuntu 18.10 and earlier, for example), you probably want to use Type=simple instead Type=exec # change user as needed User=qbtuser # The -d flag should not be used in this setup ExecStart=/usr/bin/qbittorrent-nox # uncomment this for versions of qBittorrent < 4.2.0 to set the maximum number of open files to unlimited #LimitNOFILE=infinity # uncomment this to use "Network interface" and/or "Optional IP address to bind to" options # without this binding will fail and qBittorrent's traffic will go through the default route # AmbientCapabilities=CAP_NET_RAW # Environment="DBUS_SESSION_BUS_ADDRESS={RESULT OF ECHO DBUS_SESSION_BUS_ADDRESS}" [Install] WantedBy=multi-user.target
-
Enable it to start up on boot
sudo systemctl enable qbittorrent
.
-
-
Set
qbittorrent-nox
Web UI asVueTorrent
. In "Settings - WebUI", tick "Use alternative WebUI" and set "File location" as$DOTFILES/qbittorrent/VueTorrent
(Absolute path is needed). -
Enable system notification when a task is finished in
qbittorrent-nox
.-
Uncomment
Environment="DBUS_SESSION_BUS_ADDRESS={RESULT OF ECHO DBUS_SESSION_BUS_ADDRESS}
in/etc/systemd/system/qbittorrent.service
and replace the value withecho $DBUS_SESSION_BUS_ADDRESS
. -
In "Settings - Downloads", tick "Run external program on torrent finished:" and set "Command" as
$DOTFILES/qbittorrent/on-completion.sh "%N"
(Absolute path is needed).
-
Suggestions / improvements are welcome!