Skip to main content

How to Disable the qBittorrent Custom Theme via Command Line

I, like those of you who are not monsters, prefer a dark theme for qBit. This is easily achieved by enabling the custom qBit theme for the webui in the settings, and pointing to the correct file path. But what happens when you screw it up? Well you get locked out of you qBit webui, with no way to turn it off.

That brings us to the command line. It is a pretty simple fix actually. All you need to do is find a file called "qBittorrent.conf" This will be in different locations depending on how your qBit is installed, ie. Docker container, as a program, etc.

If you are unfamiliar with navigating the command line, that information is readily available on google, and learning how to do it on a youtube video will probably be easier for you. Anyway, find the file, and access it with a text editor. If you have it installed as a program this will be easy enough for you. On a docker container or such, you'll need to use a text editor like Nano, or Vim.

You are looking for a grouping of settings titled "WebUI\AlternativeWebUIEnabled=true" and WebUI\RootFolder="

The first settings enables the Alternative webui, set that to false. Do NOT set it to False, make sure it is all lowercase. The second is the file path for your .qbtheme file, delete that entirely, or change it to the correct path.

Restart qBittorrent, and when it comes back up you will be back on the normal webui and able to access it again.

My qBit is on docker and the file is located in /config/qBittorrent/qBittorrent.conf.